Commit Graph

3237 Commits

Author SHA1 Message Date
Michael Ow
90fd46df00 ICU-10345 Call adoptInstead instead of orphan to avoid memory leak
X-SVN-Rev: 34264
2013-09-11 00:03:06 +00:00
Peter Edberg
33c679b135 ICU-10065 Delete redundant LOW_K row in dtTypes[]
X-SVN-Rev: 34262
2013-09-10 21:29:14 +00:00
Peter Edberg
a6e8bf3f32 ICU-10065 Better sanity checks and error logging in testAllFieldPatterns
X-SVN-Rev: 34261
2013-09-10 20:34:57 +00:00
Peter Edberg
ebea161b11 ICU-10065 In DateTimePatternGenerator, add support for pattern chars K,O,X,x, adjust support for V
X-SVN-Rev: 34256
2013-09-10 07:51:38 +00:00
John Emmons
a869b0d483 ICU-10335 Merge completed CLDR24 branch into trunk.
X-SVN-Rev: 34238
2013-09-07 20:46:42 +00:00
Andy Heninger
4d9fad13ef ICU-10273 Plural Rules Fixed Decimal, improve handling of NaN and Infinity
X-SVN-Rev: 34225
2013-09-06 20:02:42 +00:00
Andy Heninger
7b3b75a525 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34204
2013-09-05 23:28:28 +00:00
Peter Edberg
bcfcd53be9 ICU-10161 trimMarksFromAffix must trim all marks; update "ar" number patterns to latest
X-SVN-Rev: 34203
2013-09-05 22:13:07 +00:00
Steven R. Loomis
e5fac0714c ICU-10345 make formatting of a Formattable currency thread safe.. by cloning. makes unum_formatDoubleCurrency also slow.
X-SVN-Rev: 34200
2013-09-05 05:32:56 +00:00
Steven R. Loomis
7a9480becc ICU-10357 only show 'are you missing data' once
X-SVN-Rev: 34197
2013-09-05 03:55:29 +00:00
Peter Edberg
8997c77684 ICU-10161 Now compareSimpleAffix ignores LRM/RLM/ALM in affix or text when comparing them;
and pre-integrate some CLDR 24 number symbol & pattern changes so tests will match the new data.

X-SVN-Rev: 34186
2013-09-04 10:46:03 +00:00
Andy Heninger
003c35c1d9 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34176
2013-09-04 01:07:35 +00:00
Markus Scherer
e77aa2a82f ICU-10142 BidiCharacterTest.txt field 0 is always a code point string
X-SVN-Rev: 34151
2013-08-30 20:27:29 +00:00
Markus Scherer
90b538ae3f ICU-10142 implement Unicode 6.3 bidi algorithm additions: merge icu/branches/mati/uba63 into trunk, merge new test for BidiCharacterTest.txt into bidiconf.cpp
X-SVN-Rev: 34147
2013-08-30 16:32:45 +00:00
Peter Edberg
b6dcdfcd25 ICU-10176 No line break in $SY $HL; update tests accordingly
X-SVN-Rev: 34142
2013-08-30 05:51:27 +00:00
Travis Keep
7f3d307ef8 ICU-10274 Rollback TimePeriod additions, but leave in changes to listformatter for Mark's more generic units API.
X-SVN-Rev: 34135
2013-08-29 23:45:48 +00:00
Andy Heninger
6ddf597269 ICU-10273 fix bug in plural rules parser, caused failure of CompactDecimalFormatTest
X-SVN-Rev: 34111
2013-08-29 00:50:50 +00:00
Andy Heninger
4dc67e0203 ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Yoshito Umaoka
b0eaf25682 ICU-9526 Fixed a parsing problem with custom monetary gouping separator. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34069
2013-08-20 20:51:31 +00:00
Michael Ow
7b22c02d86 ICU-8449 Remove calendar instances after test
X-SVN-Rev: 34061
2013-08-17 19:37:46 +00:00
Andy Heninger
c3b0565eea ICU-8449 fix broken build from earlier checkin.
X-SVN-Rev: 34054
2013-08-16 18:10:31 +00:00
Scott Russell
e715efb8e8 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34053
2013-08-16 17:09:51 +00:00
Travis Keep
41b7ee189d ICU-10258 Parse different variations of '+' and '-' when isLenient is set in C++.
X-SVN-Rev: 33989
2013-07-25 17:58:37 +00:00
Travis Keep
ecd7ea193b ICU-10274 Add compound duration formatting for C++
X-SVN-Rev: 33986
2013-07-25 16:36:25 +00:00
Peter Edberg
958d9edc45 ICU-10222 (C) Update 2 more tests to match new plural rules
X-SVN-Rev: 33964
2013-07-23 18:21:02 +00:00
Andy Heninger
f4e36c9c98 ICU-10253 Plural Rule, support for new syntax for fractional rules. Merge from development branch.
X-SVN-Rev: 33958
2013-07-22 23:57:17 +00:00
Peter Edberg
b8f66e90c3 ICU-10222 (C) Update some plural test cases, add better error logging
X-SVN-Rev: 33933
2013-07-18 01:31:13 +00:00
Travis Keep
38eb17d4d0 ICU-10222 Fix failing tests in NumberFormatTest.
X-SVN-Rev: 33916
2013-07-11 20:49:11 +00:00
Yoshito Umaoka
b0595e1051 ICU-10222 Reverted r33902, but updated the locale used for testing from 'ru' to 'uk'. The test case was originally written for the rule set formerly shared by 'ru' and 'uk', but the rule for 'ru' had been changed. After the new syntax for fractional plural is once supported in ICU4C, then the test case should pass successfully with locale 'uk'.
X-SVN-Rev: 33915
2013-07-11 19:13:13 +00:00
Travis Keep
057a643216 ICU-10222 Fix CompactDecimalFormat tests for serbian to match new plural rules.
X-SVN-Rev: 33910
2013-07-11 17:19:48 +00:00
Travis Keep
d17fb7ead0 ICU-10222 Fix failing test for MessageFormat because the plural rules for russian changed.
X-SVN-Rev: 33902
2013-07-10 20:52:00 +00:00
Steven R. Loomis
bfdba0df96 ICU-9583 show test summary at end of make. Apropos when the trunk is broken..
X-SVN-Rev: 33895
2013-07-09 01:16:33 +00:00
Peter Edberg
09ac4ef907 ICU-10222 (C) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33890
2013-07-08 06:51:38 +00:00
Steven R. Loomis
d5d6cc5ff8 ICU-7912 fix breakage
X-SVN-Rev: 33853
2013-06-26 15:27:41 +00:00
Steven R. Loomis
ae061ff78f ICU-7912 C wrapper for Formattable - UFormattable
X-SVN-Rev: 33849
2013-06-26 06:31:09 +00:00
Andy Heninger
20016a58db ICU-9719 Regular Expressions, add loop breaking to unbounded {min, max} loops.
X-SVN-Rev: 33848
2013-06-26 00:27:11 +00:00
Travis Keep
f28544ab1b ICU-10069 Attempt to fix broken build.
X-SVN-Rev: 33843
2013-06-24 18:05:38 +00:00
Travis Keep
1f6c4dab6b ICU-10069 Attempt to fix broken build.
X-SVN-Rev: 33842
2013-06-24 17:19:09 +00:00
Travis Keep
2830139ec2 ICU-10069 Attempt fo fix broken build.
X-SVN-Rev: 33841
2013-06-21 00:33:41 +00:00
Steven R. Loomis
2116c12c20 ICU-10069 improve error messages"
X-SVN-Rev: 33839
2013-06-20 22:20:51 +00:00
Steven R. Loomis
2c6bc98b14 ICU-10069 improve error messages, add commented-out case that passes on solaris and fails on others
X-SVN-Rev: 33838
2013-06-20 22:09:42 +00:00
Steven R. Loomis
04e47d76cc ICU-10231 add -u option to intltest, force utf-8 output
X-SVN-Rev: 33837
2013-06-20 22:05:51 +00:00
Andy Heninger
5ea9cb88a5 ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
X-SVN-Rev: 33833
2013-06-17 18:49:28 +00:00
Andy Heninger
ac982cb8f8 ICU-5901 RBBI.getRuleStatus(), hoist to BreakIterator from RuleBasedBreakIterator
X-SVN-Rev: 33830
2013-06-14 00:47:11 +00:00
Travis Keep
6676337f3e ICU-10069 Take into account compatible currency symbols, e.g half-width and full width yen symbol when parsing currencies in C++. Currency equivalence relation is hard-coded for now.
X-SVN-Rev: 33825
2013-06-13 18:38:53 +00:00
Yoshito Umaoka
434a94ec4d ICU-10209 Fixed odd TimeType problem with ZONE_ID, ZONE_ID_SHORT and EXEMPLAR_LOCATION in TimeZoneFormat#format. Also added generic TimeZoneFormat test cases.
X-SVN-Rev: 33819
2013-06-12 20:56:06 +00:00
Andy Heninger
ae87a3acc2 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK. All the directories this time.
X-SVN-Rev: 33788
2013-06-01 03:37:16 +00:00
Travis Keep
21ed20e983 ICU-10045 Fix again so that zero shows as 0 not 0.0
X-SVN-Rev: 33751
2013-05-24 22:45:48 +00:00
Peter Edberg
ec6a2c8696 ICU-10186 Need special numeric era format/parse for dangi too (C)
X-SVN-Rev: 33734
2013-05-23 01:28:21 +00:00
Yoshito Umaoka
7e0d7fa479 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33726
2013-05-22 20:33:30 +00:00
Peter Edberg
20ae926194 ICU-10120 Copy fix #9983 (for word ubrk_previous infinite loop) to word_POSIX too
X-SVN-Rev: 33682
2013-05-19 06:36:13 +00:00
Michael Ow
1ba5235ef5 ICU-10169 Fix redefinition of macro on os390 in simplethread test code
X-SVN-Rev: 33681
2013-05-18 00:59:21 +00:00
Markus Scherer
2982958b06 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33661)
X-SVN-Rev: 33662
2013-05-15 21:51:04 +00:00
Michael Ow
4b966aacc4 ICU-10083 Update version number to 52.0.1 and update timebombs
X-SVN-Rev: 33604
2013-05-07 19:53:34 +00:00
Yoshito Umaoka
1551c65468 ICU-10098 Fixed LCID to posix-style locale ID mapping problem. The fix required to change the internal LCID mapping function interface, and resolved a threading issue in uloc_getLocaleForLCID() and some other internal implementation problems in Win32DateFormat/Win32NumberFormat.
X-SVN-Rev: 33586
2013-05-03 21:36:03 +00:00
Peter Edberg
79b8f74642 ICU-9984 For DTPG, Y in skeleton should produce Y in pattern
X-SVN-Rev: 33562
2013-04-29 22:10:29 +00:00
Travis Keep
77f8f1e2c2 ICU-10045 Change UNICODE_STRING_SIMPLE to a UnicodeString constructor in an attempt to fix broken builds.
X-SVN-Rev: 33489
2013-04-03 21:18:45 +00:00
Travis Keep
41bb29f532 ICU-10045 Fix number of significant digits with 0.
X-SVN-Rev: 33487
2013-04-03 20:11:01 +00:00
Travis Keep
6125cf2eff ICU-10045 Formatting with significant digits to work correctly with 0 in C++
X-SVN-Rev: 33485
2013-04-02 22:01:33 +00:00
Travis Keep
7e89728836 ICU-9914 ICU4C DateIntervalFormat to handle 2 year vs. 4 year formats.
X-SVN-Rev: 33453
2013-03-21 17:25:43 +00:00
Andy Heninger
1f65c0e70a ICU-10048 Compiler warning cleanup.
X-SVN-Rev: 33445
2013-03-21 05:48:52 +00:00
Andy Heninger
ae4350661b ICU-10048 Fix some compiler warnings in ICU4C.
X-SVN-Rev: 33444
2013-03-21 01:42:01 +00:00
Michael Ow
0990f9bd02 ICU-10013 Fix some no data test error and memory leaks
X-SVN-Rev: 33424
2013-03-14 17:14:52 +00:00
Steven R. Loomis
a7758d2cd5 ICU-10030 fix crasher when no subregions, also err check, and modernize test infrastructure
X-SVN-Rev: 33401
2013-03-08 19:23:41 +00:00
Yoshito Umaoka
260c82c874 ICU-9732 Update tzdata in ICU4C trunk to 2013a
X-SVN-Rev: 33389
2013-03-07 02:57:53 +00:00
Peter Edberg
bc29c28e46 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (C)
X-SVN-Rev: 33360
2013-03-04 11:10:20 +00:00
Andy Heninger
0fb049e787 ICU-9983 Fix inconsistent forward and reverse RBBI word break rules when a dictionary character is followed by an extend char.
X-SVN-Rev: 33351
2013-03-01 00:26:35 +00:00
Peter Edberg
7f06ea3bbf ICU-9975 Update test for new expected result, remove timebomb
X-SVN-Rev: 33350
2013-02-28 22:56:34 +00:00
Michael Ow
c7fe946b72 ICU-9721 Change version number to 51.1 and update timebombs
X-SVN-Rev: 33347
2013-02-27 21:34:41 +00:00
John Emmons
0f90af1342 ICU-9878 Use just the CLDR language code list instead of the whole ISO639
X-SVN-Rev: 33337
2013-02-27 13:44:20 +00:00
John Emmons
f267d1e3dd ICU-9878 Update LANGUAGES and COUNTRIES list with current ISO/CLDR tables
X-SVN-Rev: 33336
2013-02-27 04:33:58 +00:00
Michael Ow
e31422e17e ICU-9721 Fix errors found and fixed by icu-svnprops-check.py in ICU4C
X-SVN-Rev: 33326
2013-02-25 23:23:33 +00:00
Peter Edberg
57367832e2 ICU-9925 Update time-bomb comment to refer to new ticket #9975 for it
X-SVN-Rev: 33315
2013-02-24 19:30:14 +00:00
Peter Edberg
73f831cc03 ICU-9967 Move timebomb test to better location, print more info for cal limit test failures
X-SVN-Rev: 33313
2013-02-23 22:36:49 +00:00
Michael Ow
d0ef650ea4 ICU-9721 Fix some uconfig test failures
X-SVN-Rev: 33311
2013-02-23 16:40:06 +00:00
Peter Edberg
40d1216e5e ICU-9967 Timebomb some test values for Dangi cal limits test, to be fixed with #9972
X-SVN-Rev: 33310
2013-02-23 01:38:04 +00:00
Michael Ow
795b21007f ICU-9802 Fix no data cintltst and intltest failures
X-SVN-Rev: 33302
2013-02-22 03:24:01 +00:00
Markus Scherer
9452d9ed08 ICU-9880 g++ does not seem to allow a class pointer field whose type is from an anonymous namespace
X-SVN-Rev: 33277
2013-02-20 20:57:54 +00:00
Peter Edberg
7aeeab19e9 ICU-9925 Pick up the non-gregorian date format fixes from CLDR 8218 (C)
X-SVN-Rev: 33273
2013-02-19 19:52:15 +00:00
Peter Edberg
47c5a5aa61 ICU-9616 Add DangiCalendar & tests, port from J to C
X-SVN-Rev: 33267
2013-02-18 23:36:57 +00:00
Markus Scherer
ebbc5423ef ICU-9538 add script metadata properties API
X-SVN-Rev: 33255
2013-02-17 00:49:18 +00:00
Markus Scherer
dba8bad06b ICU-9602 tell ICU4J to ignore conversion test data for good one-way mappings
X-SVN-Rev: 33249
2013-02-16 00:16:09 +00:00
Markus Scherer
f5cd9984c6 ICU-9880 add ImmutableIndex, replace Chinese hacks and support zhuyin, handle index characters with multiple primary weights, lazy-create rarely-used objects, bug fixes, port other improvements from Java
X-SVN-Rev: 33245
2013-02-15 22:11:33 +00:00
Andy Heninger
915f2365a3 ICU-9077 Fix failing test rbbi/RBBITest/TestExtended
X-SVN-Rev: 33234
2013-02-15 08:14:10 +00:00
Andy Heninger
c68b5d9d38 ICU-9077 Enhancements to break iteration tests.
X-SVN-Rev: 33233
2013-02-15 07:17:59 +00:00
Andy Heninger
c437359b7f ICU-9077 RBBI test enhancements.
X-SVN-Rev: 33232
2013-02-15 02:13:58 +00:00
Travis Keep
e391bd75da ICU-9919 Add LocalPointer to test.
X-SVN-Rev: 33223
2013-02-14 20:29:16 +00:00
Peter Edberg
cd49c23616 ICU-9925 CLDR 23 pre-integration part 3, batch 3 (C)
X-SVN-Rev: 33217
2013-02-14 09:51:25 +00:00
Peter Edberg
08fb2eacd2 ICU-9925 CLDR 23 pre-integration part 3, batch 2 (C)
X-SVN-Rev: 33202
2013-02-13 13:26:23 +00:00
Travis Keep
003a138300 ICU-9919 Add test that DateIntervalFormat.setDateIntervalInfo does not corrup the cache.
X-SVN-Rev: 33198
2013-02-12 22:51:17 +00:00
Travis Keep
0c74014256 ICU-9919 Add check for failure in testSetIntervalPatternNoSideEffect
X-SVN-Rev: 33197
2013-02-12 21:44:42 +00:00
Peter Edberg
bf5a321da8 ICU-9925 CLDR 23 pre-integration part 3, batch 1 (C)
X-SVN-Rev: 33196
2013-02-12 21:00:17 +00:00
Travis Keep
b9243a0522 ICU-9919 Add test to ensure that DateIntervalInfo.setIntervalPattern has no unwanted side effects.
X-SVN-Rev: 33194
2013-02-12 19:47:49 +00:00
Michael Ow
e33bccf0e8 ICU-9655 Consolidate test code
X-SVN-Rev: 33193
2013-02-12 06:46:51 +00:00
Andy Heninger
e06001f2d0 ICU-9440 spoof checker, merge updates from branch.
X-SVN-Rev: 33162
2013-02-11 04:51:14 +00:00
Yoshito Umaoka
87158d4fba ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Andy Heninger
686c8d47f9 ICU-9842 AlphabeticIndex: add constructor taking a collator.
X-SVN-Rev: 33148
2013-02-09 01:07:41 +00:00
John Emmons
96f4a704b2 ICU-9889 Implement scaling for decimalFormat
X-SVN-Rev: 33138
2013-02-07 19:48:29 +00:00
Michael Ow
2724d7c5cc ICU-9802 Fix failures in running cintltst and intltest without data
X-SVN-Rev: 33089
2013-01-29 01:51:53 +00:00
Peter Edberg
b2d677bb65 ICU-9876 Pre-integrate some CLDR 23 additions/changes, part 2 (C)
X-SVN-Rev: 33077
2013-01-26 01:14:35 +00:00