George Rhoten
a423e7cb09
ICU-11564 Improve the thread safety of RBNF.
...
The recursion count is now a method argument instead of a data member.
Some data fields are now marked final to ensure thread safety, which caused reordering of some data initialization/parsing.
Setting the DecimalFormatSymbols no longer reparses the rules, but it just sets a new version of DecimalFormatSymbols instead.
X-SVN-Rev: 37383
2015-04-23 07:44:14 +00:00
Andy Heninger
fa38aa2c0b
ICU-11608 remove lines with $ svn keywords
...
X-SVN-Rev: 37368
2015-04-20 20:50:26 +00:00
Andy Heninger
e599c1007e
ICU-11609 set svn property eol-style native for more text files in icu4j.
...
X-SVN-Rev: 37365
2015-04-17 23:31:56 +00:00
Yoshito Umaoka
7daa0c8e78
ICU-11629 Updated ICU4J version to 56.0.1.
...
X-SVN-Rev: 37338
2015-04-15 16:41:47 +00:00
Michael Ow
997afd4ee2
ICU-11630 Update tzdata in ICU4J to 2015c
...
X-SVN-Rev: 37334
2015-04-14 21:23:40 +00:00
Travis Keep
2efcd46ee3
ICU-11580 Fix DateIntervalInfo descrepencies between C and J
...
X-SVN-Rev: 37325
2015-04-09 18:28:59 +00:00
Yoshito Umaoka
bc3b3a3916
ICU-11595 Merging locale matcher's fix from the work branch emmons/t11595 to trunk, with ICU4J data jar files regenerated from the ICU4C trunk.
...
X-SVN-Rev: 37295
2015-03-27 17:57:18 +00:00
Yoshito Umaoka
b72bd763eb
ICU-11315 tzdata2015b updates in ICU4J.
...
X-SVN-Rev: 37267
2015-03-24 22:34:57 +00:00
Mark Davis
7887f56097
ICU-11583 fix bug that travis found in review. See comments in the bug report for details
...
X-SVN-Rev: 37239
2015-03-17 08:17:40 +00:00
John Emmons
a5f260cbd8
ICU-11586 Fixes for en_CA date formats
...
X-SVN-Rev: 37236
2015-03-16 21:14:23 +00:00
Yoshito Umaoka
fc82df36a1
ICU-11565 Removed the link to icu4c.css to fix HTML validation error. The same file was already checked into ICU4C repo.
...
X-SVN-Rev: 37232
2015-03-13 21:29:28 +00:00
Yoshito Umaoka
32271b5e29
ICU-11583 Fixed several issues in the previous commits. See #11583 comment:7 for the details.
...
X-SVN-Rev: 37230
2015-03-13 20:18:09 +00:00
Mark Davis
d43a9202f2
ICU-11583 remove spurious Objects in imports (with a cleanup)
...
X-SVN-Rev: 37228
2015-03-13 12:54:42 +00:00
Mark Davis
152bcd92c8
ICU-11583 fix resource loading for interval formats, plus add tests. There are some internal APIs for use by the tests also.
...
X-SVN-Rev: 37227
2015-03-13 07:09:17 +00:00
Yoshito Umaoka
d4975a1818
ICU-11565 Added ICU4J 55 API signature file. Added ICU4J 55 serializable test data and deleted ICU4J 51 serializable data.
...
X-SVN-Rev: 37218
2015-03-11 20:43:39 +00:00
Yoshito Umaoka
14e95860a8
ICU-11565 BRS - Updated the API change report, fixed some JavaDoc tag problems.
...
X-SVN-Rev: 37216
2015-03-11 20:19:46 +00:00
Yoshito Umaoka
f9cf01598c
ICU-11567 Promote draft APIs to stable in ICU 55.
...
X-SVN-Rev: 37214
2015-03-11 19:45:26 +00:00
Yoshito Umaoka
22dd5c9096
ICU-11565 Fixed Eclipse compiler warnings. Updated ICU4J project settings to detect [potentail] resource leak as warning, except icu-demos, icu-build-tools and icu-tools.
...
X-SVN-Rev: 37213
2015-03-11 18:54:31 +00:00
Yoshito Umaoka
aacaaf660b
ICU-11565 Resync data with ICU4C r37203. The previous data import included resource files with future date accidentally.
...
X-SVN-Rev: 37208
2015-03-11 16:15:38 +00:00
Yoshito Umaoka
d2598ad888
ICU-11565 BRS - organize import statements
...
X-SVN-Rev: 37207
2015-03-11 15:25:50 +00:00
Yoshito Umaoka
fad6881394
ICU-10488 Added @provisional to draft APIs, and supplied missing java doc commment/status to java.lang.Object method overrides.
...
X-SVN-Rev: 37206
2015-03-10 22:27:08 +00:00
Yoshito Umaoka
1ca1101b1f
ICU-11315 Windows zone 2015 version 4 / Quintana Roo and Santiago / icu4j
...
X-SVN-Rev: 37204
2015-03-10 19:23:12 +00:00
Markus Scherer
09e137189c
ICU-11565 ICU4J 55 pool.res & other .res bundles with CLDR 27 data
...
X-SVN-Rev: 37200
2015-03-10 17:32:30 +00:00
Peter Edberg
8cfa7a0d29
ICU-11565 Update DRAFT_VERSIONS, ICU 53 MeasureUnit constants/createXxx are no longer draft
...
X-SVN-Rev: 37198
2015-03-10 07:37:08 +00:00
Scott Russell
6c4df64d1f
ICU-11565 BRS - svnprops check
...
X-SVN-Rev: 37195
2015-03-09 21:11:14 +00:00
Mark Davis
1c46811b4d
ICU-10488 fixes for review comments. See comment:10
...
X-SVN-Rev: 37191
2015-03-08 10:06:22 +00:00
John Emmons
70b7df5c6c
ICU-11555 Build sw_CD locale, per Cldrbug:8079
...
X-SVN-Rev: 37190
2015-03-07 17:29:47 +00:00
John Emmons
1e423f49fd
ICU-10750 Remove obsolete files from source/data/xml
...
X-SVN-Rev: 37188
2015-03-07 16:30:39 +00:00
John Emmons
f3256d9e77
ICU-11555 Integrate CLDR 27 data
...
X-SVN-Rev: 37184
2015-03-07 13:00:24 +00:00
John Emmons
1bf3215b3f
ICU-11555 Integrate CLDR 27 data
...
X-SVN-Rev: 37170
2015-03-06 23:05:45 +00:00
Markus Scherer
dacf87f4de
ICU-11392 sync a little with C++
...
X-SVN-Rev: 37161
2015-03-06 20:55:44 +00:00
Yoshito Umaoka
0ac0d23f9a
ICU-11565 ICU4J version number to 55.1
...
X-SVN-Rev: 37158
2015-03-06 20:21:01 +00:00
Markus Scherer
c65fdec5e2
ICU-11392 make readLine() easier to use
...
X-SVN-Rev: 37157
2015-03-06 19:46:43 +00:00
Yoshito Umaoka
a2a9fba351
ICU-11532 Fixed a minor JavaDoc comment problem found during code review. The warning is gone now.
...
X-SVN-Rev: 37154
2015-03-06 04:11:24 +00:00
Markus Scherer
9f30cd935f
ICU-11265 T not A for generic Appendable type name
...
X-SVN-Rev: 37153
2015-03-06 03:45:03 +00:00
Peter Edberg
85f525d004
ICU-9043 Using 'r' to avoid ambiguity in Chinese cal date parsing, re-enable test
...
X-SVN-Rev: 37142
2015-03-05 05:07:29 +00:00
Peter Edberg
f28e3cf98b
ICU-10936 J umalqura: Speedup for IslamicCalendar.yearStart, add conversion accuracy tests
...
X-SVN-Rev: 37141
2015-03-05 04:10:35 +00:00
Markus Scherer
980e3f32de
ICU-11562 improve script code API docs
...
X-SVN-Rev: 37136
2015-03-04 22:24:12 +00:00
Scott Russell
5f81c8793b
ICU-10426 rename IslamicCalendar#setType() to IslamicCalendar#setCalculationType()
...
X-SVN-Rev: 37134
2015-03-04 22:16:24 +00:00
Peter Edberg
cf6c574be4
ICU-11565 J: Update copyright year for ICU/Unicode licenses, linkify tzdb references
...
X-SVN-Rev: 37132
2015-03-04 21:56:36 +00:00
Markus Scherer
9c9d176d56
ICU-11500 test framework: always print both exception message and stack trace
...
X-SVN-Rev: 37130
2015-03-04 20:05:26 +00:00
Fredrik Roubert
617841ff20
ICU-11395 Add @SuppressWarnings for parameterized vararg warnings.
...
R=yoshito_umaoka@us.ibm.com
Review URL: https://codereview.appspot.com/203450043
X-SVN-Rev: 37129
2015-03-04 17:55:34 +00:00
Peter Edberg
8242b3914c
ICU-11019 J: Add Thai words for "browser" and "post" to dictionary
...
X-SVN-Rev: 37127
2015-03-04 07:20:48 +00:00
Peter Edberg
3765b3d130
ICU-11510 J: Support narrow AM/PM "aaaaa" for date format and parse
...
X-SVN-Rev: 37125
2015-03-04 06:27:56 +00:00
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
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
Markus Scherer
ff5daae274
ICU-11444 LocaleData.MeasurementSystem.UK born stable ICU 55
...
X-SVN-Rev: 36882
2014-12-17 21:47:26 +00:00
Markus Scherer
1c447ba174
ICU-11426 make implicit narrowing compound assignment explicit
...
X-SVN-Rev: 36881
2014-12-17 20:27:28 +00:00
Fredrik Roubert
35f08c68e9
ICU-11424 Bugfix: RemoveTransliterator can cause NoClassDefFoundError
...
Make RemoveTransliterator._ID final, to ensure that the compiler
inlines it, so that it won't be null when register() accesses it.
X-SVN-Rev: 36862
2014-12-11 20:26:25 +00:00
Yoshito Umaoka
1477b9b8a2
ICU-11314 Updated a test case for JDK TimeZone test. With JDK TimeZone, ignore the dicrepancy between setRawOffset and getRawOffset.
...
X-SVN-Rev: 36861
2014-12-11 18:58:07 +00:00
Markus Scherer
cf3eb94a4e
ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to CollationKey.merge() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
...
X-SVN-Rev: 36857
2014-12-11 17:17:03 +00:00
Yoshito Umaoka
7ce10f73cf
ICU-11314 Fixed compiler/FindBugs warnings.
...
X-SVN-Rev: 36855
2014-12-11 17:03:23 +00:00
Yoshito Umaoka
bf9e8ef636
ICU-11314 BRS - organize imports
...
X-SVN-Rev: 36854
2014-12-11 16:42:53 +00:00