Commit Graph

772 Commits

Author SHA1 Message Date
Mark Davis
b939f21291 ICU-10173 fix test to show bug.
X-SVN-Rev: 33748
2013-05-24 08:58:43 +00:00
Peter Edberg
724cb16c28 ICU-10186 Need special numeric era format/parse for dangi too (J)
X-SVN-Rev: 33735
2013-05-23 02:00:04 +00:00
Yoshito Umaoka
7f9645615a ICU-10170 Added a test case. The bug in the library code was already fixed by r33671.
X-SVN-Rev: 33731
2013-05-22 21:04:44 +00:00
Yoshito Umaoka
c7d2a18170 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33727
2013-05-22 20:34:10 +00:00
Markus Scherer
ef9809ac71 ICU-10128 new BidiTest.txt with test data for more than 63 levels
X-SVN-Rev: 33691
2013-05-20 18:55:39 +00:00
Peter Edberg
c00f2b4327 ICU-10120 Add test for katakana + extend (J)
X-SVN-Rev: 33684
2013-05-20 00:39:07 +00:00
Peter Edberg
65ace5b6f4 ICU-10120 Copy fix #9983 (for word ubrk_previous infinite loop) to word_POSIX too (J)
X-SVN-Rev: 33683
2013-05-19 07:03:23 +00:00
Yoshito Umaoka
f3077f748f ICU-9931 Fixed rounding related problems in ICU4J DecimalFormat. Provided generic test case code for rounding behavior.
X-SVN-Rev: 33671
2013-05-16 22:25:42 +00:00
Scott Russell
68f770cd8a ICU-10110 handle non-String objects to prevent class cast exception in SimpleDateFormat.parse()
X-SVN-Rev: 33669
2013-05-16 15:51:43 +00:00
Markus Scherer
54eb776527 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33585)
X-SVN-Rev: 33663
2013-05-15 22:16:48 +00:00
Mark Davis
9469a6c1be ICU-8474 Updated the plural rules factory to match CLDR; took a first pass at modifying NumberFormat to get the right information out for plural select with fractions.
X-SVN-Rev: 33649
2013-05-14 12:32:16 +00:00
Travis Keep
2469052770 ICU-10069 Take into account compatible currency symbols, e.g half-width and full-width yen symbol, when parsing currencies. Currency symbol equivalence relation hard-coded in Currency class for now.
X-SVN-Rev: 33616
2013-05-08 23:46:30 +00:00
Michael Ow
a94b29c5a2 ICU-10084 Update version to 52.0.1
X-SVN-Rev: 33608
2013-05-08 01:38:44 +00:00
Travis Keep
e78cb5b4b0 ICU-10026 Fix DecimalFormat to handle variation of minus signs according to Mark Davis' suggestions.
X-SVN-Rev: 33605
2013-05-07 20:06:58 +00:00
George Rhoten
c55b3819a6 ICU-10136 Do not throw an exception when requesting the quotes for fr_CA. It should fallback to data from fr.
X-SVN-Rev: 33568
2013-05-01 21:37:14 +00:00
Yoshito Umaoka
766add67f0 ICU-9104 Updated CollationElementIterator API spec not to support changing the iteration direction without reset. Added a field tracking the iteration direction and trigger assertion when a caller violates the restriction (only when Java assertion is enabled).
X-SVN-Rev: 33549
2013-04-25 20:15:50 +00:00
Mark Davis
c418174fff ICU-8474 tweak for farsi
X-SVN-Rev: 33545
2013-04-23 15:17:51 +00:00
Mark Davis
6c0747cd6c ICU-8474 refactor to make it easier to copy to CLDR.
X-SVN-Rev: 33544
2013-04-23 12:32:37 +00:00
Yoshito Umaoka
10f1e3259e ICU-10097 Replace ICURWLock implementation with JDK's ReentrantReadWriteLock. At the same time, disabled the stats collection (never used by ICU library consumers) by default.
X-SVN-Rev: 33543
2013-04-22 21:04:37 +00:00
Mark Davis
4524c8c33d ICU-8474 tuned portuguese, bengali, latvian, romanian, zulu
X-SVN-Rev: 33541
2013-04-22 14:49:51 +00:00
Mark Davis
297e433797 ICU-8474 fixes for serialization, which included change to equals
X-SVN-Rev: 33528
2013-04-15 06:19:53 +00:00
Yoshito Umaoka
a1d5c9a04e ICU-10080 Removed the old serializable test data except 3.6.
X-SVN-Rev: 33519
2013-04-12 18:04:23 +00:00
Yoshito Umaoka
e255e7d747 ICU-8957 Fixed issues detected by FindBugs in ICU library code except #9667 and #10097. Added FindBugs exclusion filter files in ICU4J library project directories.
X-SVN-Rev: 33516
2013-04-12 15:31:31 +00:00
Yoshito Umaoka
5fbc363972 ICU-9743 Logging known issues with ticket information, instead of timebomb.
X-SVN-Rev: 33503
2013-04-10 08:15:11 +00:00
Mark Davis
aa08affb3c ICU-8474 fix serbian, revamp rules to generate smarter samples
X-SVN-Rev: 33502
2013-04-09 13:43:13 +00:00
Mark Davis
9c66e7e083 ICU-8474 correct isEmpty()
X-SVN-Rev: 33501
2013-04-09 09:04:45 +00:00
Mark Davis
74c81065f6 ICU-8474 updates to fix new rules, separate out test generation class, factory class, change toString() to roundtrip, etc.
X-SVN-Rev: 33499
2013-04-08 14:11:49 +00:00
Travis Keep
d8a9e311a3 ICU-10017 Git rid of special code in TimePeriod that copies non-immutable Number types. Add comments explaining that Number objects need to be immutable. Add unit test for TestPeriod.equals/hashCode. In JAVA implementation remove extra boolean flag for numeric and treat NUMERIC as a full fledged style as much as possible.
X-SVN-Rev: 33490
2013-04-03 22:05:00 +00:00
Travis Keep
c0ac428d94 ICU-10067 Add getLocale() and createPatternForNumItems() to ListFormatter.
X-SVN-Rev: 33488
2013-04-03 20:42:55 +00:00
Travis Keep
5dfe1df049 ICU-10063 Change ListFormatter.format() method to take a Collection<?> instead of a Collection<Object>
X-SVN-Rev: 33480
2013-03-29 22:23:24 +00:00
Travis Keep
cfd8e84278 ICU-10017 Correctly handle all types of Number fields in TimePeriod.
X-SVN-Rev: 33479
2013-03-29 21:43:18 +00:00
Travis Keep
3652768a72 ICU-10017 Add test to insure that TimePeriod.forAmounts() throws IllegalArgumentException when necessary.
X-SVN-Rev: 33476
2013-03-28 22:51:46 +00:00
Travis Keep
3af99923b3 ICU-10017 Add test for formatPeriod for numeric style and for TimePeriods with just a single field.
X-SVN-Rev: 33475
2013-03-28 22:25:47 +00:00
Travis Keep
eab9da1176 ICU-10017 Add test for TimeUnitFormat.formatPeriod for english using full name style.
X-SVN-Rev: 33473
2013-03-28 20:35:26 +00:00
Travis Keep
b35aa4dcf7 ICU-10017 Add API specification for composition of time periods for ICU4J into code.
X-SVN-Rev: 33471
2013-03-28 17:38:18 +00:00
Mark Davis
d3f8a3c777 ICU-8474 enhanced syntax
X-SVN-Rev: 33465
2013-03-27 13:57:35 +00:00
Travis Keep
d2f57f1ad3 ICU-10026 Make Numberformat.parse() even more lenient by allowing 7 alternates for plus and minus when parsing Not just ascii plus and minus.
X-SVN-Rev: 33462
2013-03-26 23:51:41 +00:00
Travis Keep
46a99dae07 ICU-10026 Make Numberformat.parse() method accept ascii plus and minus in addition to native plus and minus of locale for ICU4J.
X-SVN-Rev: 33461
2013-03-26 23:03:44 +00:00
Travis Keep
b33cab0a51 ICU-9914 DateIntervalFormat to handle 2 year vs. 4 year formats in ICU4J.
X-SVN-Rev: 33447
2013-03-21 16:43:17 +00:00
Yoshito Umaoka
854ebcb796 ICU-9732 Update tzdata in ICU4J to 2013a
X-SVN-Rev: 33390
2013-03-07 02:58:25 +00:00
Andy Heninger
d96dda209d ICU-9983 Fixes for RBBITest failure.
X-SVN-Rev: 33378
2013-03-05 21:43:19 +00:00
Yoshito Umaoka
25217115c1 ICU-9722 Added ICU4J 51.1 serializable test data.
X-SVN-Rev: 33373
2013-03-05 05:35:36 +00:00
Yoshito Umaoka
caed1f5d69 ICU-9722 Synchronize test data version with ICU4C.
X-SVN-Rev: 33364
2013-03-04 19:53:50 +00:00
Peter Edberg
3451781673 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (J)
X-SVN-Rev: 33359
2013-03-04 11:09:41 +00:00
John Emmons
404b8bb992 ICU-9890 Merge CLDR23 data
X-SVN-Rev: 33354
2013-03-03 21:17:08 +00:00
Yoshito Umaoka
ee4e9d25ce ICU-9987 Fixed getWithFallback problem with a resource path including alias table. The issue with multiple getWithFallback calls will be tracked by #9964. This fix resolved the date format issue with Dangi calendar in English locale. It also fixed a part of problems reported by #9952.
X-SVN-Rev: 33353
2013-03-02 00:22:00 +00:00
Yoshito Umaoka
ab0e59301c ICU-9722 Fixed some test case issues when JDK TimeZone implementation is used (mostly, skipping cases - not really a bug).
X-SVN-Rev: 33335
2013-02-26 22:53:58 +00:00
Yoshito Umaoka
0a9b3e4833 ICU-9722 Updated the ICU4J version from 51.0.1 to 51.1 for RC. Moved timebombs.
X-SVN-Rev: 33323
2013-02-25 21:52:23 +00:00
Peter Edberg
853ab6e632 ICU-9925 Remove no-longer-necessary version-check test skip added in r33195
X-SVN-Rev: 33316
2013-02-24 22:05:03 +00:00
Markus Scherer
e550589f9f ICU-9929 fix RuleBasedCollator initialization of reorder codes (must go after init()), sync coll/zh.res with ICU4C including native-script-first reordering
X-SVN-Rev: 33309
2013-02-22 23:43:17 +00:00
Andy Heninger
339177ed3e ICU-9077 Missed checkin plus review comments on RBBI test data.
X-SVN-Rev: 33301
2013-02-22 02:32:40 +00:00
Yoshito Umaoka
9478c8e14f ICU-9722 Fixed java compiler and javadoc warnings.
X-SVN-Rev: 33293
2013-02-21 20:58:42 +00:00
Peter Edberg
9450ae0f61 ICU-9925 Pick up the non-gregorian date format fixes from CLDR 8218 (J)
X-SVN-Rev: 33272
2013-02-19 19:51:20 +00:00
Markus Scherer
144dd74c8e ICU-9538 fix C++-isms in the test
X-SVN-Rev: 33262
2013-02-17 23:41:48 +00:00
Markus Scherer
16795b49be ICU-9538 add script metadata properties API
X-SVN-Rev: 33260
2013-02-17 23:24:36 +00:00
Peter Edberg
e0488a1ab8 ICU-9497 Add support for short(er) weekday names: format, parse, get/set symbols (J)
X-SVN-Rev: 33256
2013-02-17 17:14:10 +00:00
Andy Heninger
ba77e6d28b ICU-9077 Enhanced rbbi/RBBITest/TestExtended in ICU4J. Includes data refresh from ICU4C to pick up revised Character break rules.
X-SVN-Rev: 33251
2013-02-16 00:41:28 +00:00
Peter Edberg
9a171c895a ICU-9925 CLDR 23 pre-integration part 3, batch 3 (J)
X-SVN-Rev: 33216
2013-02-14 09:47:03 +00:00
Peter Edberg
258a1ad9b0 ICU-9925 CLDR 23 pre-integration part 3, batch 2 (J)
X-SVN-Rev: 33201
2013-02-13 13:12:16 +00:00
Andy Heninger
4f59ab84cc ICU-9657 Thread safety fix in charset detector.
X-SVN-Rev: 33199
2013-02-12 23:11:58 +00:00
Peter Edberg
a15e0c2990 ICU-9925 CLDR 23 pre-integration part 3, batch 1 (J)
X-SVN-Rev: 33195
2013-02-12 20:45:06 +00:00
Travis Keep
ca88f9ccba ICU-9919 DateIntervalFormat instances with custom DateIntervalInfo instances should not use the cache to populate themselves.
X-SVN-Rev: 33178
2013-02-12 01:00:40 +00:00
Andy Heninger
5f066fb106 ICU-9440 SpoofChecker, sync ICU4J with ICU4C.
X-SVN-Rev: 33177
2013-02-12 00:44:39 +00:00
Travis Keep
dd9bf9ba48 ICU-9922 Fix DateIntervalInfo.setIntervalPattern so that it affects just the current instance instead of affecting all instances for a locale.
X-SVN-Rev: 33176
2013-02-11 23:45:43 +00:00
Yoshito Umaoka
98dafe28a3 ICU-9867 New time zone pattern letters/types spport for CLDR 23/ICU 51.
X-SVN-Rev: 33157
2013-02-10 17:26:01 +00:00
Andy Heninger
f18976290a ICU-9842 Alphabetic Index constructor with collator, ICU4J
X-SVN-Rev: 33146
2013-02-08 23:35:46 +00:00
Peter Edberg
19f17de6db ICU-9876 Pre-integrate some CLDR 23 additions/changes (J), part 2c through CLDR r8106
X-SVN-Rev: 33117
2013-02-03 19:04:54 +00:00
Markus Scherer
720b27098e ICU-9880 for CJK enumerate FDD0 contractions to replace hardcoded lists, adds support for zhuyin too; fix firstCharsInScripts for CJK to replace UScript-based hacks; simplify initLabels() code; fix initBuckets() for underflow label as the only one; make test for multiple primaries work with alternate=shifted; fix en_US_POSIX
X-SVN-Rev: 33112
2013-02-02 00:14:26 +00:00
Markus Scherer
919db4268e ICU-9880 add ImmutableIndex, overflow bucket always has non-null lowerBoundary, handle index characters with multiple primary weights, reject ignorable and unassigned index characters, lazy-create rarely-used objects, bug fixes, remove some obsolete commented-out code
X-SVN-Rev: 33105
2013-01-31 23:00:27 +00:00
Peter Edberg
740c626f66 ICU-9876 Pre-integrate some CLDR 23 additions/changes, part 2 (J)
X-SVN-Rev: 33075
2013-01-26 00:14:50 +00:00
Yoshito Umaoka
68d9cedfa8 ICU-9839 Added TestEnglishExemplarCharacter which was added in ICU4C with this ticket. No API/library code change in ICU4J, because punctuation exemplar is already supported.
X-SVN-Rev: 33063
2013-01-18 16:57:09 +00:00
Jennifer Chye
ff799e6446 ICU-9843 Remove testing of default from ICUResourceBundleTest/TestGetWithFallback
X-SVN-Rev: 33058
2013-01-16 22:42:08 +00:00
Travis Keep
3eafd4cf29 ICU-9508 Uncomment old CurrencyInfo constructor. Add test confirming its presence.
X-SVN-Rev: 33057
2013-01-16 21:22:11 +00:00
Peter Edberg
df1a9a0469 ICU-9781 Parsing fractional seconds should truncate (not round) to 3 places (J)
X-SVN-Rev: 33045
2013-01-13 19:11:07 +00:00
Travis Keep
16192c32d3 ICU-9800 Fix Currency.isAvailable() to return true for a currency that is available but is non-tender.
X-SVN-Rev: 33037
2013-01-11 19:15:17 +00:00
Peter Edberg
f497bdb604 ICU-9840 Pre-integrate some CLDR 23 additions/changes (J)
X-SVN-Rev: 33034
2013-01-10 18:01:23 +00:00
Travis Keep
bbd600846a ICU-9508 Make test name that tests withTender() more descriptive. Add test for using longs in place of dates.
X-SVN-Rev: 33029
2013-01-09 20:45:39 +00:00
Travis Keep
05194ef5f7 ICU-9508 Clarify test for this ticket.
X-SVN-Rev: 33028
2013-01-09 20:17:11 +00:00
Travis Keep
4308b46d69 ICU-9508 Merge changes from cmi branch into trunk.
X-SVN-Rev: 33025
2013-01-09 01:08:55 +00:00
Travis Keep
a55953f65a ICU-9807 Integrate jchye's changes from CLDR bug 5529 into ICU4J.
X-SVN-Rev: 33022
2013-01-09 00:07:35 +00:00
Yoshito Umaoka
bc5b7e5c35 ICU-9733 Use primary zone data (formerly singleCoutries) for generic location names in ICU4C. Synchronized metaZones.res including primaryZones data with ICU4C trunk.
X-SVN-Rev: 33013
2013-01-04 23:31:17 +00:00
Travis Keep
70deaa958c ICU-9531 CompactDecimalFormat to turn grouping separator off in short form only.
X-SVN-Rev: 33009
2013-01-02 22:31:02 +00:00
Michael Ow
49d85a9d59 ICU-9641 Add customizable max parse digit to DecimalFormat
X-SVN-Rev: 32993
2012-12-19 01:23:53 +00:00
John Emmons
f08b0bb69c ICU-9799 Merge CLDR 22.1.1 data to trunk
X-SVN-Rev: 32975
2012-12-14 23:47:07 +00:00
Yoshito Umaoka
612181f2f5 ICU-9785 Imported ICU data including updated Thai punctuation exemplar data. Also fixed ES_CURRENCY and some documentation / API version tag issues.
X-SVN-Rev: 32952
2012-12-13 19:52:57 +00:00
Mark Davis
730c1d3815 ICU-9789 Fix problems that Markus found in review.
X-SVN-Rev: 32950
2012-12-13 01:26:04 +00:00
Mark Davis
9b0fd4305f ICU-9789 Make date parsing slightly more lenient to fix compatibility problems.
X-SVN-Rev: 32948
2012-12-12 19:28:28 +00:00
Mark Davis
18f2d4bd81 ICU-9789 Make date parsing slightly more lenient to fix compatibility problems.
X-SVN-Rev: 32947
2012-12-12 19:17:26 +00:00
Mark Davis
8bb1a61c47 ICU-7645 Fixed problem in comparator exposed by Java 7.
X-SVN-Rev: 32924
2012-12-05 00:10:44 +00:00
Mark Davis
7de53e1046 ICU-7645 Various updates after feedback
X-SVN-Rev: 32919
2012-12-04 21:35:51 +00:00
Mark Davis
2e104e362a ICU-7645 Make test insensitive to order of elements in HashSet.
X-SVN-Rev: 32916
2012-12-02 20:21:48 +00:00
Mark Davis
c85f5b613a ICU-7645 Flesh out test more
X-SVN-Rev: 32914
2012-12-02 05:11:41 +00:00
Mark Davis
c3c9ed82d0 ICU-7645 Fix breaking test.
X-SVN-Rev: 32913
2012-12-02 02:30:56 +00:00
Markus Scherer
64cb025065 ICU-9774 FilteredNormalizer2: CharSequence.subSequence(start, limit) limit must be <= length()
X-SVN-Rev: 32911
2012-11-30 22:04:01 +00:00
Mark Davis
95098e216b ICU-7645 First cut at spoof detection changed. All marked @internal for now.
X-SVN-Rev: 32910
2012-11-30 17:51:08 +00:00
Yoshito Umaoka
63b30dc4c1 ICU-9668 Updated the spec of ULocale#equals. The modified implementation never returns true when the argument is String.
X-SVN-Rev: 32859
2012-11-16 23:16:12 +00:00
Travis Keep
59a7dc16de ICU-9647 Update J version of CompactDecimalFormat.
X-SVN-Rev: 32844
2012-11-16 00:44:07 +00:00
Yoshito Umaoka
6a2fd9b130 ICU-9746 Updated the build script for eclipse plug-in. The plug-in version no longer use different source code by this change. Also updated plug-in test and com.ibm.icu.base plug-in for Eclipse Kelper (June 2013).
X-SVN-Rev: 32841
2012-11-16 00:02:21 +00:00
Yoshito Umaoka
814a90985f ICU-9722 Updated ICU4J version numbers except data.
X-SVN-Rev: 32799
2012-11-12 15:46:44 +00:00
George Rhoten
e076e3a5de ICU-9715 Improve RBBI next performance by about 5% (35% over ICU4J 50.1 for this ticket).
X-SVN-Rev: 32797
2012-11-12 00:49:43 +00:00