aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/text
AgeCommit message (Collapse)AuthorFilesLines
2004-09-09[multiple changes]Andreas Tobler1-0/+3
2004-09-09 Michael Koch <konqueror@gmx.de> * java/security/ProtectionDomain.java, * java/util/PropertyPermissionCollection.java: Fixed javadocs all over. 2004-09-09 Sven de Marothy <sven@physto.se> Patch from David Gilbert <david.gilbert@object-refinery.com> * java/lang/Comparable.java: Fixed documentation errors. * java/util/Arrays.java: Likewise. 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/net/Inet4Address.java (Inet4Address): Added comment to serialization UID. * java/text/Format.java (Format): Added comment to serialization UID. From-SVN: r87248
2004-08-31AttributedString.java (AttributedString): Use ArrayList to build array of ↵Tom Tromey1-5/+7
attribute ranges. 2004-08-31 Tom Tromey <tromey@redhat.com> * java/text/AttributedString.java (AttributedString): Use ArrayList to build array of attribute ranges. Don't use `attribs' before it is set. From-SVN: r86825
2004-07-172004-07-17 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-23/+22
* java/text/CollationElementIterator.java (text_decomposition): Changed type to RuleBasedCollator.CollationElement[] (setText): Use ArrayList instead of Vector. From-SVN: r84857
2004-07-102004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu1-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). From-SVN: r84448
2004-07-10Calendar.java: Use getSystemClassLoader as argument for ↵Bryce McKinlay6-6/+6
ResourceBundle.getBundle() calls. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> * 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. From-SVN: r84437
2004-07-092004-07-09 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-22/+21
* java/text/RuleBasedCollator.java (mergeRules): Use ArrayList instead of Vector. (subParseString): likewise. (parseString): likewise. (buildCollationVector): likewise. (getCollationKey): likewise. From-SVN: r84369
2004-07-09DateFormat.java (parse): Improved javadoc.Dalibor Topic1-2/+5
2004-07-09 Dalibor Topic <robilad@kaffe.org> * java/text/DateFormat.java (parse): Improved javadoc. Improved exception message. From-SVN: r84368
2004-06-14Calendar.java: Change ResourceBundle.getBundle() calls to pass ClassLoader ↵Bryce McKinlay6-6/+7
argument. * 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. From-SVN: r83109
2004-05-31CollationElementIterator.java, [...]: New versions from GNU classpath.Michael Koch3-287/+935
2004-06-01 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/RuleBasedCollator.java: New versions from GNU classpath. * testsuite/libjava.mauve/xfails: Removed all java.text.CollationElementIterator tests. From-SVN: r82510
2004-05-302004-05-30 Michael Koch <konqueror@gmx.de>Michael Koch2-6/+13
* 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. From-SVN: r82449
2004-05-05AttributedString.java, [...]: Cleaned up imports.Dalibor Topic6-13/+12
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. From-SVN: r81506
2004-05-05Format.java: Cleaned up imports.Tom Tromey1-5/+0
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. From-SVN: r81503
2004-05-052004-05-05 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-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. From-SVN: r81502
2004-05-042004-05-05 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-99/+159
* java/text/SimpleDateFormat.java: (formatWithAttribute): New method. It implements the formatting process with attributes. (format): Use formatWithAttribute. (formatToCharacterIterator): New method. Use formatWithAttribute. From-SVN: r81493
2004-05-04MessageFormat.java: (class Field): New class.Guilhem Lavaux1-9/+186
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. From-SVN: r81492
2004-05-042004-05-05 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-64/+161
* 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. From-SVN: r81491
2004-05-04FormatBuffer.java, [...]: New classes to implement attributed iterators in ↵Guilhem Lavaux2-469/+2
java.text. 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. From-SVN: r81479
2004-04-24CollationElementIterator.java (reset): Reset lookahead variables.Jerry Quinn1-0/+2
2004-04-24 Jerry Quinn <jlquinn@optonline.net> * java/text/CollationElementIterator.java (reset): Reset lookahead variables. From-SVN: r81142
2004-04-212004-04-21 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+1
* java/util/Map.java (Entry): Removed redundant "static" modifier. * java/text/AttributedCharacterIterator.java: Updated copyright year. From-SVN: r80944
2004-04-20[multiple changes]Michael Koch2-4/+4
2004-04-20 Jeroen Frijters <jeroen@frijters.net> * java/text/DecimalFormat.java (scanFix): Removed suffix check for percent and permill check. 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FieldPosition.java (FieldPosition) Constructor now behaves as it should according to the java documentation. 2004-04-20 Mark Wielaard <mark@klomp.org> * java/util/Properties.java: Use the word umlaut, not &auml; in api documentation. From-SVN: r80910
2004-04-20MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names ↵Michael Koch12-59/+61
all over. 2004-04-20 Michael Koch <konqueror@gmx.de> * java/rmi/MarshalledObject.java, java/rmi/Naming.java, java/rmi/RemoteException.java, java/rmi/activation/ActivationException.java, java/rmi/server/ServerCloneException.java, java/security/AccessController.java, java/security/AlgorithmParameterGenerator.java, java/security/AlgorithmParameters.java, java/security/CodeSource.java, java/security/Identity.java, java/security/IdentityScope.java, java/security/KeyPairGenerator.java, java/security/KeyStore.java, java/security/Security.java, java/security/Signature.java, java/security/SignatureSpi.java, java/security/SignedObject.java, java/security/spec/DSAParameterSpec.java, java/security/spec/DSAPrivateKeySpec.java, java/security/spec/DSAPublicKeySpec.java, java/sql/Array.java, java/sql/DatabaseMetaData.java, java/sql/ResultSet.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/DecimalFormatSymbols.java, java/text/Format.java, java/text/ParsePosition.java, java/text/RuleBasedCollator.java, java/text/SimpleDateFormat.java, java/text/StringCharacterIterator.java, java/util/Collections.java, java/util/PropertyResourceBundle.java, java/util/ResourceBundle.java, java/util/StringTokenizer.java, java/util/jar/Attributes.java, java/util/logging/ConsoleHandler.java, java/util/logging/LogManager.java, java/util/logging/MemoryHandler.java, java/util/logging/SocketHandler.java, javax/naming/NamingException.java: Fixed javadoc, coding style and argument names all over. From-SVN: r80906
2004-04-16[multiple changes]Graydon Hoare2-80/+43
2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals): Remove method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove unused code. 2004-04-02 Olga Rodimina <rodimina@redhat.com> * Makefile.am: Added new file. * Makefile.in: Regenerate. * javax/swing/ImageIcon.java: (ImageIcon(file)): set description of the icon to the file name * javax/swing/JCheckBoxMenuItem.java: Mostly Implemented. Work in progress. * javax/swing/JRadioButtonMenuItem.java: Reimplement constructors to use JToggleButtonModel. * javax/swing/plaf/basic/BasicIconFactory.java: (getCheckBoxMenuItemIcon): return check box icon. * javax/swing/plaf/basic/BasicMenuItemUI.java: paint menu item selected only when it is armed and pressed. 2004-04-02 David Jee <djee@redhat.com> * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer. * java/awt/Component.java (add): Set the parent of the popup as this component. * java/awt/PopupMenu.java (addNotify): Create popup menu when peer is null. (show): Call addNotify() if peer is null. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button argument for gtk_menu_popup() as zero. This causes the popup menu to respond to any mouse button. 2004-03-31 Olga Rodimina <rodimina@redhat.com> * Makefile.am: Added new file. * Makefile.in: Regenerate. * javax/swing/JRadioButtonMenuItem.java: Implemented. * javax/swing/plaf/basic/BasicIconFactory.java: (getRadioButtonMenuItemIcon): Return radio button icon. * javax/swing/plaf/basic/BasicMenuItemUI.java: (getPreferredSize): Add size of checkIcon if it exists. (installDefaults): Don't initialize checkIcon. It's value will be set in subclasses. (uninstallDefaults): remove uninstallation of checkIcon. (paint): Moved code to paintMenuItem(). (paintMenuItem): Implemented. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: UI delegate for JRadioButtonMenuItem. 2004-03-29 Olga Rodimina <rodimina@redhat.com> * javax/swing/plaf/basic/BasicMenuItemUI.java: Corrected position of the accelerator. 2004-03-29 Olga Rodimina <rodimina@redhat.com> * Makefile.am: Added new file. * Makefile.in: Regenerate. * javax/swing/JMenuItem.java: Partly implemented. Work in progress * javax/swing/plaf/basic/BasicLookAndFeel.java: Changed default value of acceleratorDelimiter. * javax/swing/plaf/basic/BasicMenuItemUI.java: New class. Partly implemented. 2004-03-26 Mark Wielaard <mark@klomp.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c (item_activate): Declare label before use. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (gtkSetFont): Removed unused variable label. (addExposeFilter): Declare variables before use. (removeExposeFilter): Likewise. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (ok_clicked): Declare str_fileName before use. 2004-03-26 David Jee <djee@redhat.com> * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addSeparator): Remove. * java/awt/Menu.java (separator): Remove static final MenuItem field. (separatorLabel): New static final String field. (addSeparator): Do not use peer method; use add(MenuItem) instead. Use separatorLabel to denote that it is a separator. (insertSeparator): Create a new MenuItem with separatorLabel, instead of reusing the static separator instance, because a MenuItem instance can't be added more than once without being cloned. * java/awt/peer/MenuPeer.java (addSeparator): Remove from interface. 2004-03-26 David Jee <djee@redhat.com> * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (connectSignals): New native method declaration. (GtkMenuItemPeer): Connect signals if the parent is a Menu. * java/awt/MenuItem.java (getActionCommand): Return the label if the action command is not set. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use gtk_menu_shell_append(). * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c (item_activate): Fix argument type. (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect signal here. (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is given. Add the menu widget's top-level GtkWindow to the global window group, so it can grab the pointer. (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use gtk_menu_shell_append(). 2004-03-23 Graydon Hoare <graydon@redhat.com> * java/text/AttributedString.java (addAttribute): Fix off-by-one. (getIterator): Likewise. * java/text/AttributedStringIterator.java (getRunLimit): Correct logic. (getRunStart): Likewise. (getAttribute): Fix inequality. (getAttributes): Likewise. * testsuite/libjava.mauve/xfails: Remove AttributedString xfail. 2004-03-23 Kim Ho <kho@redhat.com> * javax/swing/plaf/basic/BasicTabbedPaneUI.java: (calculateSizes): Return real width and height. 2004-03-23 Kim Ho <kho@redhat.com> * javax/swing/plaf/basic/BasicTabbedPaneUI.java (calculateTabRects): Set the selectedRun before trying to rotate tabs. 2004-03-23 Kim Ho <kho@redhat.com> * Makefile.am: New file * Makefile.in: Regenerate * java/awt/Graphics.java: (drawRect): Draw to the correct point. * javax/swing/DefaultSingleSelectionModel.java (isSelected): Return true if the selected index is not -1. * javax/swing/JLabel.java: Do not change mnemonic index if text is null. * javax/swing/JProgressBar.java: Use JComponent's EventListenerList. * javax/swing/JScrollBar.java: Ditto. * javax/swing/JSlider.java: Ditto. * javax/swing/JTabbedPane.java: Reimplement. * javax/swing/plaf/basic/BasicLookAndFeel.java: Add defaults for TabbedPane. * javax/swing/plaf/basic/BasicArrowButton.java: Implement * javax/swing/plaf/basic/BasicProgressBarUI.java: (paintDeterminate): Don't paint String if it's empty. (paintIndeterminate): ditto. * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Reimplement. 2004-03-19 Michael Koch <konqueror@gmx.de> * java/awt/image/AffineTransformOp.java (AffineTransformOp): Made public. * javax/swing/JComponent.java (listenerList): Made protected. (accessibleContext): Likewise. * javax/swing/JList.java (valueChanged): Dont use internal fields of ListSelectionEvent. * javax/swing/JViewport.java (getView): Dont use internal fields of Component. (addImpl): Likewise. * javax/swing/Timer.java (isRunning): Made public. (start): Likewise. (stop): Likewise. * javax/swing/UIDefaults.java (getInt): Made public. * javax/swing/plaf/basic/BasicListUI.java (mousePressed): Dont use internal fields of MouseEvent. (propertyChanged): Dont use internal fields of PropertyChangeEvent. * javax/swing/plaf/basic/BasicScrollBarUI.java (arrowIcon): Made static. * javax/swing/plaf/basic/BasicViewportUI.java (stateChanged): Dont use internal field on ChangeEvent. * javax/swing/text/JTextComponent.java (getUI): Call UIManager.getUI(). (updateUI): Use getUI(). 2004-03-19 Graydon Hoare <graydon@redhat.com> * javax/swing/JComponent.java: Turn off double buffer by default. * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): Use cairo to copy areas. (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip): Initialize and set clip region. 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> * java/applet/Applet.java (preferredSize): Override deprecated variant of getPreferredSize. (minimumSize): Override deprecated variant of getMinimumSize. 2004-03-15 Olga Rodimina <rodimina@redhat.com> * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawImage(img,xform,bgcolor,obs)): New Method. Helper function that every drawImage method will use. (drawRaster): Added new parameter, bgcolor. All transparent pixels are changed to bgcolor before image is drawn. (drawRenderedImage): Fixed to use changed drawRaster(). (drawImage(image,xform,obs): Fixed to use new helper function (drawImage(image,op,x,y)): Ditto. (drawImage (img,x,y,observer)): Ditto. ((PainterThread) bgcolor): New Field. ((PainterThread) (setPixels)): Changed all transparent pixels to bgcolor. (drawImage(img,x,y,width,height,bgcolor,observer)): Fixed FIXME - all the transparent pixels are changed to the specified bgcolor. (drawImage(img, x, y, width, height, observer): Changed to use function above. (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): Fixed FIXME- changed all transparent pixels to bgcolor. (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)): Changed to use function above. 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com> * java/applet/Applet.java (dimensions): New field. (getDimensions): New method. (getPreferredSize): Call getDimensions. (getMinimumSize): Likewise. 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> * jni/classpath/jcl.c: Include stdlib.h, not malloc.h. * jni/classpath/jnilink.c: Likewise. * java/applet/Applet.java (getPreferredSize): New method. (getMinimumSize): New method. From-SVN: r80762
2004-03-26NumberFormat.java: Fix spelling of setCurrency method.Peter Moon1-2/+2
2004-03-26 Peter Moon <peterm@miraculum.com> * java/text/NumberFormat.java: Fix spelling of setCurrency method. From-SVN: r79994
2004-03-12DateFormatSymbols.java: Fixed file name in copyright.Michael Koch1-1/+1
2004-03-12 Michael Koch <konqueror@gmx.de> * java/text/DateFormatSymbols.java: Fixed file name in copyright. From-SVN: r79379
2004-03-11[multiple changes]Michael Koch2-8/+13
2004-03-11 Dalibor Topic <robilad@kaffe.org> * java/text/AttributedString.java (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)): Use HashMap instead of Hashtable since value can be null, and you can not store a null value in a Hashtable. 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org> * java/text/AttributedStringIterator.java (getAllAttributesKey): Return only keys concerned by the current iterator. (getAttributes): Use strict inequality for end_index. From-SVN: r79329
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+22
* java/text/CollationElementIterator.java: (setText): New method. From-SVN: r76423
2004-01-14re PR libgcj/2429 (java.text.MessageFormat should usefully set text on ↵Michael Koch1-6/+9
exceptions) 2004-01-14 Michael Koch <konqueror@gmx.de> * java/text/MessageFormat.java: Added descriptions to exceptions. This fixes PR libgcj/2429. From-SVN: r75877
2004-01-072004-01-07 Michael Koch <konqueror@gmx.de>Michael Koch3-31/+42
* java/text/CollationElementIterator.java (textIndex): Renamed from index. * java/text/CollationKey.java (collator): New member. (CollationKey): New argument for parent collator. (equals): Check for same collator, source string and key array. * java/text/RuleBasedCollator.java: Reformated. (RuleBasedCollator): Don't re-initialize frenchAccents with default value. (getCollationElementIterator): Rewritten. (getCollationKey): Added new argument to CollationKey constructor. From-SVN: r75510
2004-01-06CollationElementIterator.java: Reformated.Michael Koch2-38/+50
2004-01-06 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java: Reformated. (CollationElementIterator): Changed order of arguments. * java/text/RuleBasedCollator.java (RuleBasedCollator): Merged class documentation. (CollationElement): Added documentation. (compare): Reformated, renamed arguments. (equals): Likewise. (getCollationElementIterator): Likewise. (getCollationKey): Likewise. From-SVN: r75484
2003-12-19NumberFormat.java: Sorted imports.Michael Koch1-5/+46
2003-12-19 Michael Koch <konqueror@gmx.de> * java/text/NumberFormat.java: Sorted imports. (getCurrency): New method. (setCurrency): New method. From-SVN: r74830
2003-12-192003-12-19 Michael Koch <konqueror@gmx.de>Michael Koch1-3/+17
* java/text/MessageFormat.java (MessageFormat): New constructor. From-SVN: r74828
2003-12-11Format.java (serialVersionUID): Fixed value.Michael Koch1-2/+2
2003-12-11 Michael Koch <konqueror@gmx.de> * java/text/Format.java (serialVersionUID): Fixed value. From-SVN: r74540
2003-12-02SimpleDateFormat.java (compileFormat): isLowerCase() and isUpperCase() allow ↵Ito Kazumitsu1-2/+2
too many characters. 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org> * java/text/SimpleDateFormat.java (compileFormat): isLowerCase() and isUpperCase() allow too many characters. Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'. From-SVN: r74188
2003-12-02FieldPosition.java (equals): Fixed comment.Dalibor Topic1-1/+1
2003-12-02 Dalibor Topic <robilad@kaffe.org> * java/text/FieldPosition.java (equals): Fixed comment. From-SVN: r74187
2003-12-02DateFormat.java: Explicitely import used classes.Michael Koch1-1/+6
2003-12-02 Michael Koch <konqueror@gmx.de> * java/text/DateFormat.java: Explicitely import used classes. From-SVN: r74174
2003-11-27[multiple changes]Michael Koch1-5/+71
2003-11-27 Dalibor Topic <robilad@kaffe.org> * java/text/FieldPosition.java (equals): Adapted to handle field_attribute. Added fast-circuit check for comparison to self. Replaced use of instanceof by getClass to fix symmetry for derived types. (toString): Adapted to handle field_attribute. Improved readability. (hashCode): New method. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FieldPosition.java (field_attribute): New field. (FieldPosition (Format.Field), FieldPosition(Format.Field, int), getFieldAttribute): New methods. From-SVN: r73988
2003-11-27DecimalFormatSymbols.java (locale): New field.Guilhem Lavaux1-3/+14
2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormatSymbols.java (locale): New field. (DecimalFormatSymbols (Locale)): Set locale. (serialVersionOnStream): Upgraded to number 2. (readObject): Assign locale if it wasn't by the serializer. From-SVN: r73987
2003-11-27FormatCharacterIterator.java: Documented the class andGuilhem Lavaux1-54/+118
2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FormatCharacterIterator.java: Documented the class and 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FormatCharacterIterator.java: Fixed some typos. From-SVN: r73986
2003-11-27[multiple changes]Michael Koch1-1/+158
2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/NumberFormat.java: (getIntegerInstance) Added the java version in the comments. 2003-11-27 Mark Wielaard <mark@klomp.org> * java/text/NumberFormat.java: Import java.io.InvalidObjectException. (readResolve): Reformat. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/NumberFormat.java (NumberFormat.Field): New implemented class to match Java 1.4. (getIntegerInstance): Two new Java 1.4 methods.o From-SVN: r73985
2003-11-19[multiple changes]Guilhem Lavaux2-0/+47
2003-11-19 Guilhem Lavaux <guilhem@kaffe.org> Jim Pick <jim@kaffe.org> * java/text/DecimalFormat.java (getCurrency, setCurrency): New methods. 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormatSymbols.java (getCurrency, setCurrency): New methods. Co-Authored-By: Jim Pick <jim@kaffe.org> From-SVN: r73735
2003-11-11Font.java, [...]: Removed some redundant obj == null checks.Michael Koch1-3/+0
2003-11-11 Michael Koch <konqueror@gmx.de> * java/awt/Font.java, java/awt/datatransfer/DataFlavor.java, java/math/BigInteger.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/rmi/MarshalledObject.java, java/rmi/server/RMIClassLoader.java, java/security/cert/CertStore.java, java/sql/Timestamp.java, java/text/SimpleDateFormat.java, javax/naming/CompoundName.java: Removed some redundant obj == null checks. From-SVN: r73448
2003-10-29[multiple changes]Michael Koch4-2/+522
2003-10-29 Mark Wielaard <mark@klomp.org> From Guilhem Lavaux <guilhem.lavaux@free.fr> * java/text/DateFormat.java (Field): New public static inner class. * java/text/Format.java (Field): Likewise. (formatToCharacterIterator): New method. * java/text/FormatCharacterIterator.java: New file. 2003-10-29 Mark Wielaard <mark@klomp.org> From Guilhem Lavaux <guilhem.lavaux@free.fr> * java/util/Currency.java: New file. 2003-10-29 Michael Koch <konqueror@gmx.de> * Makefile.am (ordinary_java_source_files): Added java/text/FormatCharacterIterator.java and java/util/Currency.java. * Makefile.in: Regenerated. From-SVN: r73046
2003-10-202003-10-20 Michael Koch <konqueror@gmx.de>Michael Koch1-11/+30
* java/text/RuleBasedCollator.java (RuleBasedCollator): Check rules not empty, fixed search in already existing collation elements. (is_special): Removed common whitespace characters. (text_argument): Dont return on whitespaces, add characters between two ' to string buffer. From-SVN: r72716
2003-10-152003-10-15 Michael Koch <konqueror@gmx.de>Michael Koch1-118/+196
* java/text/RuleBasedCollator.java (RuleBasedCollator): Moved around, documentation added. (compare): Documentation added. (equals): Likewise. (getCollationElementIterator): Likewise. (getCollationKey): Likewise. (getRules): Likewise. (hashCode): Likewise. From-SVN: r72528
2003-10-152003-10-15 Michael Koch <konqueror@gmx.de>Michael Koch1-13/+14
* java/text/RuleBasedCollator.java (CollationElement): Renamed from RBCElement and moved into RuledBasedCollator as inner class. From-SVN: r72525
2003-10-152003-10-15 Michael Koch <konqueror@gmx.de>Michael Koch2-9/+42
* java/text/CollationElementIterator.java (CollationElementIterator): Moved, documenatation added, call setText. (next): Reformated. (reset): Reformated. (setText): New method. (getOffset): New method. * java/text/CollationKey.java (getSourceString): Reformated. (hashCode): Reformated. (toByteArray): Reformated. From-SVN: r72523
2003-10-15AttributedCharacterIterator.java, [...]: Reformated.Michael Koch2-260/+220
2003-10-15 Michael Koch <konqueror@gmx.de> * java/text/AttributedCharacterIterator.java, java/text/CharacterIterator.java: Reformated. From-SVN: r72518
2003-10-11AttributedCharacterIterator.java, [...]: Removed redundant modifiers.Michael Koch2-93/+25
2003-10-11 Michael Koch <konqueror@gmx.de> * java/text/AttributedCharacterIterator.java, java/text/CharacterIterator.java: Removed redundant modifiers. From-SVN: r72357
2003-10-082003-10-08 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+2
* java/text/SimpleDateFormat.java (compileFormat): Replace Character.isLetter() test with Character.isLowerCase() || Character.isUpperCase(). From-SVN: r72239
2003-09-28DateFormat.java (format): Throw IllegalArgumentException if j' is not a ↵Bryce McKinlay2-23/+25
Number or Date instance. * java/text/DateFormat.java (format): Throw IllegalArgumentException if j' is not a Number or Date instance. * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList instead of Vector. From-SVN: r71871