Commit Graph

7016 Commits

Author SHA1 Message Date
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
Yoshito Umaoka
857568446e ICU-11314 Update ICU4J API change report for 55m1.
X-SVN-Rev: 36870
2014-12-15 19:19:22 +00:00
Yoshito Umaoka
21dfe930f9 ICU-11314 BRS - minor updates in readme.
X-SVN-Rev: 36863
2014-12-11 22:04:19 +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
Andy Heninger
5757929922 ICU-11245 Minor cleanup of RBBI Line Monkey test.
X-SVN-Rev: 36670
2014-10-10 18:18:31 +00:00
Yoshito Umaoka
1c69528a4e ICU-11314 Updated the maven repository location to use https.
X-SVN-Rev: 36668
2014-10-09 23:24:58 +00:00
Andy Heninger
44d9a9692b ICU-11245 RBBI Line monkey test, add dictionary character exclusion, renable excluded test.
X-SVN-Rev: 36666
2014-10-09 23:19:21 +00:00
Yoshito Umaoka
7fd935bf5e ICU-11314 Updated ICU4J trunk version to 55m1.
X-SVN-Rev: 36656
2014-10-09 15:25:12 +00:00
Yoshito Umaoka
d376112155 ICU-11326 Updated build scripts to use bootclasspath option when compiling ICU4J library classes. Also updated build.xml to print out warning message when build environment is not properly configured for release.
X-SVN-Rev: 36655
2014-10-09 07:28:33 +00:00
Steven R. Loomis
b39fb3766a ICU-11310 fix Easter holiday
Easter had a simple logic error. 
Also fix the test cases to hit the error.
Also fix the HolidayCalendarDemo to assert an issue if the error shows up
Also fix the copyright string to be dynamic.

X-SVN-Rev: 36654
2014-10-09 05:19:18 +00:00
Yoshito Umaoka
a8df1d60b6 ICU-11315 Windows zone 2014 update 7 (cldrbug:7959)
X-SVN-Rev: 36646
2014-10-07 14:03:52 +00:00
Mark Davis
49f7b06a91 ICU-10565 Fixed javadoc with warning.
X-SVN-Rev: 36631
2014-10-03 07:24:58 +00:00
Yoshito Umaoka
a934a2fcba ICU-11307 A minor fix in Calendar's class doc.
X-SVN-Rev: 36619
2014-10-01 18:51:22 +00:00
Yoshito Umaoka
1af023c229 ICU-11279 Updated ICU4J readme for 54.1.
X-SVN-Rev: 36599
2014-09-26 23:26:59 +00:00
Yoshito Umaoka
339f14fbd6 ICU-10898 tzdata2014h updates in ICU4J
X-SVN-Rev: 36593
2014-09-26 20:09:51 +00:00
Yoshito Umaoka
80ab82d283 ICU-11279 Copied the updated license.html from the C trunk.
X-SVN-Rev: 36580
2014-09-25 04:29:06 +00:00
Peter Edberg
30920d9cd9 ICU-10809 Update SimpleDateFormat class doc examples for Sept and Tues, other table updates and note (J)
X-SVN-Rev: 36566
2014-09-23 21:26:54 +00:00
Matitiahu Allouche
435efa6541 ICU-11100 fix crash happening when there are many nested matching isolates occurring in more than one paragraph.
Also change terminology from xxx_SIZE to xxx_COUNT to stay in tune with ICU4C.

X-SVN-Rev: 36560
2014-09-22 20:13:08 +00:00
Andy Heninger
050f986b4a ICU-11262 Spoof check data refresh (ICU4J).
X-SVN-Rev: 36554
2014-09-17 23:41:32 +00:00
Yoshito Umaoka
b4e8178eed ICU-10993 Updated ICU4J readme
X-SVN-Rev: 36530
2014-09-16 20:38:03 +00:00
Yoshito Umaoka
9d59d49145 ICU-10993 Regenerated API signature files/change report to make sure the API status promotion fixes are properly reflected.
X-SVN-Rev: 36529
2014-09-16 19:22:20 +00:00
Yoshito Umaoka
95e0154c8c ICU-10993 Fixed a build script problem in transliterator component module.
X-SVN-Rev: 36527
2014-09-16 17:40:55 +00:00
Scott Russell
4b2c562718 ICU-11243 correct promotion releases
X-SVN-Rev: 36526
2014-09-16 15:14:05 +00:00
Yoshito Umaoka
f0ff703aa8 ICU-10993 Added ICU4J 54 serializable test data.
X-SVN-Rev: 36525
2014-09-16 09:12:35 +00:00
Yoshito Umaoka
0a5447bf67 ICU-10993 Added ICU4J 54 API signature file.
X-SVN-Rev: 36524
2014-09-16 08:43:29 +00:00
Yoshito Umaoka
18380243d0 ICU-10993 Synchronized ICU4J data with ICU4C trunk data (r36522).
X-SVN-Rev: 36523
2014-09-16 08:35:07 +00:00
Yoshito Umaoka
e43205c2e6 ICU-10993 Regenerated APIChangeReport.html (only header/footer had changed)
X-SVN-Rev: 36522
2014-09-16 08:28:13 +00:00
Markus Scherer
5540d3abde ICU-10999 mark formatMeasuresPer() as Technology preview
X-SVN-Rev: 36519
2014-09-16 06:13:11 +00:00
Scott Russell
73c9cfdcb4 ICU-11243 ICU4J 54 API status promotion
X-SVN-Rev: 36515
2014-09-15 21:48:00 +00:00
Markus Scherer
076242b224 ICU-9131 fix a few more annotation & API docs issues
X-SVN-Rev: 36512
2014-09-15 20:18:49 +00:00
Michael Ow
cc637f84bd ICU-10551 Fix the error message print out of code points
X-SVN-Rev: 36509
2014-09-15 19:05:34 +00:00
Michael Ow
cd0b3fa10b ICU-10551 Fix default ignorable test result checking
X-SVN-Rev: 36508
2014-09-15 19:03:14 +00:00
Markus Scherer
954cbf1712 ICU-10560 more doc links for day constants
X-SVN-Rev: 36506
2014-09-15 18:19:21 +00:00
Yoshito Umaoka
bebdcfcc40 ICU-10993 Clean up import statements.
X-SVN-Rev: 36504
2014-09-15 17:32:08 +00:00
Scott Russell
6a0ce1cf73 ICU-10993 enhance environment checking in eclipse plug-in script
X-SVN-Rev: 36503
2014-09-15 16:57:33 +00:00
Yoshito Umaoka
4426b0e313 ICU-11257 Fix a ChineseCalendar constructor problem.
X-SVN-Rev: 36502
2014-09-15 04:06:31 +00:00
Mark Davis
d5c8fa0e9f ICU-9131 Final batch of changes for review comments.
X-SVN-Rev: 36501
2014-09-14 10:06:23 +00:00
Mark Davis
1d5dbc0af9 ICU-9131 First batch of fixes for review comments. More to come.
X-SVN-Rev: 36500
2014-09-13 12:08:00 +00:00
Mark Davis
cea11c1786 ICU-10560 Fixed link format
X-SVN-Rev: 36499
2014-09-13 09:13:33 +00:00
Mark Davis
794940cafe ICU-10600 update comments for review
X-SVN-Rev: 36498
2014-09-13 09:10:07 +00:00
Mark Davis
2af192e6c6 ICU-10560 Fixes to comments for review.
X-SVN-Rev: 36497
2014-09-13 09:01:05 +00:00
Mark Davis
c37851c95d ICU-9795 Fixed to throw different exception, and added test.
X-SVN-Rev: 36496
2014-09-13 08:25:46 +00:00
Travis Keep
747da3e356 ICU-10999 Mark Davis' review comments.
X-SVN-Rev: 36487
2014-09-12 18:17:11 +00:00
Yoshito Umaoka
78d280f9f4 ICU-10993 Removed @stable from a non-public API.
X-SVN-Rev: 36486
2014-09-12 17:21:39 +00:00
John Emmons
c900a96dd0 ICU-11251 Last minute CLDR data changes
X-SVN-Rev: 36476
2014-09-11 22:25:26 +00:00
Yoshito Umaoka
3415c2e9ca ICU-10993 Fix @provisional tags.
X-SVN-Rev: 36472
2014-09-11 19:44:19 +00:00
Travis Keep
8000374854 ICU-11009 Apply andy's code review comments.
X-SVN-Rev: 36471
2014-09-11 19:36:36 +00:00
Travis Keep
02f78e8bbb ICU-11250 Add test for SimplePatternFormatter.getPatternWithNoPlaceholders.
X-SVN-Rev: 36465
2014-09-11 17:31:56 +00:00
Travis Keep
b2d06e91fc ICU-10999 Add JAVA version of per unit measure formatting.
X-SVN-Rev: 36464
2014-09-11 17:06:37 +00:00
John Emmons
ed2e40fb1a ICU-11092 Split out units data into a separate tree
X-SVN-Rev: 36459
2014-09-11 10:17:49 +00:00
Michael Ow
1a2ae33299 ICU-10551 Update test to check non-ignorable codepoints and fix comments
X-SVN-Rev: 36444
2014-09-10 23:24:50 +00:00
Scott Russell
b6bfbcce5b ICU-10993 BRS: ensure correct line-endings and svn property
X-SVN-Rev: 36437
2014-09-10 18:50:09 +00:00
Yoshito Umaoka
509d9757b0 ICU-8951 Feedback from Markus's review - fixed regex pattern for legacy key, and one typo in comment.
X-SVN-Rev: 36435
2014-09-10 18:33:12 +00:00
Markus Scherer
c2484b0620 ICU-7118 minor doc fixes
X-SVN-Rev: 36413
2014-09-09 22:03:48 +00:00