Commit Graph

3222 Commits

Author SHA1 Message Date
Markus Scherer
6876123c0e ICU-9437 update to Unicode 6.2; merge in branches/markus/uni62 r32274
X-SVN-Rev: 32282
2012-08-28 23:37:10 +00:00
John Emmons
276a244c9b ICU-9251 First cut merge of CLDR 22 data
X-SVN-Rev: 32275
2012-08-28 21:56:06 +00:00
Umesh Nair
974ba63756 ICU-7168 Fixing Windows build.
X-SVN-Rev: 32271
2012-08-28 19:26:17 +00:00
Markus Scherer
31a4a9113d ICU-7168 always initialize UErrorCode, and check in at least one place coming in from public API
X-SVN-Rev: 32268
2012-08-28 16:47:58 +00:00
Peter Edberg
8db60a2d2b ICU-9399 return correct parse index when an era is expected but something else is found
X-SVN-Rev: 32262
2012-08-28 03:40:07 +00:00
Umesh Nair
484c465ddf ICU-7168 Implementation of ListFormatter, port from Java
X-SVN-Rev: 32247
2012-08-27 20:14:25 +00:00
Peter Edberg
00b9ba863a ICU-9256 For he@calendar=hebrew, offset the years within the current millenium down to 1-999
X-SVN-Rev: 32236
2012-08-27 05:58:17 +00:00
Maxime Serrano
43a4d7c0d4 ICU-9353 remove last mentions of word_ja.txt
X-SVN-Rev: 32196
2012-08-17 21:58:20 +00:00
Maxime Serrano
c64c0299d7 ICU-9353 merge dbbi-tries work into the trunk
X-SVN-Rev: 32184
2012-08-16 23:01:49 +00:00
George Rhoten
e1b9092426 ICU-9469 Improve support for C++11
X-SVN-Rev: 32179
2012-08-15 17:46:17 +00:00
Yoshito Umaoka
bc8ee5cca6 ICU-9452 Fixed calendar add issue with the Samoa Dec 2011 24 hour transition.
X-SVN-Rev: 32141
2012-08-09 21:29:53 +00:00
Markus Scherer
9107a7bb38 ICU-9460 also remove TestCollator::safeClone()
X-SVN-Rev: 32135
2012-08-08 23:50:47 +00:00
Michael Ow
eb5efa3a02 ICU-9463 Skip test on Cygwin using GCC because of rounding issue
X-SVN-Rev: 32122
2012-08-08 17:57:17 +00:00
George Rhoten
865333dd77 ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32111
2012-08-05 16:33:16 +00:00
Markus Scherer
da6c36d287 ICU-9346 C++ Collator API cleanup, fix safeClone() bug (setRuleStringFromCollator() on the result), fix polymorphic operator==(), move some method implementations into the base class
X-SVN-Rev: 32100
2012-08-03 21:49:28 +00:00
George Rhoten
dc75668c05 ICU-9457 Fix some compiler warnings
X-SVN-Rev: 32095
2012-08-03 19:09:42 +00:00
Jennifer Chye
bec84a2a15 ICU-9288 Merge new converter changes into trunk with regenerated data.
X-SVN-Rev: 32080
2012-08-01 20:40:39 +00:00
Debabrata Sengupta
f81fa56468 ICU-8971 fixed parsing inconsistency and corrected few test cases
X-SVN-Rev: 32031
2012-07-09 18:25:45 +00:00
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
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
John Emmons
2d4a2ae78f ICU-8489 Merge CLDR release-2-0-d01 into ICU
X-SVN-Rev: 30037
2011-05-05 18:12:27 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Steven R. Loomis
84da6cfda0 ICU-8350 missed one
X-SVN-Rev: 29994
2011-05-03 21:22:02 +00:00
Markus Scherer
74e96609b2 ICU-8350 better ASCII/EBCDIC fix
X-SVN-Rev: 29992
2011-05-03 20:34:28 +00:00
Andy Heninger
b040e0649f ICU-8516 Add AlphabeticIndex to UOBjectTest
X-SVN-Rev: 29990
2011-05-03 20:14:49 +00:00
Steven R. Loomis
61bdf314c6 ICU-8350 terminate the buffer.
X-SVN-Rev: 29989
2011-05-03 19:48:42 +00:00
Steven R. Loomis
64a323a8e2 ICU-8350 fix another asciism
X-SVN-Rev: 29987
2011-05-03 18:16:18 +00:00
Steven R. Loomis
932bcbef14 ICU-8350 fix ASCIIsm
X-SVN-Rev: 29985
2011-05-03 16:55:27 +00:00
Yoshito Umaoka
4d7569c743 ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00
Steven R. Loomis
607f78619b ICU-8466 fix unescaped \u
X-SVN-Rev: 29983
2011-05-03 14:33:43 +00:00
Peter Edberg
04435370a7 ICU-8466 Oops, that hyphen in copied text was really an en dash, fix to use \u notation
X-SVN-Rev: 29977
2011-05-03 06:32:11 +00:00
Peter Edberg
d67f95f797 ICU-8466 Add get/adopt/setTimeZone to DateIntervalFormat, as in DateFormat
X-SVN-Rev: 29976
2011-05-03 05:44:58 +00:00
Markus Scherer
2021d92a62 ICU-8079 rewrite/simplify sort key buffer/memory management, fixes overflow & length counting bugs
X-SVN-Rev: 29968
2011-05-03 00:29:45 +00:00
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +00:00
Andy Heninger
be5efb8d44 ICU-7083 Make RBBI create from compiled rules public.
X-SVN-Rev: 29926
2011-04-29 17:49:01 +00:00
Markus Scherer
bb9af46cfe ICU-8432 test & document that PluralRules::getSamples() returns count<=destCapacity
X-SVN-Rev: 29924
2011-04-29 16:42:34 +00:00
Markus Scherer
70ad6b4a74 ICU-7386 merge NumberFormat::EStyles into UNumberFormatStyles & improve NumberFormat::makeInstance() memory management
X-SVN-Rev: 29920
2011-04-29 00:00:47 +00:00
Claire Ho
83d13b22aa ICU-7387 Changed TimeUnitFormat::EStyle should bto C enum.
X-SVN-Rev: 29916
2011-04-28 16:42:58 +00:00
Markus Scherer
6c49e812c0 ICU-8432 fix PluralRules memory management & a couple of minor issues
X-SVN-Rev: 29914
2011-04-28 13:35:56 +00:00
Markus Scherer
e25457f07a ICU-8499 change PluralRules::NO_UNIQUE_VALUE into #define UPLRULES_NO_UNIQUE_VALUE
X-SVN-Rev: 29911
2011-04-27 20:04:06 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
Markus Scherer
3962c68aa2 ICU-8319 do not use UNICODE_STRING_SIMPLE with a multi-line string literal
X-SVN-Rev: 29896
2011-04-26 04:01:09 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Michael Ow
90edb92874 ICU-8366 Include missing header file in caltest
X-SVN-Rev: 29872
2011-04-23 22:11:25 +00:00
Yoshito Umaoka
56ef4e7f1a ICU-8366 Added ISO8601 calendar type support.
X-SVN-Rev: 29868
2011-04-23 16:35:30 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Andy Heninger
2861a47a86 ICU-7029 Add test case for this ticket.
X-SVN-Rev: 29846
2011-04-21 23:19:40 +00:00
Andy Heninger
f777c14042 ICU-8444 Remove PATTERN_IS_UTEXT from regex API.
X-SVN-Rev: 29845
2011-04-21 22:57:19 +00:00
Andy Heninger
118efa19c6 ICU-8486 UText not checking for Bogus UnicodeStrings, causing crash in regular expressions.
X-SVN-Rev: 29840
2011-04-21 00:07:50 +00:00
Andy Heninger
8148726df2 ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Dragan Besevic
b95924297b ICU-7486 Removing test noise
X-SVN-Rev: 29750
2011-04-06 21:56:48 +00:00
Michael Ow
d91a2126d4 ICU-8273 Delete PluralRule pointer after each use
X-SVN-Rev: 29720
2011-04-01 06:34:23 +00:00
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Doug Felt
2cd87fc93e ICU-8432 make icu4c test more robust
X-SVN-Rev: 29667
2011-03-17 22:57:55 +00:00
Doug Felt
47108a4e65 ICU-8432 add icu4c implementation and tests
X-SVN-Rev: 29666
2011-03-17 21:36:03 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
Eric Mader
f244b0674d ICU-8407 IntlTestNumberFormat::testLocale() - don't do scientific test for en_US_POSIX
X-SVN-Rev: 29584
2011-03-09 17:17:19 +00:00
Eric Mader
206c946267 ICU-8407 Use a case-insensitive compare when matching the exponent symbol.
X-SVN-Rev: 29551
2011-03-07 20:02:28 +00:00
Michael Ow
c28a76be8b ICU-8273 Fix memory leak issue in timezone test.
X-SVN-Rev: 29538
2011-03-04 03:01:59 +00:00
Markus Scherer
d55e005cf7 ICU-8167 move string tries to the common library and make API headers public
X-SVN-Rev: 29531
2011-03-03 21:56:36 +00:00
Michael Ow
4ff56e0dd5 ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
X-SVN-Rev: 29529
2011-03-03 19:29:57 +00:00
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +00:00
Andy Heninger
def8fdc070 ICU-7530 Add alphabetic index to windows projects
X-SVN-Rev: 29484
2011-02-27 18:55:17 +00:00
Andy Heninger
7b7f48eef8 ICU-7530 Alphabetic index, move from branch to trunk.
X-SVN-Rev: 29482
2011-02-25 22:21:30 +00:00
Andy Heninger
497e88ec1f ICU-8341 spoof skeleton computed using NFD, not NFKD
X-SVN-Rev: 29475
2011-02-24 22:55:07 +00:00
Yoshito Umaoka
d7c7514920 ICU-8346 ICU4C TimeZone::createTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added UCAL_UNKNOWN_ZONE_ID.
X-SVN-Rev: 29462
2011-02-19 06:29:52 +00:00
Yoshito Umaoka
7c93a6eeac ICU-8279 TimeZone API - getRegion in ICU4C
X-SVN-Rev: 29459
2011-02-18 23:03:47 +00:00
John Emmons
4b8773457a ICU-8031 Support for parent locales
X-SVN-Rev: 29443
2011-02-16 13:46:19 +00:00
Peter Edberg
2c5bd3f343 ICU-8330 Fix ICU4C handling of 'S' (fractional seconds) in skeleton
X-SVN-Rev: 29421
2011-02-10 04:46:32 +00:00
Markus Scherer
086386bd9e ICU-8322 pack class UnicodeString layout to avoid padding
X-SVN-Rev: 29398
2011-02-04 19:54:58 +00:00
Markus Scherer
d5599d7be9 ICU-8314 change Appendable into a base class, add UnicodeStringAppendable
X-SVN-Rev: 29392
2011-02-03 22:07:22 +00:00
Markus Scherer
d8ea46628b ICU-8314 Appendable interface, AppendableAdapter default impl & UnicodeString is-an Appendable
X-SVN-Rev: 29390
2011-02-03 05:28:01 +00:00
Markus Scherer
9cc27feeb4 ICU-8167 port trie API changes from Java
X-SVN-Rev: 29367
2011-01-27 21:41:03 +00:00
Yoshito Umaoka
0d4c82b85a ICU-8057 Skip validating fields internally set by add method in non-lenient mode. The same changes were done in ICU4J.
X-SVN-Rev: 29338
2011-01-19 23:31:36 +00:00
Andy Heninger
0ac84b2939 ICU-8199 Fix for failing decimal parse test on Windows.
X-SVN-Rev: 29292
2011-01-12 23:41:52 +00:00
Markus Scherer
f97ba58fe7 ICU-8167 minor test fixes
X-SVN-Rev: 29282
2011-01-10 23:55:17 +00:00
Markus Scherer
397d6f7372 ICU-8167 make trie iterators nested classes inside their tries
X-SVN-Rev: 29272
2011-01-06 18:40:26 +00:00
Markus Scherer
62306a038c ICU-8167 rename ByteTrie to BytesTrie, DictTrie to StringTrie, etc.
X-SVN-Rev: 29265
2011-01-05 21:05:47 +00:00
Andy Heninger
345c295b0f ICU-8199 Fix compilation errors on MacOSX introduced by previous commit of these files
X-SVN-Rev: 29260
2011-01-04 19:01:12 +00:00
Andy Heninger
7a2d96c7c8 ICU-8199 Fix use of out-of-scope object in DigitList, and related rounding problems in Formattable::getInt64
X-SVN-Rev: 29259
2011-01-04 07:42:32 +00:00
Markus Scherer
c04082d93c ICU-8105 hardcode Unicode property names data (formatVersion 2); includes new dictionary-type tries (ByteTrie & UCharTrie see ticket #8167); merge branches/markus/tries -r 29040:29249
X-SVN-Rev: 29252
2010-12-31 18:21:36 +00:00
Claire Ho
4c38ef650d ICU-7385 changed ECurrencySpacing into a C enum.
X-SVN-Rev: 29212
2010-12-15 23:46:53 +00:00
Michael Ow
22b88a2cf3 ICU-8209 Update the timebombs.
X-SVN-Rev: 29192
2010-12-10 22:21:51 +00:00
Michael Ow
3261e6d703 ICU-7089 Add test for Calendar class time stamp recalculation in ICU4C
X-SVN-Rev: 29164
2010-12-07 23:46:13 +00:00
Michael Ow
642c2f0f68 ICU-8083 Update locale test for r29153
X-SVN-Rev: 29157
2010-12-03 20:39:32 +00:00
Markus Scherer
0627cc5c5a ICU-8137 fix u_strFromPunycode(), write last non-ASCII character into dest buffer when it just so fits
X-SVN-Rev: 29029
2010-11-12 00:02:25 +00:00
Michael Ow
b21e2734dd ICU-8146 Add check for data loading failure in cintltst and intltest.
X-SVN-Rev: 29025
2010-11-11 05:37:40 +00:00
Yoshito Umaoka
ac17fa57d6 ICU-8046 Accidentaly changed timbbomb for debugging in the previous change - revert the timebomb.
X-SVN-Rev: 28977
2010-11-02 03:03:47 +00:00
Yoshito Umaoka
685d7f1862 ICU-8046 Use sprintf instead of snprintf for better platform support.
X-SVN-Rev: 28968
2010-11-01 22:47:52 +00:00
Markus Scherer
a880b11b88 ICU-7924 fix segfault in StringPiece::operator==(both empty)
X-SVN-Rev: 28954
2010-10-29 18:01:01 +00:00
Markus Scherer
334ad85355 ICU-8091 fix UnicodeString::reverse() for when the only lead surrogate is in the middle of an odd-length string
X-SVN-Rev: 28952
2010-10-29 00:15:27 +00:00
Peter Edberg
d187b1cc1b ICU-8046 For Windows use _snprintf instead of snprintf
X-SVN-Rev: 28949
2010-10-28 21:47:20 +00:00
Peter Edberg
c104085f55 ICU-7744 Remove no-longer-needed timebomb
X-SVN-Rev: 28938
2010-10-28 17:49:07 +00:00
Peter Edberg
6dba897cff ICU-8046 Update timebombs
X-SVN-Rev: 28937
2010-10-28 17:44:02 +00:00
Peter Edberg
8c2725adc2 ICU-8081 Investigate failing string search tests; improve tests
X-SVN-Rev: 28925
2010-10-27 07:04:49 +00:00
Peter Edberg
c8765bfe77 ICU-8077 Remove isLenient/setLenient from Format, etc. (revert #7725)
X-SVN-Rev: 28916
2010-10-26 18:11:13 +00:00
Peter Edberg
5b132df167 ICU-8046 CLDR 1.9 integration pass 2, update C tests
X-SVN-Rev: 28901
2010-10-25 06:31:21 +00:00
Peter Edberg
d841f7254d ICU-7992 DateTimePatternGenerator, fix matching for weekday name
X-SVN-Rev: 28884
2010-10-20 22:06:10 +00:00
Yoshito Umaoka
4e8f6e1ed2 ICU-7518 Workaround for 24:00 on a transition day problem. Use 23:59:59.999 as the transition time. iCal VTIMEZONE is not capable to handle such rule. Also a minor bug fix in BasicTimeZone::hasEquivalentTransitions which was found while updating the test case. This fix is equivalent to the ICU4J fix r28879.
X-SVN-Rev: 28880
2010-10-20 07:46:11 +00:00
Markus Scherer
d29bfdf854 ICU-7264 UCA 6.0 data, test data, and bug fixes; from branches/markus/uca60 -r 28826:28857
X-SVN-Rev: 28875
2010-10-19 21:48:04 +00:00
Jie J. Yang
396f2a8f3a ICU-7902 TimeUnitFormat uses unlocalized short time units for Greek, icu4c part
X-SVN-Rev: 28872
2010-10-19 08:28:02 +00:00
Peter Edberg
0cc2fd091f ICU-8046 CLDR 1.9 integration pass 1, update tests
X-SVN-Rev: 28867
2010-10-19 03:31:50 +00:00
Claire Ho
e28ad3610d ICU-7385 rollback the changeset#28856. Hold the change until reviewed by icu-design list.
X-SVN-Rev: 28864
2010-10-19 01:27:56 +00:00
Claire Ho
51689f4071 ICU-7385 changed ECurrencySpacing into a C enum.
X-SVN-Rev: 28856
2010-10-18 23:09:02 +00:00
Andy Heninger
4efdb1090d ICU-7555 regexp does not recognize [:word:]
X-SVN-Rev: 28854
2010-10-18 20:08:27 +00:00
Andy Heninger
c05e310791 ICU-8044 Spoof Detection data update to latest from Unicode.
X-SVN-Rev: 28838
2010-10-15 00:01:43 +00:00
Andy Heninger
69a7b1ea42 ICU-6545 Allow regex reset to the end of a string
X-SVN-Rev: 28801
2010-10-12 22:52:51 +00:00
Michael Ow
2333b126c1 ICU-6845 Improve the code coverage in ICU4C.
X-SVN-Rev: 28790
2010-10-12 16:38:38 +00:00
Steven R. Loomis
adb11cba8d ICU-8028 update version number to milestone:4.6, bump timebombs, etc
X-SVN-Rev: 28785
2010-10-09 01:23:28 +00:00
Andy Heninger
eca1ad4fc5 ICU-7991 Fix memory leak in NumberFormatTest.
X-SVN-Rev: 28718
2010-09-28 23:01:24 +00:00
Andy Heninger
4997366db1 ICU-7987 Fix memory leak in intltest normalize
X-SVN-Rev: 28704
2010-09-27 18:47:37 +00:00
Peter Edberg
8cab1047c4 ICU-7965 th uses legacy clusters with 0E33 0EB3 added to Extend; remove test timebomb
X-SVN-Rev: 28663
2010-09-21 03:38:50 +00:00