Commit Graph

6997 Commits

Author SHA1 Message Date
Markus Scherer
31bc4daf4c ICU-11265 UnicodeSet: Replace StringBuffer with StringBuilder
X-SVN-Rev: 37116
2015-03-03 22:46:32 +00:00
Markus Scherer
0918e9e5f7 ICU-11392 data-driven collation test: failed Collator creation skips over its test cases then continues testing; simplify test case syntax error handling
X-SVN-Rev: 37113
2015-03-03 19:38:46 +00:00
George Rhoten
883d0628bf ICU-11532 Small performance improvement when iterating over rule sets
X-SVN-Rev: 37107
2015-03-02 07:26:07 +00:00
George Rhoten
52f0fc8a17 ICU-11532 Infinite loop while parsing an RBNF rule with plural format
X-SVN-Rev: 37106
2015-03-02 03:27:18 +00:00
Mark Davis
2b9fe640f1 ICU-10488 add some non-canonical names
X-SVN-Rev: 37104
2015-02-28 15:22:32 +00:00
Mark Davis
7b66f26a10 ICU-10488 Add api for locale display list
X-SVN-Rev: 37103
2015-02-28 15:06:42 +00:00
Mark Davis
d8dbf52acc ICU-11099 Add @internal API for now.
X-SVN-Rev: 37102
2015-02-28 14:16:06 +00:00
Markus Scherer
1ecb2eb325 ICU-11546 same input text for ICU and JDK
X-SVN-Rev: 37095
2015-02-27 22:14:09 +00:00
Markus Scherer
e1cf3a582f ICU-11346 separate Iterable vs. Iterator classes
X-SVN-Rev: 37092
2015-02-27 16:53:43 +00:00
Peter Edberg
f695444816 ICU-11539 J: Delete Calendar fields TIME_SEPARATOR, RELATED_YEAR; adjust accordingly
X-SVN-Rev: 37090
2015-02-27 08:59:59 +00:00
Markus Scherer
87b4d34774 ICU-11546 test lead surrogate in the middle not at the end
X-SVN-Rev: 37089
2015-02-27 03:28:12 +00:00
Peter Edberg
f529ab3862 ICU-11555 J: pre-integrate CLDR 27 transform changes (cldrbug 6940)
X-SVN-Rev: 37076
2015-02-26 08:50:36 +00:00
Yoshito Umaoka
6216dfc0c1 ICU-11273 Transliterator initializer to load IDs from root.res, instead of non-existing index.res.
X-SVN-Rev: 37075
2015-02-26 08:25:37 +00:00
Yoshito Umaoka
a4b1199d60 ICU-11321 Prevent crash even when ICU4J classes are initialized by a bootstrap class loader.
X-SVN-Rev: 37074
2015-02-26 07:58:45 +00:00
Andy Heninger
56459a99d9 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37072
2015-02-26 02:04:11 +00:00
Yoshito Umaoka
c679a56ba1 ICU-11505 Made -u as default option of the test framework, added -hex to escape non-ASCII characters.
X-SVN-Rev: 37065
2015-02-25 07:50:46 +00:00
Peter Edberg
33de7d60b8 ICU-9379 J: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37060
2015-02-24 22:38:03 +00:00
Peter Edberg
f149f89059 ICU-10761 J: pre-integrate changes per cldrbug 8048: to use 'r' in chinese calendar formats
X-SVN-Rev: 37053
2015-02-23 16:46:39 +00:00
Yoshito Umaoka
aac5b528c8 ICU-11501 Removed -nothrow option handling code in the test framework. The option is still accepted, but it has no effects.
X-SVN-Rev: 37052
2015-02-23 13:23:44 +00:00
Yoshito Umaoka
df67b1a7d0 ICU-11540 The previous fix broke the CoverageTest execution on Eclipse IDE (file: protocol). I reverted the change, and reverted #11521, and fixed the original issue in a different way.
X-SVN-Rev: 37051
2015-02-23 13:03:38 +00:00
Yoshito Umaoka
5596090680 ICU-11540 Fixed a serialization coverage test problem introduced by the recent fix for JarURLHandler(#11521).
X-SVN-Rev: 37050
2015-02-23 10:32:00 +00:00
Peter Edberg
6ed790341e ICU-10761 J: DateTimePatternGenerator should allow r and U in same pattern
X-SVN-Rev: 37048
2015-02-22 10:11:25 +00:00
Peter Edberg
154ad1a4bd ICU-10761 J: Basic support for date pattern character 'r', date field RELATED_YEAR
X-SVN-Rev: 37047
2015-02-22 08:20:18 +00:00
Fredrik Roubert
8a943fafe4 ICU-11467 Promote time separator interfaces to public API.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/190560043

X-SVN-Rev: 37042
2015-02-19 12:01:33 +00:00
Fredrik Roubert
d8b9e7ecaa ICU-11463 ICU4J ought to always close() resources
R=yoshito_umaoka@us.ibm.com

Review URL: https://codereview.appspot.com/199390043

X-SVN-Rev: 37034
2015-02-13 20:16:22 +00:00
Fredrik Roubert
9aadd6b1e9 ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.
For compatibility with ICU4C, the RELATED_YEAR field should be defined
as the field preceding the TIME_SEPARATOR field but by mistake support
for the TIME_SEPARATOR field has already been implemented in ICU4J
without first defining the RELATED_YEAR field.

This change therefore reorders the existing TIME_SEPARATOR field and
adds definitions (without any underlying implementation) for the 'r'
pattern char and the RELATED_YEAR field.

R=markus.icu@gmail.com,pedberg@apple.com

Review URL: https://codereview.appspot.com/198460043

X-SVN-Rev: 37032
2015-02-13 18:20:21 +00:00
Peter Edberg
e567f4ec73 ICU-11442 J: Restore the complete converted supplemental territoryInfo
X-SVN-Rev: 37031
2015-02-13 06:08:54 +00:00
Markus Scherer
5ceb402827 ICU-11521 fix JarURLHandler prefix so that the file basename does not start with a slash
X-SVN-Rev: 37022
2015-02-11 18:54:48 +00:00
Markus Scherer
bb4101274a ICU-11496 enumerate ICU resources from both jar file and file system
X-SVN-Rev: 37012
2015-02-05 16:22:43 +00:00
Yoshito Umaoka
92932143be ICU-11315 tzdata2015a updates in ICU4J.
X-SVN-Rev: 37005
2015-02-03 23:55:23 +00:00
Scott Russell
9dbd642f3a ICU-11485 enhance eclipse plug-in build to display normal ICU4J logging during testing via run configuration.
-icuLog 	:: turns on ICU logging
-verbose 	:: turns on verbose logging

X-SVN-Rev: 37000
2015-02-03 17:31:05 +00:00
Markus Scherer
6f38f0a727 ICU-11498 TestCharsetDetector: hardcode ISO-2022-CN bytes in CharsetDetectionTests.xml and do not check roundtrip conversion for it
X-SVN-Rev: 36998
2015-02-02 22:53:15 +00:00
Fredrik Roubert
774a23e4a7 ICU-11039 optionally build ICU4J jar without ICU runtime data
Make all Ant targets for copying data conditional on a new property
named icu4c.data.path which, if set, inhibits all data copying and
updates the ICUConfig.properties file to use this path.

Use in this way:
$ ant -Dicu4c.data.path=/tmp/icu/build/data/out/tmp check

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/198130043

X-SVN-Rev: 36996
2015-01-30 16:59:20 +00:00
Markus Scherer
07fb5920cc ICU-11497 TestCharset.TestEncoderCreation: explicitly create one Charset from ICU, be lenient about implementation of another Charset
X-SVN-Rev: 36993
2015-01-29 21:23:36 +00:00
Fredrik Roubert
081b54e280 ICU-11483 Canonicalize IDs for java.util.TimeZone.getTimeZone().
Review URL: https://codereview.appspot.com/194240043

X-SVN-Rev: 36988
2015-01-27 10:55:16 +00:00
Markus Scherer
0acf60d3e0 ICU-11479 do not ask the Java system what the canonical name should be, just figure it out from ICU data
X-SVN-Rev: 36982
2015-01-22 20:40:30 +00:00
Fredrik Roubert
c65976304f ICU-11491 adjust Java version check for Android.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/194320043

X-SVN-Rev: 36978
2015-01-21 21:46:16 +00:00
Yoshito Umaoka
2e44f6274f ICU-11487 Fixed lookup trie initialization problem in TZDBTimeZoneNames.
X-SVN-Rev: 36977
2015-01-21 19:51:06 +00:00
Markus Scherer
ebc8fc083f ICU-11486 do not rely on javax.xml.datatype.DatatypeFactory, manually build good-enough-for-this-test Duration objects
X-SVN-Rev: 36976
2015-01-21 18:45:57 +00:00
Markus Scherer
1604e1772d ICU-11479 precompute Java canonical names for not-only-ICU Charsets, make CharsetProviderICU all-static again (see ticket #9973), simplify some test code
X-SVN-Rev: 36966
2015-01-16 17:35:52 +00:00
Fredrik Roubert
6572a72c63 ICU-11474 Identify Android as a Java vendor in unit tests.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/189550043

X-SVN-Rev: 36961
2015-01-15 10:45:08 +00:00
Fredrik Roubert
0f41ec3319 ICU-11464 TestFmwk should log closing brace lines for empty tests.
Review URL: https://codereview.appspot.com/191480043

X-SVN-Rev: 36927
2015-01-07 18:39:29 +00:00
Markus Scherer
e65a679a26 ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36925
2015-01-07 03:49:20 +00:00
Yoshito Umaoka
179ab63238 ICU-11466 Added a word break test case for Hangul, starting with Latin text. Such case did not work well with ICU4J 52, but works fine with other ICU versions.
X-SVN-Rev: 36916
2015-01-06 19:03:26 +00:00
Markus Scherer
6c0fcd7a64 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36907
2014-12-27 00:39:08 +00:00
Fredrik Roubert
c47bac8255 ICU-11018 Refactor date format string mapping code (ICU4J)
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/190960043

X-SVN-Rev: 36900
2014-12-19 07:28:19 +00:00
Fredrik Roubert
a897801e80 ICU-11018 Support CLDR time separator (ICU4J)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180370043

X-SVN-Rev: 36898
2014-12-19 07:20:14 +00:00
John Emmons
9d67693f3f ICU-11430 Make genPatternInfo method public (for CLDR)
X-SVN-Rev: 36888
2014-12-18 18:06:07 +00:00
John Emmons
f4fcba39d9 ICU-11060 Fix naming convention for @alt values from CLDR
X-SVN-Rev: 36887
2014-12-17 23:26:00 +00:00
Travis Keep
4cbb21d8b5 ICU-11445 Bring per unit formatting in MeasureFormat out of tech preview.
X-SVN-Rev: 36885
2014-12-17 22:19:45 +00:00