summaryrefslogtreecommitdiff
path: root/java/text
Commit message (Collapse)AuthorAgeFilesLines
...
* 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-09-113-53/+66
| | | | | | | | * java/text/AttributedCharacterIterator.java: Added @since tag, renamed some variables (no underscores) and removed some spaces to match the common style, * java/text/AttributedString.java: Likewise, * java/text/AttributedStringIterator.java: Likewise.
* 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>David Gilbert2006-09-111-5/+5
| | | | | | | | Fixes PR29010 * java/text/AttributedString.java (AttributedString(AttributedCharacterIterator, int, int, AttributedCharacterIterator.Attribute[])): Fixed check for defined attribute.
* PR classpath/28658:Tom Tromey2006-08-091-1/+19
| | | | | * java/text/SimpleDateFormat.java (parse): Let an unquoted space in the pattern match any number of spaces in the text.
* 2006-06-18 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-181-7/+4
| | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (FreetypeGlyphVector, clone): Implement cloning. (getGlyphLogicalBounds): Bounds should be offset to the glyph position. * java/awt/font/TextMeasurer.java: Implement. * java/awt/font/LineBreakMeasurer.java: Reimplement to use TextMeasurer. * java/awt/font/TextLayout.java New constructors. (getBlackboxBounds, getLogicalHighlightShape): Reimplement. (getText, getFont): New private static methods. (setCharIndices): New method. * java/text/AttributedString.java (AttributedString): Fix constructor to stop at end point.
* 2006-06-08 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-091-0/+1
| | | | | | | | | | | | | | * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java New constructor for bidirectionality. (getGlyphMetrics): Return whitespace glyphs. (getLogicalBounds): Offset rectangles to correct positions. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getBaselineFor): Default to ROMAN_BASELINE. (GdkFontLineMetrics): Guess some values for underline and strikethrough. (layoutGlyphVector): Use bidirectionality. * java/awt/font/TextLayout.java: Implement, mostly.
* * java/text/Bidi.java (resolveNeutralTypes): Set j'th slotTom Tromey2006-06-081-1/+1
| | | | of 'types'.
* PR classpath/27563:Tom Tromey2006-05-161-1/+1
| | | | | * java/text/NumberFormat.java (getIntegerInstance): Use "integerFormat", not "numberFormat".
* * java/text/SimpleDateFormat.java (compileFormat): Added missingTom Tromey2006-05-081-1/+1
| | | | space to error message.
* 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-05-071-3/+3
| | | | | | | | | | PR classpath/27311: * gnu/java/text/StringFormatBuffer.java: (toString()): Implemented so we can see the contents. * java/text/DecimalFormat.java: (formatInternal(double,StringFormatBuffer,FieldPosition)): Don't calculate the exponent when the number is 0 or less. Also, use log10 instead of log now it's available.
* * java/text/SimpleDateFormat.java (formatWithAttribute): Take absoluteTom Tromey2006-04-191-1/+2
| | | | value of 'pureMinutes'. PR classpath/27189.
* * .externalToolBuilders/CreateLocaleData.launch: Updated.Tom Tromey2006-03-241-10/+3
| | | | | | | | | | | | | | * gnu/java/locale/.cvsignore: New file. * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale. * java/util/Locale.java (getAvailableLocales): Clone result. (getISOCountries): Likewise. (getISOLanguages): Likewise. * scripts/generate-locale-list.sh: Make class public. Added new array. * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method. (getLocaleCount): Likewise. * java/text/Collator.java (getInstance): Javadoc typo fix. (getAvailableLocales): Wrote.
* * doc/hacking.texinfo (Source Code Style Guide): MentionTom Tromey2006-03-222-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NotImplementedException. * javax/imageio/stream/MemoryCacheImageOutputStream.java (flushBefore): Mark as stub. (read): Likewise. * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore): Mark as stub. * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark as stub. (write): Likewise. (writeBit): Likewise. (writeChars): Likewise. (writeUTF): Likewise. * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark as stub. (read): Likewise. * java/net/URLConnection.java (getContent): Mark as stub. * java/awt/Window.java (applyResourceBundle): Mark as stub. * java/awt/TexturePaint.java (createContext): Mark as stub. (getTransparency): Mark as stub. * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub. * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub. * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as stub. (getImageCapabilities): Likewise. * java/awt/BasicStroke.java (createStrokedShape): Mark as stub. * java/awt/AlphaComposite.java (createContext): Mark as stub. * java/awt/image/renderable/RenderableImageProducer.java: Mark all methods as stubs. * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub. (getAdvanceBetween): Likewise. (getLayout): Likewise. (insertChar): Likewise. (getLineBreakIndex): Likewise. * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub. (getAdvance): Likewise. (getAscent): Likewise. (getDescent): Likewise. * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub. (insertChar): Likewise. (nextLayout): Likewise. (nextLayout): Likewise. (nextOffset): Likewise. (nextOffset): Likewise. * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub. (equals): Likewise. (getAdvance): Likewise. (getAscent): Likewise. (getBounds): Likewise. (getDescent): Likewise. (hashCode): Likewise. (ImageGraphicAttribute): Likewise. * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub. (getJustificationInfo): Likewise. * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub. (getGlyphCharIndices): Likewise. (getGlyphOutline): Likewise. (getGlyphPixelBounds): Likewise. (getLayoutFlags): Likewise. (getPixelBounds): Likewise. * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub. (getRSB): Likewise. * java/nio/channels/Channels.java (newWriter): Mark as stub. * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs. * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized): Mark as stub. (resetRecognizer): Likewise. * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative): Mark as stub. (getNativesForFlavor): Likewise. * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark as stub. (getRegion): Likewise. (createUI): Likewise. (initialize): Likewise. (uninitialize): Likewise. (getDefaults): Likewise. (load): Likewise. (shouldUpdateStyleOnAncestorChanged): Likewise. * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize): Mark as stub. (getPreferredSize): Likewise. (getMaximumSize): Likewise. (paintText): Likewise. * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark as stub. * java/text/Collator.java (getAvailableLocales): Mark as stub.
* * java/text/Bidi.java: Completed.Tom Tromey2006-03-211-6/+927
|
* 2006-03-16 Roman Kennke <kennke@aicas.com>Roman Kennke2006-03-161-0/+16
| | | | | | | | | | | | * java/text/DateFormatSymbols.java (setAmPmStrings): Added null check and throw NPE. (setEras): Likewise. (setLocalPatternChars): Likewise. (setMonths): Likewise. (setShortMonths): Likewise. (setShortWeekdays): Likewise. (setWeekdays): Likewise. (setZoneStrings): Likewise.
* * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): NowTom Tromey2006-03-161-1/+1
| | | | | | | | | | | | final. * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc fix. * java/util/zip/ZipFile.java (ENDNRD): New constant. * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed. * java/util/zip/Inflater.java (end): Not deprecated. * java/util/zip/Deflater.java (end): Not deprecated. * java/text/Bidi.java (Bidi): Now final. * java/nio/MappedByteBuffer.java (finalize): Now protected.
* * java/text/AttributedCharacterIterator.java (Attribute.readResolve):Mark Wielaard2006-03-111-3/+3
| | | | Compare name.
* * java/text/Bidi.java (requiresBidi): Also test against characterMark Wielaard2005-12-311-7/+15
| | | | types L, EN, ES, ET, AN, CS, S and WS.
* Implement workaround suggested in bug #25430.Mark Wielaard2005-12-231-0/+70
| | | | * java/text/Bidi.java: New file.
* 2005-12-07 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu2005-12-071-1/+3
| | | | | | Fixes bug #25273 * java/text/DecimalFormat.java(scanFormat): Don't set minimumIntegerDigits to 0.
* * java/text/AttributedStringIterator.java (getRunLimit): AddTom Tromey2005-10-241-2/+6
| | | | | explicit qualification. (getRunStart): Likewise.
* 2005-10-24 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-10-243-79/+150
| | | | | | | | | | | | | | | | | | | | | | | * java/text/AttributedString.java (AttributedString(AttributedCharacterIterator, int, int, AttributedCharacterIterator.Attribute[])): renamed arguments, and updated IllegalArgumentException check, (addAttribute(AttrubytedCharacterIterator.Attribute, Object, int, int)): likewise, (addAttributes(Map, int, int)): changed IllegalArgumentException to NullPointerException, and modified check for illegal range, * java/text/AttributedStringIterator.java (getRunLimit(Set)): reimplemented, (getRunStart): added API docs, (getRunStart(AttributedCharacterIterator.Attribute)): handle null argument as a special case, (getRunStart(Set)): reimplemented, (getAttribute(AttributedCharacterIterator.Attribute, int)): new private method, (getAttribute(AttributedCharacterIterator.Attribute)): reimplemented using new private method. * java/text/CharacterIterator.java: minor API doc fix. ----------------------------------------------------------------------
* * java/text/DateFormat.java (serialVersionUID): New field.Tom Tromey2005-09-191-0/+3
|
* 2005-09-18 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-09-181-1/+1
| | | | | * java/text/RuleBasedCollator.java: Fixed spelling error in comment.
* PR classpath/23882:Tom Tromey2005-09-162-1/+20
| | | | | | | * java/text/StringCharacterIterator.java (StringCharacterIterator): Javadoc fix. (hashCode): New method. * java/text/ParsePosition.java (hashCode): New method
* * java/text/SimpleDateFormat.java (compileFormat): CorrectlyTom Tromey2005-08-251-8/+25
| | | | handle quoted single quotes. PR classspath/23183.
* * java/text/SimpleDateFormat.java (compileFormat): Reformatted.Tom Tromey2005-08-231-35/+47
|
* 2005-08-18 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-08-181-1/+4
| | | | | * java/text/StringCharacterIterator.java (StringCharacterIterator(String)): documented NullPointerException.
* 2005-07-28 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-07-281-269/+232
| | | | * java/text/AttributedStringIterator.java: reformatted.
* 2005-07-27 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-07-271-19/+31
| | | | * java/text/AttributedString.java: added/edited API docs.
* 2005-07-27 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-07-271-367/+301
| | | | | * java/text/AttributedString.java: reformatted. ----------------------------------------------------------------------
* 2005-07-27 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-07-271-20/+19
| | | | * java/text/AttributedCharacterIterator.java: API doc fixes.
* * java/text/DateFormat.java (equals): Reimplement.Mark Wielaard2005-07-261-3/+29
|
* * java/text/CollationKey.java (equals): Use Arrays.equals.Tom Tromey2005-07-251-1/+3
| | | | PR classpath/22986.
* 2005-07-23 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-07-2313-114/+119
| | | | | | | | | | | | | | | | * java/text/AttributedString.java: API doc fixes, * java/text/ChoiceFormat.java: likewise, * java/text/CollationElementIterator.java: likewise, * java/text/CollationKey.java: likewise, * java/text/Collator.java: likewise, * java/text/DateFormat.java: likewise, * java/text/DateFormatSymbols.java: likewise, * java/text/DecimalFormatSymbols.java: likewise, * java/text/MessageFormat.java: likewise, * java/text/NumberFormat.java: likewise, * java/text/ParseException.java: likewise, * java/text/SimpleDateFormat.java: likewise, * java/text/StringCharacterIterator.java: likewise.
* 2005-07-20 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-07-203-30/+40
| | | | | | | | | | | | | | | * java/text/AttributedCharacterIterator.java: fixed minor API doc problems and 80 column wrapping; * java/text/BreakIterator.java (getCharacterInstance(Locale)): matched argument name to API docs, (getLineInstance(Locale)): likewise, (getSentenceInstance(Locale)): likewise, (getWordInstance(Locale)): likewise, and fixed minor API doc problems all over; * java/text/CharacterIterator.java: fixed minor API doc problems.
* 2005-07-14 Mark Wielaard <mark@klomp.org>Mark Wielaard2005-07-131-3/+5
| | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/awt/Demo.java (TestWindow.parent): Make package private. * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyHostname, proxyPort, agent, keepAlive, maxConnections): Likewise. * java/text/SimpleDateFormat.java (field, size): Likewise. * java/util/jar/JarFile.java (readSignatures): Likewise. * java/util/logging/FileHandler.java (written): Likewise. * javax/swing/plaf/basic/BasicFileChooserUI.java: Make shared fields package private. (closeDialog): Make package private. (filterEntries): Likewise. * javax/swing/plaf/basic/BasicPopupMenuUI.java (mouseInputListener): Likewise. * javax/swing/plaf/basic/BasicTreeUI.java (getNextVisibleNode, getPreviousVisibleNode, selectPath): Likewise. * javax/swing/text/JTextComponent.java (caret, editable): Likewise.
* * all files: Update for new FSF address.Mark Wielaard2005-07-0224-48/+48
|
* 2005-06-14 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2005-06-141-21/+46
| | | | | | | | | | * java/text/DecimalFormat.java (DecimalFormat(String, DecimalFormatSymbols)): store clone of symbols; (equals): add missing checks; (getDecimalFormatSymbols): return clone of symbols; (setDecimalFormatSymbols): store clone of symbols. ----------------------------------------------------------------------
* 2005-06-13 Ziga Mahkovec <ziga.mahkovec@klika.si>Ziga Mahkovec2005-06-131-3/+3
| | | | | * java/text/AttributedStringIterator.java (getRunLimit): Fixed the range of the returned indexes.
* 2005-06-12 Ziga Mahkovec <ziga.mahkovec@klika.si>Ziga Mahkovec2005-06-121-1/+5
| | | | | * java/text/MessageFormat.java (parse): When parsing strings, check for an empty pattern trailer.
* 2005-05-24 Gary Benson <gbenson@redhat.com>Tom Tromey2005-05-241-1/+4
| | | | | * java/text/MessageFormat.java (MessageFormatElement.setLocale): Handle DateFormat.DEFAULT case correctly.
* 2005-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-05-211-32/+6
| | | | | | | | * java/text/DateFormatSymbols.java: (getStringArray(java.util.ResourceBundle,String)): Fixed parsing of new property files. (getZoneStrings(java.util.ResourceBundle)): Likewise.
* 2005-05-19 Michael Koch <konqueror@gmx.de>Michael Koch2005-05-191-13/+62
| | | | | | | | | | | | | | | | * java/text/DateFormatSymbols.java (getStringArray): New method. (getZoneStrings): Likewise. (DateFormatSymbols): Load symbols from properties files. * java/util/Locale.java (getDisplayLanguage): Handle new way to load language names. (getDisplayCountry): Handle new way to load territory names. (getDisplayVariant): Handle new way to load variant names. * lib/Makefile.am, lib/gen-classlist.sh.in: No need to special case classes from gnu.java.locale anymore. * scripts/generate-locale-list.sh: Generate list from the new properties files. * LICENSE: Added license of locale data properties files.
* 2005-05-18 Sven de Marothy <sven@physto.se>Sven de Marothy2005-05-181-7/+25
| | | | | * java/text/SimpleDateFormat.java (computeOffset): Allow timezone to be first in the parsed String.
* 2005-05-02 David Gilbert <david.gilbert@object-refinery.com>Michael Koch2005-05-021-6/+8
| | | | | * java/text/DecimalFormat.java (hashCode): Reimplemented and added API docs.
* 2005-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-04-161-1/+1
| | | | | | | | * java/text/DecimalFormatSymbols.java: Added retrieval of "XXX" instance in place of null. * java/util/Currency.java, (Currency(String)): New constructor for the XXX special case. (getInstance(String)): Allow special case of "XXX".
* 2005-04-10 Sven de Marothy <sven@physto.se>Sven de Marothy2005-04-101-1/+1
| | | | | * java/text/SimpleDateFormat.java: (formatWithAttribute): Pad year before truncating digits.
* Fix for overlooked ParseException in DecimalFormatDalibor Topic2005-03-271-0/+5
| | | | | | | 2005-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org> * java/text/DecimalFormat.java (parse): Check whether the positive suffix matches the pattern.
* 2005-03-09 Sven de Marothy <sven@physto.se>Sven de Marothy2005-03-091-0/+12
| | | | | | | | | | * java/util/Calendar.java (set): Use starting day of week when one is needed if none is given. * java/text/SimpleDateFormat.java (parse): Handle 1-12 and 1-24 timestamps correctly. * java/util/GregorianCalendar (computeTime, computeFields): HOUR should be in 0-11 format. (nonLeniencyCheck): Adjust leniency checking to that fact.
* 2005-02-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-02-231-3/+3
| | | | | | * java/text/SimpleDateFormat.java: Substitute StringBuilder for the original StringBuffer.