Commit Graph

243 Commits

Author SHA1 Message Date
Steven R. Loomis
0783cab36c ICU-6406 stray #include - otherwise it already works
X-SVN-Rev: 27217
2010-01-12 02:07:15 +00:00
Doug Felt
52c23e0a47 ICU-6192 add support for getting field positions to NumberFormat and DateFormat
X-SVN-Rev: 27093
2009-12-17 22:15:20 +00:00
Doug Felt
d62a45c0bc ICU-7232 merge branch/dougfelt/datasplit at revision 26862 into trunk
X-SVN-Rev: 26884
2009-11-12 21:53:42 +00:00
Michael Ow
db7bee4491 ICU-7074 Fix non-ascii characters in source code.
X-SVN-Rev: 26745
2009-10-05 21:44:02 +00:00
Michael Ow
1ad7caa833 ICU-6991 Remove unneeded error code check and other errors.
X-SVN-Rev: 26608
2009-09-07 07:09:52 +00:00
Michael Ow
c69b37b9c8 ICU-6991 Fix redeclaration error.
X-SVN-Rev: 26607
2009-09-07 04:26:04 +00:00
John Vu
d617aa5932 ICU-6991 Code coverage for missing functions in NumberingSystem and Collator.
X-SVN-Rev: 26606
2009-09-04 22:14:57 +00:00
John Vu
222da0d6ad ICU-6991 Code coverage for missing functions in Calendar and NumberFormat.
X-SVN-Rev: 26602
2009-09-04 17:15:03 +00:00
John Emmons
42da1f8d6b ICU-6979 Integrate CLDR 1.7.1
X-SVN-Rev: 26138
2009-06-22 17:00:28 +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
Michael Ow
f5f04a1928 ICU-6554 Use static variable when searching for tzfile and delete allocated pointer in numfmtst.
X-SVN-Rev: 25798
2009-04-16 20:56:04 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
John Emmons
1a390c1bfa ICU-6771 CLDR 1.7 Integration - release-1-7-d01
X-SVN-Rev: 25750
2009-04-10 07:47:09 +00:00
John Emmons
59e662ea7c ICU-6770 CLDR 1.7 integration snapshot - phase 1
X-SVN-Rev: 25576
2009-03-13 03:21:29 +00:00
Xiaomei Ji
1f2dcc4fb2 ICU-6433 currency parsing, case sensitive against symbol and ISO, case insensitive against name; parse against plural pattern using names only
X-SVN-Rev: 25540
2009-03-10 20:53:27 +00:00
Xiaomei Ji
6ed81b63d3 ICU-6433 improve currency parsing, fix parsing bug on non-empty suffix, fix plural format bug on non-empty negagtive numberpattern
X-SVN-Rev: 25497
2009-02-28 02:07:55 +00:00
Xiaomei Ji
45071a142b ICU-6433 from branch to trunk for API slush
X-SVN-Rev: 25399
2009-02-12 22:55:29 +00:00
John Emmons
12a4ad5e0f ICU-6694 Fix to numfmt testcase so it doesn't assume decimfmt on rbnfs
X-SVN-Rev: 25290
2009-01-22 20:56:32 +00:00
John Emmons
6070262c2f ICU-6694 Implementation of numbering systems and the @numbers keyword
X-SVN-Rev: 25285
2009-01-22 04:46:35 +00:00
John Emmons
4d161ddedc ICU-6256 Integrate CLDR 1.6 release 1-6-d01 + a few minor fixes
X-SVN-Rev: 24257
2008-06-20 22:19:23 +00:00
Eric Mader
a8678f38b6 ICU-6337 Use invariant code page to create UnicodeStrings from string literals that contain "\\".
X-SVN-Rev: 24201
2008-06-17 00:55:35 +00:00
John Emmons
1ee6fd5b02 ICU-6256 Integrate 1.6 data - 2nd run
X-SVN-Rev: 24124
2008-06-07 20:46:42 +00:00
Michael Ow
b02865cecf ICU-2498 Make intltest pass w/o data.
X-SVN-Rev: 23784
2008-04-10 23:19:16 +00:00
George Rhoten
01ad058ec8 ICU-5966 Fix some compiler warnings
X-SVN-Rev: 23365
2008-02-07 17:36:15 +00:00
Andrew J Macheret
7a0b18985e ICU-5491 fixed a problem with negative multipliers, added tests for it
X-SVN-Rev: 23351
2008-02-05 04:25:48 +00:00
Andrew J Macheret
6c2161e7bd ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23228
2008-01-14 20:10:54 +00:00
George Rhoten
278ac82268 ICU-5955 Fix a memory leak.
X-SVN-Rev: 23040
2007-12-07 02:15:17 +00:00
George Rhoten
a904086007 ICU-5343 Code formatting fixes.
X-SVN-Rev: 22563
2007-08-29 07:09:37 +00:00
Eric Mader
6a6f3feb6b ICU-5871 Fix crashes found running intltest w/o ICU data.
X-SVN-Rev: 22477
2007-08-23 01:19:39 +00:00
Michael Ow
c9e968fbba ICU-5343 Port over TestRounding from ICU4J to ICU4C.
X-SVN-Rev: 22473
2007-08-22 19:58:25 +00:00
John Emmons
e4726d7ed3 ICU-5761 CLDR 1.5 data integration
X-SVN-Rev: 22154
2007-07-26 17:24:12 +00:00
George Rhoten
fd263f86cf ICU-5279 Hide DigitList
X-SVN-Rev: 21816
2007-06-24 03:19:59 +00:00
John Emmons
83c612fed0 ICU-5486 CLDR 1.5 pre-vetting merge for M2
X-SVN-Rev: 21815
2007-06-22 23:57:38 +00:00
George Rhoten
8923f76414 ICU-5410 Improve code coverage.
X-SVN-Rev: 21722
2007-06-13 19:18:57 +00:00
George Rhoten
fc9cf24a18 ICU-5741 Test and fix cloning of Win32NumberFormat and Win32DateFormat
X-SVN-Rev: 21708
2007-06-12 05:20:11 +00:00
Eric Mader
9818e3785e ICU-5643 ucurrGetName: se uresb_getByKeyWithFallback to lookup Currency code. Add tests for fallback and default warnings, and for unknown currency code.
X-SVN-Rev: 21228
2007-03-12 19:53:42 +00:00
George Rhoten
5af26cd5a7 ICU-5566 Fix some test failures due to CLDR update.
X-SVN-Rev: 21159
2007-03-05 18:53:01 +00:00
George Rhoten
e7c4c6c19f ICU-5566 Fix some test failures due to CLDR update.
X-SVN-Rev: 21158
2007-03-05 18:41:34 +00:00
George Rhoten
d6e59fa634 ICU-5032 Increase code coverage
X-SVN-Rev: 19917
2006-07-28 19:35:12 +00:00
Deborah Goldsmith
de8c6c14f3 ICU-4985 currency rounding/fractions no longer ignored
X-SVN-Rev: 19604
2006-05-03 00:00:34 +00:00
George Rhoten
2d662cf06c ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19447
2006-03-26 01:09:16 +00:00
Eric Mader
ed5ad9b463 ICU-4152 Initial checkin of tests. Aslo bug fixes for bugs that the tests found!
X-SVN-Rev: 19016
2006-01-23 23:25:00 +00:00
Ram Viswanadha
0bdf064c1d ICU-3832 Add support for monetary grouping separator
X-SVN-Rev: 18960
2006-01-09 23:03:31 +00:00
George Rhoten
a96e9f5339 ICU-4452 An EBCDIC fix, an HP-UX/Solaris compiler warning fix, and a possible Free BSD compiler error fix.
X-SVN-Rev: 18295
2005-07-19 21:37:26 +00:00
George Rhoten
766fb06f3c ICU-4559 Fix memory leaks
X-SVN-Rev: 18271
2005-07-18 17:11:32 +00:00
Ram Viswanadha
7d1fac1020 ICU-4452 add coverage tests
X-SVN-Rev: 18251
2005-07-14 23:24:38 +00:00
Ram Viswanadha
5c3d31658d ICU-4354 make intltest pass with no data
X-SVN-Rev: 18140
2005-07-05 18:39:00 +00:00
George Rhoten
cdccbad7a5 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 18108
2005-07-01 04:25:15 +00:00
Ram Viswanadha
bf8b9dad77 ICU-4452 improve api coverage
X-SVN-Rev: 18103
2005-06-30 22:45:24 +00:00
Eric Mader
5dc3d7c9d4 ICU-4561 Update copyright notices for ICU 3.4
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Deborah Goldsmith
da83c2f563 ICU-4536 return default on fallback to root
X-SVN-Rev: 17780
2005-06-02 20:56:20 +00:00
Deborah Goldsmith
5e2bae8909 ICU-4239 test fixes for warnings from ucurr_getName
X-SVN-Rev: 17767
2005-06-01 17:45:25 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
Ram Viswanadha
a0611c7e7a ticket: 4092: revert the changes
X-SVN-Rev: 16665
2004-10-29 00:24:42 +00:00
GCL Shanghai
37862ea9bc ICU-4092 Add API/Method Coverage tests for ICU
X-SVN-Rev: 16652
2004-10-28 14:43:05 +00:00
George Rhoten
9fe39e1c8c ICU-3805 Break putil.h/utypes.h header file dependancy loop
X-SVN-Rev: 16529
2004-10-18 02:43:33 +00:00
Steven R. Loomis
be8e4abcfe ICU-3938 fix to test err message
X-SVN-Rev: 16419
2004-10-07 21:32:53 +00:00
Steven R. Loomis
164b735f3f ICU-3938 CLDR 1.2 test updates
X-SVN-Rev: 16384
2004-10-01 21:07:02 +00:00
George Rhoten
017c34c872 ICU-3837 Add UCONFIG_NO_SERVICE
X-SVN-Rev: 16036
2004-07-18 02:02:06 +00:00
George Rhoten
437efd9802 ICU-3500 Fix some compiler warnings
X-SVN-Rev: 15745
2004-06-05 06:54:01 +00:00
Alan Liu
638c585a53 ICU-3811 add regression test for ucurr_getName
X-SVN-Rev: 15733
2004-06-04 22:33:20 +00:00
Ram Viswanadha
d95bb2171f ICU-3635 handle _PREEURO correctly
X-SVN-Rev: 15680
2004-06-03 17:44:02 +00:00
Eric Mader
004268d484 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15414
2004-05-19 21:36:51 +00:00
Alan Liu
1db13e2b86 ICU-2825 add Measure, MeasureUnit, CurrencyUnit, and CurrencyAmount classes, and operate through them
X-SVN-Rev: 15059
2004-04-27 21:47:09 +00:00
Alan Liu
461f739085 ICU-2825 first implementation of MeasureFormat
X-SVN-Rev: 15015
2004-04-21 18:05:06 +00:00
Alan Liu
9cca22e331 ICU-2825 add support for formatting and parsing currency amounts
X-SVN-Rev: 14978
2004-04-15 06:20:42 +00:00
Alan Liu
06c4bd41f3 ICU-3667 prefer UErrorCode& to UErrorCode* in C++ API
X-SVN-Rev: 14785
2004-03-27 04:49:02 +00:00
Alan Liu
2dae948bb0 ICU-2334 implement significant digits
X-SVN-Rev: 14762
2004-03-25 17:42:28 +00:00
Alan Liu
c01a6bdc37 ICU-3089 add generic legal/illegal pattern test; disallow unquoted specials in suffix
X-SVN-Rev: 14556
2004-02-20 19:40:31 +00:00
Alan Liu
62b974ace2 ICU-3399 add UErrorCode to setCurrency
X-SVN-Rev: 14511
2004-02-13 01:56:38 +00:00
Alan Liu
967064db9c ICU-3090 add regression test to prove 3090 is user error
X-SVN-Rev: 14489
2004-02-12 01:10:19 +00:00
George Rhoten
18177bc8a7 ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 13907
2003-12-01 06:21:08 +00:00
Doug Felt
562a37641a ICU-813 int64 formatting support
X-SVN-Rev: 13757
2003-11-19 04:42:44 +00:00
Vladimir Weinstein
09d453333b ICU-3382 change ucurr_forLocale to take a fill in parameter
X-SVN-Rev: 13719
2003-11-13 23:24:45 +00:00
Steven R. Loomis
4bf5948613 ICU-3357 use constants instead of bare values
X-SVN-Rev: 13580
2003-11-05 02:09:05 +00:00
Doug Felt
29e65256c7 ICU-813 fix for linux builds
X-SVN-Rev: 13560
2003-11-04 01:55:54 +00:00
Doug Felt
fbcedaebe2 ICU-813 numformat test fix
X-SVN-Rev: 13557
2003-11-04 00:42:37 +00:00
Doug Felt
e5a79dc60c ICU-813 int64 formatting support
X-SVN-Rev: 13547
2003-10-31 22:47:25 +00:00
Doug Felt
3f812b4d59 ICU-2552 number of zeros
X-SVN-Rev: 13520
2003-10-29 00:20:05 +00:00
George Rhoten
f1e3bc6923 ICU-3178 Fix a gcc compiler optimization bug that was uncovered
X-SVN-Rev: 13480
2003-10-23 21:35:40 +00:00
George Rhoten
edabd1f1ab ICU-3061 Handle _EURO and _PREEURO locale variants better
X-SVN-Rev: 12562
2003-06-25 16:56:37 +00:00
George Rhoten
6c952cb83d ICU-3053 Porting changes for MPRAS
X-SVN-Rev: 12552
2003-06-23 23:16:10 +00:00
Vladimir Weinstein
4df42a86bb ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12340
2003-06-06 04:54:34 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Alan Liu
c6c5b18a6d ICU-2889 fix adoptDecimalFormatSymbols
X-SVN-Rev: 12111
2003-05-26 20:21:40 +00:00
Alan Liu
2cfab5c915 ICU-2882 update tests for currency data changes
X-SVN-Rev: 12073
2003-05-23 11:29:17 +00:00
George Rhoten
9dc37beb84 ICU-2039 Add a special hard to find test case when decimal format symbols are requested from a locale that causes the ures_* API to fail.
X-SVN-Rev: 11848
2003-05-08 23:17:49 +00:00
Doug Felt
9dbfa5f995 ICU-2821 update currency registration to not use service, no fallback,
and country names + only EURO/PRE_EURO variants.

X-SVN-Rev: 11727
2003-04-29 16:55:44 +00:00
Doug Felt
4dc960f3a4 ICU-2821 service registration for currency
X-SVN-Rev: 11706
2003-04-25 18:02:09 +00:00
Vladimir Weinstein
1a90426971 ICU-2765 renamed confusing testDigitListAPI to testDigitList. DigitList is not a part of the API
X-SVN-Rev: 11628
2003-04-23 05:23:01 +00:00
Alan Liu
1f636472c2 ICU-2119 add tests for complex currency
X-SVN-Rev: 11615
2003-04-21 22:48:41 +00:00
Alan Liu
b8bac331e6 ICU-2119 enhance and cleanup tests; add more parsing checks
X-SVN-Rev: 11608
2003-04-21 19:16:38 +00:00
Alan Liu
44840b3223 ICU-2119 update and reorganize currency data
X-SVN-Rev: 11517
2003-04-11 19:34:13 +00:00
Alan Liu
403e3c64a2 ICU-2154 standardize whitespace handling by date/number format
X-SVN-Rev: 11460
2003-04-04 20:55:10 +00:00
George Rhoten
bef9018f7e ICU-2118 DigitList is a utility class because some of its fields are public.
It should derive from UMemory instead of UObject because of this, and some of its RTTI info should be removed.

X-SVN-Rev: 10409
2002-11-30 02:43:51 +00:00
Doug Felt
391ae83bc5 ICU-2118 digitlist API coverage
X-SVN-Rev: 10340
2002-11-22 18:17:42 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00
Alan Liu
08ad15127c ICU-1884 remove debug line
X-SVN-Rev: 9468
2002-07-31 19:34:41 +00:00
Alan Liu
55386dbaf5 ICU-1884 remove unused var
X-SVN-Rev: 9467
2002-07-31 19:29:42 +00:00
Alan Liu
e30eecf51d ICU-1884 add test for currency patterns
X-SVN-Rev: 9465
2002-07-31 19:17:34 +00:00
Alan Liu
29f886f412 ICU-1097 move currency.* to ucurr.* and change ISO code parameters from char* to UChar*
X-SVN-Rev: 9049
2002-07-08 17:57:10 +00:00
Alan Liu
51c435ce06 ICU-1097 change API to C
X-SVN-Rev: 8633
2002-05-15 18:52:20 +00:00
Alan Liu
d5c7b20828 ICU-1097 use a char* for the currency code
X-SVN-Rev: 8625
2002-05-14 23:24:58 +00:00
Alan Liu
1c06c38715 ICU-1097 tests of UCurrency
X-SVN-Rev: 8600
2002-05-13 19:37:37 +00:00
George Rhoten
7bc5d45c83 ICU-1811 Increase the code coverage of Locale:get methods
X-SVN-Rev: 8255
2002-03-26 23:18:57 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
George Rhoten
c1c6ae2e8c ICU-837 Test the lower case "e" for the exponent normally.
X-SVN-Rev: 7784
2002-02-25 22:51:51 +00:00
Vladimir Weinstein
004feb34d1 ICU-1005 increase code coverage for NumberFormat
X-SVN-Rev: 7140
2001-11-28 22:28:16 +00:00
George Rhoten
d4308b3364 ICU-1211 Fix for AIX 4.2 optimization.
X-SVN-Rev: 6411
2001-10-24 02:43:31 +00:00
Ram Viswanadha
91aafed6db ICU-1203 Update tests with Pre-Euro.
X-SVN-Rev: 6216
2001-10-12 19:30:13 +00:00
George Rhoten
e1f85c06ea ICU-513 Test for percentInstance
X-SVN-Rev: 6125
2001-10-09 00:24:34 +00:00
George Rhoten
7353ac4a23 ICU-513 Test for surrogate support
X-SVN-Rev: 5842
2001-09-20 21:34:19 +00:00
George Rhoten
4e351c0c81 ICU-513 Don't use the deprecated API anymore.
X-SVN-Rev: 5756
2001-09-17 21:50:19 +00:00
George Rhoten
3c6aa96907 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4400
2001-03-29 20:32:09 +00:00
Ram Viswanadha
7f6d7e256f ICU-903 update copyright notices
X-SVN-Rev: 4235
2001-03-21 20:09:56 +00:00
George Rhoten
65baa76e0a ICU-597 Use epsilon matching for os400 like on s/390
X-SVN-Rev: 3998
2001-03-09 19:01:57 +00:00
George Rhoten
bd3c0f2c2b ICU-760 Remove the version check
X-SVN-Rev: 3688
2001-02-20 17:33:05 +00:00
George Rhoten
22fae0356b ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3602
2001-02-10 02:36:27 +00:00
George Rhoten
259d066199 ICU-97 Put even more detail into the error messages
X-SVN-Rev: 3473
2001-01-24 02:42:26 +00:00
George Rhoten
fa17ea33ee ICU-97 Put more detail into the error message
X-SVN-Rev: 3349
2001-01-02 22:56:30 +00:00
George Rhoten
e07e571351 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3258
2000-12-16 02:27:00 +00:00
George Rhoten
c346349b12 ICU-760 Fix for Solaris compiler error
X-SVN-Rev: 3161
2000-12-07 00:56:42 +00:00
George Rhoten
c1e3b2ae05 ICU-760 Added more testing. The disabled test may be wrong.
X-SVN-Rev: 3159
2000-12-06 18:44:53 +00:00
George Rhoten
a15b66a53d ICU-535 fixed some compiler warnings
X-SVN-Rev: 2339
2000-08-23 19:11:16 +00:00
George Rhoten
3f8dc67cfb ICU-535 fixed some compiler warnings
X-SVN-Rev: 2250
2000-08-15 02:12:47 +00:00
George Rhoten
2dbb8812ba ICU-535 fixed some compiler warnings
X-SVN-Rev: 2226
2000-08-14 21:42:36 +00:00
Markus Scherer
b2375850b7 ICU-241 remove obsolete T_INT32()
X-SVN-Rev: 1704
2000-06-29 18:42:34 +00:00
Steven R. Loomis
f6832a4b0c ICU-417 fix for build on linux
X-SVN-Rev: 1583
2000-06-07 16:32:15 +00:00
Alan Liu
9694cc2a1e ICU-417 add tests for secondary grouping size
X-SVN-Rev: 1581
2000-06-07 00:17:23 +00:00
Yves Arrouye
ffb28a867e ICU-176 made UnicodeString arguments to expectPad const
X-SVN-Rev: 1549
2000-06-02 00:46:22 +00:00
Madhu K
9732ece0cc ICU-176 Tests for new API for UTF-16 basic support in
Format(DecimalFormat)

X-SVN-Rev: 1534
2000-06-01 18:46:31 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Markus Scherer
bba7ac1a00 ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1052
2000-04-03 23:53:59 +00:00
Markus Scherer
fb52c91781 ICU-315 more S/390 and EBCDIC changes
X-SVN-Rev: 1045
2000-03-31 22:02:12 +00:00
Alan Liu
94cca6161d ICU-315 make test epsilon-based for 390
X-SVN-Rev: 933
2000-03-09 19:15:39 +00:00
Alan Liu
9f4e14cf3d ICU-315 remove EBCDIC-incompatible char constants and made compatible with S/390 numerics
X-SVN-Rev: 907
2000-03-07 18:41:50 +00:00
Helena Chapman
3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00
Vladimir Weinstein
8b20f17f49 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 473
1999-12-28 23:57:50 +00:00
Helena Chapman
16ac11f546 ICU-200 Updated with OS/400 specific port changes.
X-SVN-Rev: 459
1999-12-22 22:57:04 +00:00
Markus Scherer
54ba2e3819 ICU-170 use UnicodeString::length() instead of the deprecated size()
X-SVN-Rev: 339
1999-12-08 02:11:04 +00:00
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00