Commit Graph

3054 Commits

Author SHA1 Message Date
Jungshik Shin
4934b397a8 ICU-8343 fix build errors in Visual Studio when exception is disabled
X-SVN-Rev: 32010
2012-06-28 23:28:00 +00:00
Michael Ow
d62e581e2c ICU-9397 Update some tests in intltest and cintltst to pass without data in 50.0.1
X-SVN-Rev: 31982
2012-06-22 16:48:30 +00:00
Yoshito Umaoka
fefba73e1d ICU-9258 Updated format/DecimalFormatTest/DataDrivenTests to format StringPiece in addition to DigitList. Fixed an error status problem (not returning U_FORMAT_INEXACT_ERROR) found by the StringPiece test.
X-SVN-Rev: 31961
2012-06-18 14:14:22 +00:00
Xiaomei Ji
a9ea9b2a82 ICU-9042 in time unit format, ignore those plural counts that are not defined in the locale's plural rules
X-SVN-Rev: 31924
2012-06-08 19:02:03 +00:00
Yoshito Umaoka
b841ed0c39 ICU-9349 Applying the same change done for ICU4J time zone test cases. Change some test cases to report error while development.
X-SVN-Rev: 31920
2012-06-07 20:40:07 +00:00
Markus Scherer
00dc45723c ICU-9010 remove --disable-threads, move ICU_USE_THREADS out of uconfig.h into test code
X-SVN-Rev: 31911
2012-06-06 04:13:28 +00:00
Markus Scherer
a4861cdd06 ICU-8298 avoid ambiguous method matching for MaybeStackArray[index]
X-SVN-Rev: 31903
2012-06-04 23:51:39 +00:00
Andy Heninger
0855f7a2b2 ICU-6954 Fix charset detection bug resulting from having state in shared recognizer objects.
X-SVN-Rev: 31900
2012-06-01 20:40:48 +00:00
Steven R. Loomis
c6a7e38015 ICU-9258 fix test code
X-SVN-Rev: 31889
2012-05-30 19:02:58 +00:00
Steven R. Loomis
dc44c2bdd9 ICU-9258 fix int64 format of U_INT64_MIN; // -9223372036854775808L
X-SVN-Rev: 31888
2012-05-30 18:21:49 +00:00
Steven R. Loomis
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Steven R. Loomis
5c95e765c1 ICU-9345 add -T (notime) option to intltest
X-SVN-Rev: 31880
2012-05-30 00:37:33 +00:00
Andy Heninger
ba912623dc ICU-6954 Add test for this charset detector bug. Fix will follow later.
X-SVN-Rev: 31866
2012-05-26 00:19:47 +00:00
Michael Ow
22dda18669 ICU-9242 Fix format parsing in ICU4C calendar code
X-SVN-Rev: 31805
2012-05-09 21:00:40 +00:00
Andy Heninger
b916fcb50b ICU-9283 fix for look-behind assertions w/ case insensitive matching.
X-SVN-Rev: 31782
2012-04-27 21:29:34 +00:00
Michael Ow
a6dc9968d8 ICU-9284 Fix test case in date format round trip test for hebrew calendar
X-SVN-Rev: 31765
2012-04-25 16:21:28 +00:00
Michael Ow
0f094f51cf ICU-9232 Fix timebomb failure in ssearch
X-SVN-Rev: 31756
2012-04-23 06:07:45 +00:00
Michael Ow
bbad39b77a ICU-9232 Update version in ICU4C to 50.0.1 and update time bombs
X-SVN-Rev: 31725
2012-04-18 17:03:06 +00:00
Markus Scherer
adcdc1c20e ICU-9132 finalize new MessageFormat pattern argument type to selectordinal
X-SVN-Rev: 31702
2012-04-13 17:37:12 +00:00
Markus Scherer
8d7428d1b3 ICU-9132 ordinal-plural formatting in C/C++
X-SVN-Rev: 31687
2012-04-07 04:27:27 +00:00
Yoshito Umaoka
a1b5c33222 ICU-9237 Fixed copy constructor and assignment operator implementation problem in SimpleDateFormat. Also added a test case demonstrates the issue.
X-SVN-Rev: 31664
2012-03-30 21:07:56 +00:00
Steven R. Loomis
849b2da11d ICU-9191 copy locale in cloned calendars
X-SVN-Rev: 31603
2012-03-08 19:29:24 +00:00
Michael Ow
2e9b4064b7 ICU-9168 Add some more fix for uconfig and header test failures
X-SVN-Rev: 31577
2012-03-02 20:18:40 +00:00
Michael Ow
782387a888 ICU-9168 Fix some uconfig test errors
X-SVN-Rev: 31574
2012-03-02 17:59:56 +00:00
Michael Ow
76444a4b71 ICU-8716 Fix errors in cintltst and intltest when data is missing
X-SVN-Rev: 31552
2012-03-01 05:27:43 +00:00
Yoshito Umaoka
b36054b80b ICU-9139 Fix non-ASCII characters in regextst.cpp
X-SVN-Rev: 31540
2012-02-29 16:51:39 +00:00
Andy Heninger
c1e213af43 ICU-9149 document what ticket a time bomb is for.
X-SVN-Rev: 31533
2012-02-28 18:45:57 +00:00
Peter Edberg
fa93f83368 ICU-9139 Update another timebomb (from exhaustive tests)
X-SVN-Rev: 31528
2012-02-28 00:16:32 +00:00
Peter Edberg
81d48c9c84 ICU-9139 Update ICU version, some copyright dates, readme boilerplate, timebombs
X-SVN-Rev: 31517
2012-02-27 05:33:06 +00:00
Peter Edberg
faced7a2f0 ICU-8697 C review fixes: correct UnicodeString constructor, use LocalPointer, use ParsePosition.getIndex() to test errs
X-SVN-Rev: 31509
2012-02-24 20:27:21 +00:00
Peter Edberg
efc03a774b ICU-9110 C - Name tweaks for consistency with some improvements in J
X-SVN-Rev: 31483
2012-02-22 09:06:12 +00:00
Steven R. Loomis
be53c49e85 ICU-9127 fix regression on iOS, introduced in r31009
X-SVN-Rev: 31480
2012-02-22 02:12:55 +00:00
Steven R. Loomis
6e036d0ca4 ICU-9019 fix test err
X-SVN-Rev: 31471
2012-02-21 16:50:43 +00:00
Yoshito Umaoka
1641940f00 ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Peter Edberg
733a433be7 ICU-9110 Commit the C tests too
X-SVN-Rev: 31467
2012-02-21 09:19:57 +00:00
Steven R. Loomis
be22ad9f19 ICU-9019 uset_add with non-lenient calendars
X-SVN-Rev: 31457
2012-02-21 01:21:01 +00:00
Michael Ow
20e8036d10 ICU-8716 Update intltest and cintltst to pass without data in 49
X-SVN-Rev: 31449
2012-02-20 19:13:36 +00:00
Peter Edberg
05b2ae1381 ICU-8697 C, change parseCurrency methods to return CurrencyAmount*, make draft ICU 49
X-SVN-Rev: 31440
2012-02-19 06:45:47 +00:00
Andy Heninger
9dbf80393c ICU-9009 For Alphabetic Index, add hard coded fall back in case there is no data available for defining the Labels.
X-SVN-Rev: 31424
2012-02-18 00:11:03 +00:00
Yoshito Umaoka
9d6a55f33d ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Michael Ow
1dfe6c4c8b ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4C RBNF
X-SVN-Rev: 31417
2012-02-17 23:09:57 +00:00
Michael Ow
ceb1f19712 ICU-8718 Initialize UFieldPosition struct to avoid valgrind errors
X-SVN-Rev: 31413
2012-02-17 18:29:03 +00:00
Michael Ow
6098f00b1f ICU-8718 Fix memory leak in Test9087
X-SVN-Rev: 31411
2012-02-17 17:12:43 +00:00
Peter Edberg
0dab4799f7 ICU-9105 Fix DateTimePatternGenerator for 'U', integrate Chinese cal data updates from cldrbug 4395, update tests
X-SVN-Rev: 31407
2012-02-17 08:42:10 +00:00
John Emmons
b8281ee69e ICU-9087 Add special case for +-infinity in DigitList::set()
X-SVN-Rev: 31403
2012-02-17 04:00:49 +00:00
John Emmons
7b449d6fe9 ICU-8849 Updates to NumberingSystem class to support otherNumberingSystems from CLDR
X-SVN-Rev: 31400
2012-02-15 22:01:43 +00:00
Andy Heninger
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Yoshito Umaoka
535e2f80d5 ICU-9109 Fixed missing digit issue with DecimalFormat in lenient mode.
X-SVN-Rev: 31391
2012-02-14 07:05:58 +00:00
Doug Felt
22fd5e8e22 ICU-8456 fix display of keywords in locale names
X-SVN-Rev: 31387
2012-02-14 00:42:04 +00:00
Michael Ow
52af04fed7 ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4C
X-SVN-Rev: 31378
2012-02-13 19:23:47 +00:00
Andy Heninger
305adeb146 ICU-8034 Add Number Format field constant definitions.
X-SVN-Rev: 31356
2012-02-10 00:38:34 +00:00
John Emmons
ef5c72934d ICU-9071 Merge data from CLDR release-21-d02
X-SVN-Rev: 31337
2012-02-07 20:54:16 +00:00
John Emmons
7742158c72 ICU-9071 Merge data from CLDR release-21-d01
X-SVN-Rev: 31307
2012-02-02 22:53:19 +00:00
Andy Heninger
da5380d926 ICU-8123 Remove utext comparison functions.
X-SVN-Rev: 31277
2012-01-31 01:14:41 +00:00
Andy Heninger
2eeb521d01 ICU-6975 Move more break iterator test data out of code into rbbitst.txt file.
X-SVN-Rev: 31268
2012-01-26 02:12:05 +00:00
Peter Edberg
a3d068508b ICU-9069 Parse 'U' when there there is no cyclic year name data (C)
X-SVN-Rev: 31247
2012-01-23 19:43:13 +00:00
Markus Scherer
f31fa446bc ICU-9065 internal API for reverse-full-case-folding data
X-SVN-Rev: 31237
2012-01-20 19:35:13 +00:00
Andy Heninger
fa68259b4d ICU-8711 Move Thai and Khmer test data from dedicated file to standard test data file, and remove dedicated code.
X-SVN-Rev: 31234
2012-01-20 02:35:00 +00:00
Andy Heninger
b8315ecf6a ICU-8826 Regex case insensitive match fixes; also fixes #6074, hitEnd() sometimes fails.
X-SVN-Rev: 31233
2012-01-20 00:50:02 +00:00
Michael Ow
7ff178382d ICU-8716 Update dateformattest to pass without data
X-SVN-Rev: 31228
2012-01-19 18:47:07 +00:00
Peter Edberg
cb472ddf52 ICU-8959 If pattern char is 'U' but year has no cyclic name data, format as number (C)
X-SVN-Rev: 31224
2012-01-19 04:56:22 +00:00
Peter Edberg
8aa0a3c376 ICU-9055 Integrate Chinese cal pattern updates from cldrbug 4237, update tests (C)
X-SVN-Rev: 31220
2012-01-18 03:28:45 +00:00
Peter Edberg
0ab713c4fb ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Peter Edberg
0b49b06d49 ICU-9035 More Chinese calendar format/parse fixes, mostly backported from ICU4J
X-SVN-Rev: 31212
2012-01-17 03:24:56 +00:00
Markus Scherer
2f70694e7f ICU-9013 deprecate API for Unicode 1.0 character names & ISO comments, remove support & data
X-SVN-Rev: 31125
2011-12-15 21:43:35 +00:00
Markus Scherer
b4ce283bca ICU-7973 make isICUVersionAtLeast() easier to use, add isICUVersionBefore()
X-SVN-Rev: 31122
2011-12-15 17:02:43 +00:00
Michael Ow
9f1867ce35 ICU-8716 Update intltest and cintltst to pass without data in 49M2
X-SVN-Rev: 31101
2011-12-12 23:28:25 +00:00
Michael Ow
89b2280c23 ICU-8958 Fix memory leak in test code.
X-SVN-Rev: 31097
2011-12-12 17:19:04 +00:00
Peter Edberg
43116514f9 ICU-8958 Added test cases for en and using patterns with now-ignored pattern char 'l'
X-SVN-Rev: 31089
2011-12-10 00:41:25 +00:00
Peter Edberg
29c3d94960 ICU-8978 Actually for transrt.cpp, need to remove u0970 from [:Devanagari:], not RT exclusions
X-SVN-Rev: 31078
2011-12-09 19:25:02 +00:00
Peter Edberg
cec4d76254 ICU-8978 Integrate CLDR 21m2 data. Update dtfmttst.cpp for timezone name cleanup.
Update transrt.cpp to exclude 0970 from roundtrip tests; it was now included because
Unicode 6.1 moved it from Common to Devanagari, but it has no mapping from InterIndic
to anything else.

X-SVN-Rev: 31074
2011-12-09 08:39:46 +00:00
Markus Scherer
43bb4f2cf4 ICU-8827 Unicode 6.1 update: svn merge branches/markus/uni61 at r31062 into the trunk
X-SVN-Rev: 31071
2011-12-08 22:37:24 +00:00
Peter Edberg
56d70749df ICU-8958 Add support for parsing leapMonths (in addition to formatting per r31039, r31040)
X-SVN-Rev: 31043
2011-12-06 20:46:32 +00:00
Peter Edberg
6dbcc24060 ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.

X-SVN-Rev: 31039
2011-12-06 08:00:44 +00:00
Abhinav Gupta
5373f49d27 ICU-8668 C, C++, restrict script to alphabetic in locale name.
X-SVN-Rev: 31031
2011-12-05 20:15:15 +00:00
Peter Edberg
22a40ff65d ICU-7930 C, don't limit base skeleton field length to 3
X-SVN-Rev: 31028
2011-12-05 04:49:40 +00:00
Yoshito Umaoka
4334ee838f ICU-8943 RBTZ fix in ICU4C and its test case
X-SVN-Rev: 31009
2011-12-02 07:02:54 +00:00
Yoshito Umaoka
b0f61ffe46 ICU-8953 ICU4C implementation was OK. Just update the test case already added in ICU4J.
X-SVN-Rev: 31007
2011-12-02 05:01:23 +00:00
Markus Scherer
3a86b119b0 ICU-8246 add Normalizer2::getNFCInstance(), getNFKDInstance(), ...
X-SVN-Rev: 30994
2011-12-01 00:43:35 +00:00
Markus Scherer
bed105857f ICU-8804 Normalizer2::composePair(a, b) with separation of minYesNo extraData into combines-forward vs. not
X-SVN-Rev: 30982
2011-11-27 20:29:38 +00:00
Markus Scherer
03748b07f1 ICU-8804 Normalizer2::getRawDecomposition(c) with added data in .nrm formatVersion 2
X-SVN-Rev: 30980
2011-11-27 04:44:13 +00:00
Michael Ow
e144d4ff66 ICU-8936 Add check-exhaustive make target to run the test suite in exhaustive mode
X-SVN-Rev: 30961
2011-11-14 22:33:19 +00:00
John Emmons
42bbabf646 ICU-7605 Change locale ID canonicalization to not use double-underscore IDs
X-SVN-Rev: 30954
2011-11-11 20:29:33 +00:00
Michael Ow
176433065a ICU-8592 Update tzdata2011n to ICU4C
X-SVN-Rev: 30951
2011-11-11 05:16:53 +00:00
Michael Ow
f7de05f57a ICU-8592 Add timebomb for TestTimeRoundTrip test.
X-SVN-Rev: 30946
2011-11-10 16:47:00 +00:00
Steven R. Loomis
20934ac953 ICU-8861 merge r30809 cleanup from #8755
X-SVN-Rev: 30814
2011-10-12 20:08:09 +00:00
Yoshito Umaoka
d683b867bf ICU-8874 Fixed test case problem which triggered TestIDNAMonkeyTest failure intermittently. Also updated TestCompareReferenceImpl to cover the case which used to trigger the test failure.
X-SVN-Rev: 30804
2011-10-07 22:28:32 +00:00
Peter Edberg
307efef922 ICU-8820 Parse string fields in pattern as strings before trying digits (if lenient)
X-SVN-Rev: 30766
2011-09-30 20:07:28 +00:00
John Emmons
867185c5c7 ICU-8846 Merge CLDRv21M1 data into ICU
X-SVN-Rev: 30755
2011-09-29 21:52:25 +00:00
Markus Scherer
3458799ca4 ICU-8779 add getUnknown()
X-SVN-Rev: 30729
2011-09-28 00:00:31 +00:00
John Emmons
41c28f1ee2 ICU-8811 Regen of CLDR data with no commonlyUsed
X-SVN-Rev: 30680
2011-09-16 20:24:34 +00:00
Yoshito Umaoka
93cb17f386 ICU-8811 Removed the logic for supporting short commonly used time zone names.
X-SVN-Rev: 30668
2011-09-15 20:38:26 +00:00
Steven R. Loomis
737d129645 ICU-8784 commit iSeries porting fixes into trunk
X-SVN-Rev: 30667
2011-09-15 19:34:17 +00:00
Abhinav Gupta
936abbe238 ICU-8819 DecimalFormatSymbols::initialize now throws a DEFAULT WARNING instead of FALLBACK. Updated NumberFormatTest::TestSymbolsWithBadLocale to reflect this change.
X-SVN-Rev: 30662
2011-09-15 17:37:00 +00:00
Peter Edberg
7bb51b02e8 ICU-8794 Ensure that TextFile::ensureCapacity initial loop value is at least 64, quiet a warning.
X-SVN-Rev: 30656
2011-09-14 21:27:45 +00:00
Abhinav Gupta
707069804b ICU-8812 fixed typo from previous commit.
X-SVN-Rev: 30651
2011-09-13 21:12:01 +00:00
Abhinav Gupta
64da48200b ICU-8812 added test case for fallback warning to TestSymbolsWithBadLocale.
X-SVN-Rev: 30650
2011-09-13 20:58:08 +00:00
Abhinav Gupta
728d95f8c9 ICU-8812 fixed init_entry overflow and TestSymbolsWithBadLocale test case
X-SVN-Rev: 30649
2011-09-13 19:14:32 +00:00
Markus Scherer
e71be2e3b7 ICU-8806 fix MessageFormat plural # formatting: fix offset lookup
X-SVN-Rev: 30635
2011-09-07 23:18:54 +00:00
John Emmons
de229aa8da ICU-8423 Use stand-alone script names if possible in uloc_getDisplayScript()
X-SVN-Rev: 30619
2011-09-02 21:58:42 +00:00