Commit Graph

1927 Commits

Author SHA1 Message Date
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
John Emmons
d8e5b70769 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36851
2014-12-11 16:16:10 +00:00
Markus Scherer
9dec69dd5f ICU-11357 add constant for UK measurement system
X-SVN-Rev: 36845
2014-12-10 21:32:13 +00:00
Yoshito Umaoka
22ec77242f ICU-11415 Fixed a locale display name issue with a currency keyword.
X-SVN-Rev: 36840
2014-12-10 09:08:03 +00:00
Travis Keep
073e9eeb6f ICU-10569 Add test to verify that equals and hashCode on Measure work correctly.
X-SVN-Rev: 36838
2014-12-10 00:43:17 +00:00
Travis Keep
c2a0ee6531 ICU-10438 Document that JAVA Duration RuleBasedNumberFormat always rounds down.
X-SVN-Rev: 36837
2014-12-09 23:58:32 +00:00
Travis Keep
adb019d0c8 ICU-10958 Update URL to instructions for updating generated code in MeasureUnit.java
X-SVN-Rev: 36832
2014-12-09 21:13:59 +00:00
Travis Keep
21b7a7e13d ICU-11383 Remove ScientificFormatHelper JAVA
X-SVN-Rev: 36825
2014-12-08 23:22:14 +00:00
Markus Scherer
ba2a065004 ICU-10823 ICUResourceBundle add & support enum OpenType, use OpenType.LOCALE_ROOT for Collator & BreakIterator, also change default locale to root for those services
X-SVN-Rev: 36818
2014-12-08 17:54:11 +00:00
Yoshito Umaoka
5d46e56bbd ICU-11411 Fixed problematic hardcoded JDK Locale mapping for ULocale Chinese constants.
X-SVN-Rev: 36814
2014-12-05 23:48:28 +00:00
Yoshito Umaoka
a2581f458c ICU-11363 Thread#join() to the main test thread after start.
X-SVN-Rev: 36802
2014-12-02 23:08:38 +00:00
Markus Scherer
f037dbecdd ICU-11388 fix bug in CollationFastLatinBuilder
X-SVN-Rev: 36781
2014-11-30 19:55:58 +00:00
Yoshito Umaoka
056f2f768c ICU-11315 Merging metazone mapping data fix for Russian zones from cldrbug:8041.
X-SVN-Rev: 36780
2014-11-25 21:27:17 +00:00
Markus Scherer
057a400689 ICU-8477 deprecate IDNA2003 API
X-SVN-Rev: 36751
2014-11-19 00:53:11 +00:00
Travis Keep
3d480f30a9 ICU-10275 Remove hardcoded fallback logic in J ListFormatter
X-SVN-Rev: 36750
2014-11-18 22:12:41 +00:00
Travis Keep
83db643252 ICU-10952 Add JAVA ScientificNumberFormatter class.
X-SVN-Rev: 36749
2014-11-18 19:22:33 +00:00
Markus Scherer
8dc1c4d704 ICU-11375 ICU root collation: remove Cyrillic contractions
X-SVN-Rev: 36736
2014-11-17 00:42:16 +00:00
Yoshito Umaoka
a554fd430a ICU-11363 Updated SimpleDateFormat clone implementation to create a copy of an array used for numeric field formatting.
X-SVN-Rev: 36729
2014-11-13 18:50:44 +00:00
Yoshito Umaoka
d6ccf6dab0 ICU-11315 tzdata2014j updates in ICU4J.
X-SVN-Rev: 36719
2014-11-11 19:08:49 +00:00
Yoshito Umaoka
b92612d82b ICU-11315 tzdata2014i updates in ICU4J.
X-SVN-Rev: 36692
2014-10-24 05:17:30 +00:00
Yoshito Umaoka
042d89895c ICU-11343 Fixed a deadlock problem in the TimeZone static initializer code.
X-SVN-Rev: 36688
2014-10-23 07:28:44 +00:00
Markus Scherer
a3e0dc1530 ICU-11342 cast CharBuffer to CharSequence before calling .subSequence()
X-SVN-Rev: 36682
2014-10-20 21:08:42 +00:00
Markus Scherer
299f24790f ICU-11341 better ICUBinary.getByteBufferFromInputStream(): minimize number of memory allocations, allocate available() bytes on good JDK, do not rely on available() for finding the end of the stream
X-SVN-Rev: 36681
2014-10-20 20:45:22 +00:00