Commit Graph

1744 Commits

Author SHA1 Message Date
Fredrik Roubert
c12cb80e81 ICU-10944 Add ByteBuffer support for conversion classes.
Updates UConverterDataReader, UConverterAlias and
UConverterAliasDataReader.

R=markus.icu@gmail.com

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

X-SVN-Rev: 36039
2014-07-15 21:01:33 +00:00
Fredrik Roubert
463c0aa318 ICU-10944 Add ByteBuffer support for properties classes.
Updates UBiDiProps, UCaseProps, UCharacterProperty and UPropertyAliases.

R=markus.icu@gmail.com

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

X-SVN-Rev: 36038
2014-07-15 20:55:59 +00:00
Fredrik Roubert
4aea6c889a ICU-10944 Add ByteBuffer support for StringPrep.
Also adds the ICUBinary.getVersionByteArrayFromCompactInt() function.

R=markus.icu@gmail.com

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

X-SVN-Rev: 36037
2014-07-15 20:49:46 +00:00
Fredrik Roubert
ffc1584fe7 ICU-10944 Add ByteBuffer support for BreakIterator.
R=markus.icu@gmail.com

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

X-SVN-Rev: 36036
2014-07-15 20:40:48 +00:00
Fredrik Roubert
f58b3f8fd7 ICU-10944 Add ByteBuffer support for Normalizer2Impl.
R=markus.icu@gmail.com

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

X-SVN-Rev: 36034
2014-07-15 20:32:17 +00:00
Fredrik Roubert
08b5fb11b0 ICU-10944 Extend ByteBuffer support in ICUBinary and Trie classes.
This new functionality is needed for ByteBuffer support in
Normalizer2Impl and BreakIterator.

R=markus.icu@gmail.com

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

X-SVN-Rev: 36033
2014-07-15 20:19:55 +00:00
Fredrik Roubert
73071730b9 ICU-10944 Update ICUBinaryTest to test readHeader(ByteBuffer).
Testing readHeader(InputStream) is no longer of any importance, as the
use of that method is going away.

This also exposes a bug in the test data; the size field was zero.

Also add statement to actually test lenient data version.

R=markus.icu@gmail.com

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

X-SVN-Rev: 36032
2014-07-15 20:11:41 +00:00
Fredrik Roubert
e12467f252 ICU-10944 Delete unused class ICUBinaryStream.
R=markus.icu@gmail.com

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

X-SVN-Rev: 36031
2014-07-15 20:03:25 +00:00
Markus Scherer
61ee3253e8 ICU-10876 document Collator thread-safe only when frozen
X-SVN-Rev: 36022
2014-07-10 22:39:05 +00:00
Markus Scherer
1d533a66e8 ICU-10998 collation reorder others=Zzzz, recognize only others = reset
X-SVN-Rev: 36019
2014-07-09 23:36:43 +00:00
Markus Scherer
38b83477bf ICU-8082 private collation type: do not list as an available keyword value
X-SVN-Rev: 36012
2014-07-08 20:58:58 +00:00
Markus Scherer
aace462c2e ICU-8962 test collation import from und=root
X-SVN-Rev: 36010
2014-07-08 01:21:57 +00:00
Mark Davis
ff4dcfc31d ICU-10560 fix test
X-SVN-Rev: 35999
2014-07-04 16:27:32 +00:00
Mark Davis
1d11db8a35 ICU-10560 first cut, marked @internal for now
X-SVN-Rev: 35998
2014-07-04 15:48:06 +00:00
Mark Davis
adc2570f18 ICU-10600 add plural ranges and unit formatting
X-SVN-Rev: 35997
2014-07-03 13:16:30 +00:00
Andy Heninger
a0e8aa8bc9 ICU-10908 LocaleDisplayNames thread safety fix.
X-SVN-Rev: 35988
2014-07-02 22:19:59 +00:00
Yoshito Umaoka
1bbadfe835 ICU-10843 Fixed a collation test failure. It was caused by the lack of LocaleDisplayNamesImpl when the test is executed with a collation module jar.
X-SVN-Rev: 35971
2014-07-01 15:41:35 +00:00
Yoshito Umaoka
4ad6bfe991 ICU-10945 Test log might be emitted through AbstractTestLog, which was missed in the previous change.
X-SVN-Rev: 35966
2014-06-30 16:54:21 +00:00
Yoshito Umaoka
71fe3d234a ICU-10843 Fixed a couple of coding problems detected by FindBugs.
X-SVN-Rev: 35964
2014-06-27 20:14:41 +00:00
Yoshito Umaoka
2cf3edae51 ICU-10843 Updated Unicode license format, extracted the body part only.
X-SVN-Rev: 35962
2014-06-27 17:48:21 +00:00
Tom Zhang
925dd94560 ICU-10945 remove duplicate warning
X-SVN-Rev: 35960
2014-06-27 16:41:01 +00:00
Markus Scherer
df08e453dc ICU-10940 make ICUResourceBundleImpl smaller, remove lookup cache in favor of newer Reader cache, reduce object creation while finding resources and especially strings with fallback
X-SVN-Rev: 35936
2014-06-24 20:34:12 +00:00
Yoshito Umaoka
30dc6d9bbb ICU-10836 Added missing Locale version APIs and test cases for various classes.
X-SVN-Rev: 35924
2014-06-23 21:36:55 +00:00
Michael Ow
dda7e63991 ICU-10898 tzdata 2014e to ICU4J
X-SVN-Rev: 35893
2014-06-17 18:27:11 +00:00
Travis Keep
aee512a8ee ICU-10837 Fix broken build.
X-SVN-Rev: 35879
2014-06-13 23:23:36 +00:00
Travis Keep
04804b878f ICU-10837 Andy & Mark's review.
X-SVN-Rev: 35878
2014-06-13 20:18:57 +00:00
Scott Russell
4b919b3de0 ICU-10906 prevent SimpleDateFormat from trying to parse when ParsePosition is less than 0
X-SVN-Rev: 35875
2014-06-13 14:38:00 +00:00
Travis Keep
f14d920769 ICU-10916 Add abbreviations to relative date time formatting for JAVA.
X-SVN-Rev: 35868
2014-06-12 17:41:31 +00:00
Tom Zhang
7b4715d750 ICU-10945 Enhance TestFmwk output with file location
X-SVN-Rev: 35864
2014-06-11 21:27:25 +00:00
Tom Zhang
2330004e12 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35853
2014-06-10 18:48:49 +00:00
Markus Scherer
2d4d56185f ICU-10821 UCD 7.0 final data
X-SVN-Rev: 35850
2014-06-10 17:40:02 +00:00
Yoshito Umaoka
88750addb2 ICU-10344 Reverted previous change (r35833) and back to the original (r35820).
X-SVN-Rev: 35840
2014-06-09 21:32:49 +00:00
Tom Zhang
c90efd6e59 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35833
2014-06-09 19:30:22 +00:00
Yoshito Umaoka
a5980e0cbe ICU-9667 Removed a couple of paraLevel value assignment statements that have no effects, based on IBM Egypt team's suggestion.
X-SVN-Rev: 35820
2014-06-06 21:40:23 +00:00
Markus Scherer
b3a6ea1fa3 ICU-10932 merge branches/markus/lowmemres to trunk: use ByteBuffer to read .res files; allocate fewer/smaller objects; ResourceCache maps from resource int to immutable object; getString(key or index) avoid creating ICUResourceBundleImpl per string in many cases
X-SVN-Rev: 35815
2014-06-06 20:52:10 +00:00
Yoshito Umaoka
8b8551e5e6 ICU-10796 Runtime binding of LocaleDisplayNamesImpl. Refactored some methods in other classes to prevent undesired cross components dependencies.
X-SVN-Rev: 35805
2014-06-04 19:23:03 +00:00
Yoshito Umaoka
fc2b496c59 ICU-10937 A quick test patch - just moving the test data date. We may revise the fix later.
X-SVN-Rev: 35804
2014-06-04 16:38:57 +00:00
Travis Keep
7d94eb12a3 ICU-10778 Created procedure for updating generated code for MeasureUnit for C/J with each new release.
X-SVN-Rev: 35798
2014-06-02 22:55:19 +00:00
Markus Scherer
eee3938658 ICU-7057 InputStream.read() does not always read all .available() bytes
X-SVN-Rev: 35790
2014-06-02 16:52:13 +00:00
Markus Scherer
e91fd1e88e ICU-7057 bug fix: make it actually work when assertions are disabled, tested without -ea
X-SVN-Rev: 35789
2014-06-02 15:32:42 +00:00
Markus Scherer
98772b58a6 ICU-7057 bug fix: make it work when assertions are disabled
X-SVN-Rev: 35788
2014-06-02 14:08:57 +00:00
Markus Scherer
3cd4f31513 ICU-7057 make ICU4J CollationDataReader work directly with ByteBuffer rather than DataInputStream
X-SVN-Rev: 35786
2014-06-01 00:15:06 +00:00
Travis Keep
30429385f0 ICU-10778 Add test to ensure that MeasureUnit is backward compatible with ICU 53.1
X-SVN-Rev: 35785
2014-05-30 21:51:57 +00:00
Yoshito Umaoka
b5aa742648 ICU-10918 Moved the code reading an ICU configuration property out of DecimalFormat#subparse to static initializer. The configuration is no longer dynamic, so the corresponding test case was also updated.
X-SVN-Rev: 35773
2014-05-30 14:27:29 +00:00
Yoshito Umaoka
56d72817df ICU-8260 Unnecessary import statement left in the previous commit.. updating.
X-SVN-Rev: 35772
2014-05-29 21:47:33 +00:00
Yoshito Umaoka
821b9fdbb2 ICU-8260 Fixed a build problem on Java 5.
X-SVN-Rev: 35771
2014-05-29 21:03:46 +00:00
Markus Scherer
8ba8b4acd4 ICU-8260 support collation-related keywords via Collator base class if available
X-SVN-Rev: 35768
2014-05-29 00:13:50 +00:00
Markus Scherer
5918fef551 ICU-8260 support all collation-related keywords in Collator.getInstance()
X-SVN-Rev: 35767
2014-05-28 23:15:01 +00:00
Michael Ow
650ab573ea ICU-10709 Update ibm-1375 table in ICU4J
X-SVN-Rev: 35764
2014-05-28 20:30:06 +00:00
Michael Ow
c283beec97 ICU-10863 Update EUCTW mapping in ICU4J
X-SVN-Rev: 35756
2014-05-23 20:27:40 +00:00