| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
Fixes PR29010
* java/text/AttributedString.java
(AttributedString(AttributedCharacterIterator, int, int,
AttributedCharacterIterator.Attribute[])): Fixed check for defined
attribute.
|
|
|
|
|
| |
* java/text/SimpleDateFormat.java (parse): Let an unquoted space in
the pattern match any number of spaces in the text.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
of 'types'.
|
|
|
|
|
| |
* java/text/NumberFormat.java (getIntegerInstance): Use
"integerFormat", not "numberFormat".
|
|
|
|
| |
space to error message.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
value of 'pureMinutes'. PR classpath/27189.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/DateFormatSymbols.java
(setAmPmStrings): Added null check and throw NPE.
(setEras): Likewise.
(setLocalPatternChars): Likewise.
(setMonths): Likewise.
(setShortMonths): Likewise.
(setShortWeekdays): Likewise.
(setWeekdays): Likewise.
(setZoneStrings): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Compare name.
|
|
|
|
| |
types L, EN, ES, ET, AN, CS, S and WS.
|
|
|
|
| |
* java/text/Bidi.java: New file.
|
|
|
|
|
|
| |
Fixes bug #25273
* java/text/DecimalFormat.java(scanFormat): Don't set
minimumIntegerDigits to 0.
|
|
|
|
|
| |
explicit qualification.
(getRunStart): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/RuleBasedCollator.java:
Fixed spelling error in comment.
|
|
|
|
|
|
|
| |
* java/text/StringCharacterIterator.java (StringCharacterIterator):
Javadoc fix.
(hashCode): New method.
* java/text/ParsePosition.java (hashCode): New method
|
|
|
|
| |
handle quoted single quotes. PR classspath/23183.
|
| |
|
|
|
|
|
| |
* java/text/StringCharacterIterator.java
(StringCharacterIterator(String)): documented NullPointerException.
|
|
|
|
| |
* java/text/AttributedStringIterator.java: reformatted.
|
|
|
|
| |
* java/text/AttributedString.java: added/edited API docs.
|
|
|
|
|
| |
* java/text/AttributedString.java: reformatted.
----------------------------------------------------------------------
|
|
|
|
| |
* java/text/AttributedCharacterIterator.java: API doc fixes.
|
| |
|
|
|
|
| |
PR classpath/22986.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
----------------------------------------------------------------------
|
|
|
|
|
| |
* java/text/AttributedStringIterator.java (getRunLimit): Fixed the
range of the returned indexes.
|
|
|
|
|
| |
* java/text/MessageFormat.java (parse): When parsing strings, check
for an empty pattern trailer.
|
|
|
|
|
| |
* java/text/MessageFormat.java (MessageFormatElement.setLocale):
Handle DateFormat.DEFAULT case correctly.
|
|
|
|
|
|
|
|
| |
* java/text/DateFormatSymbols.java:
(getStringArray(java.util.ResourceBundle,String)):
Fixed parsing of new property files.
(getZoneStrings(java.util.ResourceBundle)):
Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* java/text/SimpleDateFormat.java
(computeOffset): Allow timezone to be first in the parsed String.
|
|
|
|
|
| |
* java/text/DecimalFormat.java
(hashCode): Reimplemented and added API docs.
|
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
| |
* java/text/SimpleDateFormat.java:
(formatWithAttribute): Pad year before truncating digits.
|
|
|
|
|
|
|
| |
2005-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/text/DecimalFormat.java (parse):
Check whether the positive suffix matches the pattern.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* java/text/SimpleDateFormat.java:
Substitute StringBuilder for the original
StringBuffer.
|