Commit Graph

304 Commits

Author SHA1 Message Date
Andy Heninger
c356adbd4e ICU-11439 Another stab at portability in NumberFormatTest::TestDoubleLimit11439().
X-SVN-Rev: 36895
2014-12-19 01:11:01 +00:00
Andy Heninger
a1d3e7d662 ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36894
2014-12-19 00:22:05 +00:00
Andy Heninger
ff85125d2f ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36893
2014-12-18 22:46:45 +00:00
John Emmons
ad5308aa12 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36850
2014-12-11 16:10:49 +00:00
Peter Edberg
92a7528223 ICU-11173 CLDR tags/release-26-d03 into ICU4C trunk, remove logKnownIssue 11219, fix test for cldrbug:7868
X-SVN-Rev: 36377
2014-09-06 06:15:08 +00:00
Peter Edberg
1b8eb15e1a ICU-11173 CLDR tags/release-26-d01 into ICU4C trunk with related test & lib code updates
X-SVN-Rev: 36313
2014-09-02 23:18:20 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Michael Ow
b1de9c0f30 ICU-10842 Fix header test failures, fix no data test errors, and update file properties
X-SVN-Rev: 35982
2014-07-02 05:09:05 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
Peter Edberg
24a8cc84f4 ICU-5186 Make DecimalFormat::operator== much more complete
X-SVN-Rev: 35312
2014-03-04 05:54:16 +00:00
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +00:00
Travis Keep
e3e20601c0 ICU-10547 Remove extra code from tests added there to help me debug.
X-SVN-Rev: 35197
2014-02-21 22:34:29 +00:00
Travis Keep
fcde5a4621 ICU-10547 Format -0.0 as a negative when using scientific notation.
X-SVN-Rev: 35196
2014-02-21 20:41:39 +00:00
Travis Keep
897a4241a5 ICU-10682 Fix memory leak in trunk.
X-SVN-Rev: 35087
2014-02-06 00:44:13 +00:00
Travis Keep
25c7ba8e57 ICU-10682 Fix clone, copy constructor, and assignment operator in RulesBasedNumberFormat.
X-SVN-Rev: 35085
2014-02-06 00:34:24 +00:00
Travis Keep
0a42d4959f ICU-10640 Add C++ MeasureFormat API.
X-SVN-Rev: 35069
2014-02-04 00:29:17 +00:00
Michael Ow
4e806c800e ICU-10483 Fix no data test errors in ICU4C 53m1
X-SVN-Rev: 34979
2014-01-22 21:20:24 +00:00
Andy Heninger
cabbcecf5c ICU-10624 Swat clang compile warnings.
X-SVN-Rev: 34861
2014-01-10 19:20:16 +00:00
Peter Edberg
908bae8ff8 ICU-10609 Fix test failures only found in clean build, missed in incremental build (hmm)
X-SVN-Rev: 34816
2013-12-23 06:07:15 +00:00
Travis Keep
e1a7ad244f ICU-10545 Added test to verify rounding scientific notation works.
X-SVN-Rev: 34660
2013-11-14 18:57:06 +00:00
Travis Keep
9fa0f4299d ICU-10468 Fix applyPattern so that it resets the padding character.
X-SVN-Rev: 34578
2013-10-17 18:44:44 +00:00
Travis Keep
18b6e9fc60 ICU-10419 Fix rounding in NumberFormat.
X-SVN-Rev: 34549
2013-10-10 21:49:53 +00:00
Steven R. Loomis
4650ca64e3 ICU-7912 commit from review comments (thx)
X-SVN-Rev: 34416
2013-09-20 05:00:30 +00:00
Michael Ow
4835d5705a ICU-10398 Ensure cintltst and intltest passes without data
X-SVN-Rev: 34398
2013-09-19 02:32:57 +00:00
Michael Ow
6bef61a350 ICU-10161 Delete number format after use
X-SVN-Rev: 34269
2013-09-11 17:49:34 +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
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
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
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
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
38eb17d4d0 ICU-10222 Fix failing tests in NumberFormatTest.
X-SVN-Rev: 33916
2013-07-11 20:49:11 +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
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
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
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
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
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
Andy Heninger
ae4350661b ICU-10048 Fix some compiler warnings in ICU4C.
X-SVN-Rev: 33444
2013-03-21 01:42:01 +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
Steven R. Loomis
736010a456 ICU-9655 move enumset test
X-SVN-Rev: 32934
2012-12-07 00:26:50 +00:00
Steven R. Loomis
4297072ccd ICU-9714 now builds clean on IBM i- fix some test cases for ASCIIsms, fix formattable buffer size
X-SVN-Rev: 32905
2012-11-29 01:09:50 +00:00
Michael Ow
e0d218d5b6 ICU-9613 Remove myEnum:: prefix
X-SVN-Rev: 32626
2012-10-12 22:47:38 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +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
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
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
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
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
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
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
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
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
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
867185c5c7 ICU-8846 Merge CLDRv21M1 data into ICU
X-SVN-Rev: 30755
2011-09-29 21:52:25 +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
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
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
John Emmons
c651458559 ICU-8656 Implement NumberingSystem::getAvailableNames()
X-SVN-Rev: 30476
2011-08-08 16:03:37 +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
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
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
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
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
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
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
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
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
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
John Emmons
4b8773457a ICU-8031 Support for parent locales
X-SVN-Rev: 29443
2011-02-16 13:46:19 +00:00
Andy Heninger
eca1ad4fc5 ICU-7991 Fix memory leak in NumberFormatTest.
X-SVN-Rev: 28718
2010-09-28 23:01:24 +00:00
Michael Ow
24055f8585 ICU-7882 Enable BCP47 ids and update a few test cases in ICU4C.
X-SVN-Rev: 28503
2010-08-20 20:11:37 +00:00
John Emmons
1974269a6f ICU-7724 Merge support for non-contiguous numbering systems
X-SVN-Rev: 28466
2010-08-13 21:23:00 +00:00
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
Michael Ow
2f72159ffb ICU-7784 Fix tests that run incorrectly without data.
X-SVN-Rev: 28369
2010-07-26 22:02:42 +00:00
Michael Ow
0e8df2ba58 ICU-7784 Set some test failure errors as data loading error appropriate.
X-SVN-Rev: 28305
2010-07-14 16:09:03 +00:00
Jason Spieth
6f718f78eb ICU-7654 Merge branch into trunk.
X-SVN-Rev: 28282
2010-07-06 16:35:34 +00:00
John Emmons
f3fddb37d8 ICU-7751 Fix error handling in NumberingSystem::createInstance()
X-SVN-Rev: 28280
2010-07-01 21:41:48 +00:00
John Emmons
72d8a8f889 ICU-7734 Merge CLDR 1.9M1 data into ICU
X-SVN-Rev: 28169
2010-06-10 17:54:04 +00:00
Michael Ow
02d425a86a ICU-7599 Delete NumberFormat instances after test to avoid memory leaks.
X-SVN-Rev: 28164
2010-06-09 15:43:11 +00:00