Commit Graph

102 Commits

Author SHA1 Message Date
Markus Scherer
d3315d98ef ICU-20783 use C++ covariant return types 2019-08-23 11:45:36 -07:00
Andy Heninger
c0f9d2eeef ICU-13807 ICU 62 No Data Testing fixes. Mostly to test code.
X-SVN-Rev: 41500
2018-06-01 01:19:38 +00:00
Shane Carr
d0d8535066 ICU-13717 Adds fast path for RBNF, which is not affect by min/max integer digits.
X-SVN-Rev: 41439
2018-05-23 04:03:19 +00:00
Markus Scherer
555c415e18 ICU-13529 minor test code cleanup
X-SVN-Rev: 40944
2018-02-17 00:19:25 +00:00
George Rhoten
d06d12896c ICU-13529 Make some changes based on review feedback.
X-SVN-Rev: 40939
2018-02-16 18:07:32 +00:00
George Rhoten
4bac703558 ICU-13529 Parsing of redundant rule matches is slow when parsing with RuleBasedNumberFormat
X-SVN-Rev: 40913
2018-02-13 23:48:48 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
George Rhoten
72280fb152 ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
Steven R. Loomis
2bf1e2f0c1 ICU-12701 more IBM i test fixes.
* intltest now builds.
* fix for unpax-icu.sh to include the utf-16be file.
* added an emacs coding line to 'encoded.utf16be'

X-SVN-Rev: 39304
2016-09-21 00:07:32 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
George Rhoten
d7e92f2c9a ICU-9503 Undo removal of lenient parse data. Only English wasn't moved to CLDR.
X-SVN-Rev: 38461
2016-03-02 08:16:29 +00:00
Fredrik Roubert
ebc0f5b22a ICU-12012 Replace all sizeof p / sizeof T with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/288320043 .

X-SVN-Rev: 38347
2016-02-24 21:48:56 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Michael Ow
fdd235d5e5 ICU-11917 Fix no data test errors in ICU4C 56
X-SVN-Rev: 37981
2015-09-22 04:02:11 +00:00
George Rhoten
e3e7183663 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37823
2015-08-26 10:42:17 +00:00
George Rhoten
e097e1b9ee ICU-8223 Add rule syntax for NaN, infinity and alternate decimal points.
Other issues addressed:
* Some performance enhancements were added for good measure. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing. This was ported from ICU4J.
* I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad. This was ported from ICU4J.
* I fixed a potential memory leak due to lazy initialization of some RBNF data members in a multithreaded environment, which is fine in Java, but it's not okay in C++. We no longer cast away const due to this, which is good.
* There were some compiler warnings and errors found while trying to debug this code on my machine. I fixed those too.

X-SVN-Rev: 37810
2015-08-25 16:55:52 +00:00
Michael Ow
9401ac86a0 ICU-11433 Fix some no data test failures
X-SVN-Rev: 37219
2015-03-11 21:09:25 +00:00
George Rhoten
54930e302a ICU-11532 Infinite loop while parsing an RBNF rule with plural format
X-SVN-Rev: 37105
2015-03-02 03:20:51 +00:00
Michael Ow
7e3befc1a6 ICU-10992 Ensure ICU4C 54 test suite passes without data
X-SVN-Rev: 36516
2014-09-15 21:51:57 +00:00
Scott Russell
38c650b526 ICU-10993 fix non-ascii characters
X-SVN-Rev: 36428
2014-09-10 13:59:41 +00:00
George Rhoten
e79ae82c7d ICU-11064 The approved ICU syntax has )$ being the end of the plural rule substitution.
X-SVN-Rev: 36208
2014-08-20 18:52:57 +00:00
George Rhoten
912521e5cf ICU-11064 Fix a roundtripping problem when the fractional part is non-zero.
X-SVN-Rev: 36203
2014-08-19 17:13:07 +00:00
George Rhoten
eda8266715 ICU-11064 Add syntax for PluralFormat in RBNF
X-SVN-Rev: 36197
2014-08-18 20:47:36 +00:00
George Rhoten
9360e089b0 ICU-1859 Fix memory leak.
X-SVN-Rev: 35662
2014-04-30 02:09:50 +00:00
George Rhoten
cd1202bbef ICU-1859 Fix a compiler error on AIX.
X-SVN-Rev: 35660
2014-04-29 21:34:42 +00:00
George Rhoten
cbc44d1d51 ICU-1859 Fix a compiler error on AIX.
X-SVN-Rev: 35659
2014-04-29 20:35:27 +00:00
George Rhoten
37cbf3a611 ICU-1859 All RBNF rules parse now. All spellout values roundtrip. Lenient roundtripping is still an issue.
X-SVN-Rev: 35658
2014-04-29 18:29:12 +00:00
Steven R. Loomis
1f3a6bc750 ICU-9744 add more known issues, fix #include issue, remove unused output parameter.
also, delete trailing whitespace.

X-SVN-Rev: 34347
2013-09-17 06:26:26 +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
John Emmons
340b47c297 ICU-9676 Merge CLDR release-22-1-d01
X-SVN-Rev: 32666
2012-10-19 03:36:01 +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
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
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
John Emmons
7a0d90c14e ICU-8556 Merge CLDR release-2-0-d02 data
X-SVN-Rev: 30101
2011-05-12 02:11:29 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +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
0cc2fd091f ICU-8046 CLDR 1.9 integration pass 1, update tests
X-SVN-Rev: 28867
2010-10-19 03:31:50 +00:00
Peter Edberg
1826002e52 ICU-7725 Hoist isLenient / setLenient to Format class (from DateFormat, RBNF)
X-SVN-Rev: 28170
2010-06-10 20:17:43 +00:00
Markus Scherer
98fd35991b ICU-7247 use almost every one of the LocalXyzPointer classes at least once
X-SVN-Rev: 26955
2009-11-20 06:28:25 +00:00
Michael Ow
149255373b ICU-7084 Fix TESTCASE redefinition compiler errors.
X-SVN-Rev: 26908
2009-11-14 22:08:42 +00:00
Michael Ow
c6385f6209 ICU-7068 Add statements to ensure that uconfigtest passes
X-SVN-Rev: 26466
2009-08-04 21:09:17 +00:00
Andy Heninger
d9bc692358 ICU-6998 Compiler warning fixes
X-SVN-Rev: 26109
2009-06-16 00:57:23 +00:00
Michael Ow
6b1f9ef27c ICU-6905 Make intltest pass without any data.
X-SVN-Rev: 26096
2009-06-12 19:34:21 +00:00
Yoshito Umaoka
82c2ed3b3a ICU-6896 Reverted the rbnf test case change in the previous change set. Locale 'ga' should be included for parsing test, although ga/spellout was excluded from parse in the library code.
X-SVN-Rev: 25973
2009-05-01 21:02:02 +00:00
John Emmons
1fffd46beb ICU-6896 Workaround to allow parsing of spellouts in Arabic, Hebrew, and Maltese
X-SVN-Rev: 25971
2009-05-01 20:30:31 +00:00
Yoshito Umaoka
8cdf11287c ICU-6896 Temporary workaround for RBNF crash problem for 4.2 release in ICU4C. Disabled RBNF spellout parse for some locales.
X-SVN-Rev: 25956
2009-04-30 07:24:02 +00:00
John Emmons
0f8cb83cc0 ICU-6839 CLDR 1.7 integration - release-1-7-d02
X-SVN-Rev: 25906
2009-04-24 20:34:20 +00:00
Yoshito Umaoka
67415cdce4 ICU-6534 The problem reported by #6534 does not exist in ICU4C. However, the test case written for J also tests other issues which are reproduced also in ICU4C. So I'm updating ICU4C RBNF test case to synchronize with ICU4J.
X-SVN-Rev: 25887
2009-04-23 07:11:58 +00:00