Commit Graph

3015 Commits

Author SHA1 Message Date
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
Michael Ow
451107e9e3 ICU-8716 Fix some rbbi and number format test so that it will pass without data
X-SVN-Rev: 30598
2011-08-30 19:11:32 +00:00
Michael Ow
8ccd432155 ICU-8718 Fix some memory leak issues in numbering systems
X-SVN-Rev: 30592
2011-08-30 03:22:38 +00:00
Michael Ow
6be4ed022f ICU-8452 Fix some more Cygwin MVSC and Cygwin GCC build issues
X-SVN-Rev: 30541
2011-08-18 18:47:16 +00:00
Yoshito Umaoka
b990fed869 ICU-8766 Added a test case equivalent to ICU4J for testing parse position in date format parse with time zone pattern.
X-SVN-Rev: 30515
2011-08-16 16:36:51 +00:00
Yoshito Umaoka
3b11db76a4 ICU-8719 Skip date field range check added by r30018 when lenient mode. Reverted some date format test cases to accept out of range date fields when lenient.
X-SVN-Rev: 30508
2011-08-15 20:54:36 +00:00
Steven R. Loomis
1e1f8509d8 ICU-8755 interim fix. MessagePattern still needs fixing.
X-SVN-Rev: 30505
2011-08-13 02:45:09 +00:00
John Emmons
c651458559 ICU-8656 Implement NumberingSystem::getAvailableNames()
X-SVN-Rev: 30476
2011-08-08 16:03:37 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Markus Scherer
d0c495ee99 ICU-8452 try to work around a problem with using Solaris signal.h
X-SVN-Rev: 30421
2011-07-25 23:14:16 +00:00
Markus Scherer
3bf88cd711 ICU-8452 consolidate definition of _XOPEN_SOURCE for access to POSIX functions; do not use __STDC_VERSION__ in C++ code where it is not defined
X-SVN-Rev: 30418
2011-07-25 21:02:32 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Steven R. Loomis
fd3246217f ICU-8714 backing out r30379 - broke the build
X-SVN-Rev: 30380
2011-07-18 19:51:16 +00:00
Michael Ow
cdd02be3f2 ICU-8716 Update collation and date format test to pass without data
X-SVN-Rev: 30378
2011-07-18 18:09:52 +00:00
John Emmons
ec44df4e86 ICU-8709 Merge CLDR ticket 4038 ( Spanish currency format)
X-SVN-Rev: 30356
2011-07-14 22:31:24 +00:00
Peter Edberg
4c710d51d2 ICU-8576 Replace a stray printf with errln
X-SVN-Rev: 30328
2011-07-13 07:28:49 +00:00
Peter Edberg
62d26cc5fe ICU-8576 Dictionary break test updates from George Rhoten
X-SVN-Rev: 30327
2011-07-13 06:49:42 +00:00
John Emmons
a963738287 ICU-8696 Merge CLDR 2.0.1
X-SVN-Rev: 30316
2011-07-12 19:55:07 +00:00
Peter Edberg
f5ccf251ef ICU-8583 Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
X-SVN-Rev: 30313
2011-07-12 03:22:59 +00:00
Markus Scherer
f0f91649ce ICU-8691 fix UnicodeString::startsWith(const UChar *, -1 for NUL-terminated)
X-SVN-Rev: 30292
2011-07-07 18:21:28 +00:00
Yoshito Umaoka
3c22c67825 ICU-8675 Simple test case for checking stand alone GMT parsing multiple times.
X-SVN-Rev: 30282
2011-07-06 16:42:25 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Markus Scherer
493668a25f ICU-8573 remove support for U_IOSTREAM_SOURCE=198506
X-SVN-Rev: 30278
2011-07-05 23:42:32 +00:00
Yoshito Umaoka
515788594c ICU-8596 Fixed the actual maximum week problem.
X-SVN-Rev: 30276
2011-07-05 22:42:14 +00:00
Markus Scherer
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +00:00
Markus Scherer
b6036a94f9 ICU-8615 implement optional IDNA2008 CONTEXTO check in UTS46
X-SVN-Rev: 30268
2011-07-01 22:19:14 +00:00
Markus Scherer
4abbf7161a ICU-8606 add Normalizer2.getCombiningClass(c)
X-SVN-Rev: 30263
2011-06-30 23:22:17 +00:00
Andy Heninger
d198367b6b ICU-8654 Fix incorrectly escaped unicode in test.
X-SVN-Rev: 30222
2011-06-22 04:44:45 +00:00
Yoshito Umaoka
0f29677f6a ICU-8624 Fixed a collation key compression problem. A tertiary key value was incorrect with a long string when case first option is set.
X-SVN-Rev: 30220
2011-06-20 17:18:46 +00:00
Andy Heninger
88e94ca0b0 ICU-8654 Spoof check, incorrect length used on NFD text.
X-SVN-Rev: 30218
2011-06-17 20:47:37 +00:00
Michael Ow
65629eb419 ICU-8635 Update ICU4C version to 49.0.1 (49M1)
X-SVN-Rev: 30216
2011-06-14 00:00:57 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Andy Heninger
b8d330e9a7 ICU-8490 Add BreakIterator::refresInputText()
X-SVN-Rev: 30203
2011-06-09 22:49:40 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Yoshito Umaoka
3e6d2f0e18 ICU-8589 Corrected the condition for using country display name in a time zone partial name. Also updated the test case to parse the test date properly.
X-SVN-Rev: 30149
2011-05-26 20:56:15 +00:00
Markus Scherer
41c8654d92 ICU-8601 replace C U_INLINE hack with C++ inline, and also rename a few other .c files to .cpp for future UMTX_CHECK replacement
X-SVN-Rev: 30148
2011-05-26 20:05:39 +00:00
Markus Scherer
02836844e6 ICU-8428 remove @draft etc. API tags from non-API headers (impl, tests, samples)
X-SVN-Rev: 30117
2011-05-16 20:46:27 +00:00
John Emmons
7a0d90c14e ICU-8556 Merge CLDR release-2-0-d02 data
X-SVN-Rev: 30101
2011-05-12 02:11:29 +00:00
Michael Ow
dc0bdf415e ICU-8553 Ensure cintltst and intltest passes gracefully with warning without data in 4.8
X-SVN-Rev: 30088
2011-05-10 22:01:46 +00:00
Yoshito Umaoka
62201ee859 ICU-8428 ICU4C and data version to 4.8. Also moved time bombs.
X-SVN-Rev: 30049
2011-05-06 20:45:10 +00:00