Commit Graph

2788 Commits

Author SHA1 Message Date
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
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
Markus Scherer
9cbd929fca ICU-7736 test and fix FilteredNormalizer2::getDecomposition()
X-SVN-Rev: 28163
2010-06-09 06:08:43 +00:00
Markus Scherer
82160e104c ICU-7736 add Normalizer2::getDecomposition(c)
X-SVN-Rev: 28161
2010-06-08 23:32:11 +00:00
Jason Spieth
ed8b9c462c ICU-7489 Add new performance test for time zone round trip testing. This test allows us to collect profiling data which can be used to evaluate future performance improvements.
X-SVN-Rev: 28154
2010-06-08 12:52:50 +00:00
John Emmons
bd2a89a232 ICU-7599 Add support for alternate symbols per numbering system
X-SVN-Rev: 28134
2010-06-04 18:29:02 +00:00
Peter Edberg
3249dbb71d ICU-7728 Time format using 'S' (fractional seconds) should truncate, not round.
X-SVN-Rev: 28130
2010-06-04 00:31:33 +00:00
Markus Scherer
0acda636e4 ICU-7722 build canonical-iterator data from nfc.nrm (port Java code to C++)
X-SVN-Rev: 28117
2010-06-01 06:10:26 +00:00
Yoshito Umaoka
eb3c9d6b4d ICU-7648 Not reporting an error even OS's GMT offset returned by uprv_timezone is not a multiple of 15 minutes. For now, we do not have a mechanism to handle such case (warning) systemtatically, so this change simply call logln to display the warning message.
X-SVN-Rev: 28114
2010-05-28 20:20:08 +00:00
Yoshito Umaoka
8096281cc9 ICU-7282 The problem reported by ticket#7282 is only reproduced in ICU4J. Just adding the equivalent test case to ICU4C.
X-SVN-Rev: 28112
2010-05-28 16:45:11 +00:00
Michael Ow
d83954e771 ICU-7718 Delete NumberFormat object after use in TestCompilerRTTI.
X-SVN-Rev: 28108
2010-05-27 20:23:49 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Steven R. Loomis
edcaca307a ICU-3030 show elapsed time in subtests. Add internal uprv_getRawUTCtime that doesn't go through faketime.
X-SVN-Rev: 28099
2010-05-25 19:55:05 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Markus Scherer
06c7d56b8e ICU-7684 add CheckedArrayByteSink::Reset()
X-SVN-Rev: 28067
2010-05-15 23:18:12 +00:00
Markus Scherer
0c2aec0b46 ICU-7683 add CheckedArrayByteSink::NumberOfBytesAppended()
X-SVN-Rev: 28066
2010-05-15 23:00:26 +00:00
Steven R. Loomis
d3172c2d68 ICU-7627 move dbgutil from ctestfw to toolutil ( merge from r28050 r28051 r28052 r28054 )
X-SVN-Rev: 28055
2010-05-12 17:56:02 +00:00
Peter Edberg
e2d45f564f ICU-7673 Fix to use #include "" for ICU includes, reorder as necessary
X-SVN-Rev: 28047
2010-05-11 06:08:15 +00:00
Michael Ow
43ab52b074 ICU-7650 Fix uconfig test errors in i18n library and test codes.
X-SVN-Rev: 28037
2010-05-07 07:28:47 +00:00
Steven R. Loomis
72e0726b24 ICU-7497 merge from r28026 and r28030
X-SVN-Rev: 28034
2010-05-06 22:22:38 +00:00
Michael Ow
c126788bab ICU-7592 Update the conversion data driven test cases and test code to handle new configuration for skipping test in ICU4J.
X-SVN-Rev: 28029
2010-05-06 19:05:52 +00:00
Peter Edberg
df7d633f59 ICU-7651 Add test case (segfaults without the fix in r27992)
X-SVN-Rev: 27994
2010-04-28 03:55:58 +00:00
John Emmons
bc9e38c998 ICU-7607 CLDR 1.8.1 integration
X-SVN-Rev: 27970
2010-04-22 17:39:04 +00:00
Yoshito Umaoka
a9544d7008 ICU-7586 Updated the time bombs in TimeZoneRuleTest.
X-SVN-Rev: 27960
2010-04-20 04:34:32 +00:00
Peter Edberg
f3c6395224 ICU-7616 Enable non-Gregorian calendars for DateIntervalFormat
X-SVN-Rev: 27947
2010-04-17 08:24:01 +00:00
Jason Spieth
cfb6018a50 ICU-7357 Allow date format parsing to handle ISO format. Properly parse the era and allow negative years to derive the era.
X-SVN-Rev: 27904
2010-04-06 18:04:27 +00:00
Michael Ow
a22a3ac92c ICU-6911 delete selectformat object after use.
X-SVN-Rev: 27832
2010-03-12 05:44:13 +00:00
Andy Heninger
90d4c6dfc4 ICU-7541 fix memory leaks in intltest regex
X-SVN-Rev: 27826
2010-03-11 23:43:03 +00:00
Andy Heninger
1aa327713c ICU-7537 fix memory leak in UTextTest
X-SVN-Rev: 27819
2010-03-11 19:27:10 +00:00
Yoshito Umaoka
321ecd77a9 ICU-7513 Fixing generic partial location format problem exposed by the CLDR 1.8 data. Also updated the test code to emit error log including more information.
X-SVN-Rev: 27813
2010-03-10 23:38:25 +00:00
Jason Spieth
79a1c517b9 ICU-4917 Remove code from trunk to be added to branch.
X-SVN-Rev: 27779
2010-03-04 21:15:43 +00:00
Jason Spieth
99fe830c00 ICU-4917 Improve ISO format handling of era and negative years
X-SVN-Rev: 27778
2010-03-04 16:55:29 +00:00
John Emmons
b5420d3d2b ICU-7431 CLDR 1.8 integration
X-SVN-Rev: 27776
2010-03-04 05:41:47 +00:00
Peter Edberg
da96c7e299 ICU-5193 Update the error log message to match the new sense of the test
X-SVN-Rev: 27744
2010-03-02 19:31:40 +00:00
Peter Edberg
5c95e88036 ICU-6830 Add tests with H.
X-SVN-Rev: 27719
2010-02-27 04:33:47 +00:00
Peter Edberg
ad87082ae1 ICU-7093 (merge from branch) Implement asymmetric search, add tests, kill some other warnings
X-SVN-Rev: 27714
2010-02-27 01:01:45 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Michael Ow
4b0b3ab1ef ICU-6911 Fix mismatch delete statement.
X-SVN-Rev: 27682
2010-02-25 20:38:07 +00:00
Yoshito Umaoka
d8aaf83b90 ICU-5624 Updated DateFormatRoundTripTest to support the case when the test date falls in the LMT era. Before 64bit time zone data support, PST uses -8:00 offset for dates before Nov 18, 1883.
X-SVN-Rev: 27675
2010-02-25 16:46:38 +00:00
Markus Scherer
5cb38459a6 ICU-7273 remove #include unormimp.h where not used any more
X-SVN-Rev: 27667
2010-02-25 00:21:02 +00:00
John Emmons
078862d761 ICU-6887 Fix day-of-month calculations in Islamic calendar - add back to limits test
X-SVN-Rev: 27665
2010-02-25 00:03:49 +00:00
Markus Scherer
1800062d38 ICU-7342 uldn_open(NULL) uses the default locale; and make LocaleDisplayNames extend UObject with RTTI
X-SVN-Rev: 27657
2010-02-24 22:29:08 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
Yoshito Umaoka
d79344d97d ICU-5624 64bit time zone transition support changes merged from Yoshito's work branch. Also updated time zone code to use region mapping data only from zoneinfo64 (so zoneFormatting data in supplementalData is no longer used).
X-SVN-Rev: 27644
2010-02-24 07:54:30 +00:00
Markus Scherer
bb591eb3a1 ICU-7273 remove u_growBufferFromStatic() -- using UnicodeString instead
X-SVN-Rev: 27608
2010-02-19 23:49:51 +00:00
Markus Scherer
049b68b40b ICU-7273 simplify caching code and add custom FCC test
X-SVN-Rev: 27593
2010-02-18 18:33:00 +00:00
John Emmons
ea6e8a0a72 ICU-7356 CLDR 1.8 data integration - first run
X-SVN-Rev: 27590
2010-02-18 14:30:15 +00:00
Markus Scherer
81234fecdb ICU-7273 add loading of custom data, with caching, test data and test code
X-SVN-Rev: 27578
2010-02-16 23:43:22 +00:00
Doug Felt
9f6f2d83d7 ICU-7342 enhance test
X-SVN-Rev: 27576
2010-02-16 18:21:52 +00:00
Peter Edberg
f308bffc8c ICU-4521 Disambiguate signatures for RegexPattern::matcher,RegexMatcher::group for 0 pointers; fix warnings
X-SVN-Rev: 27522
2010-02-09 20:17:52 +00:00
Steven R. Loomis
6d7cd2ba25 ICU-4521 remove breaking #include
X-SVN-Rev: 27492
2010-02-04 23:27:28 +00:00
Michael Grady
7a8d49ed32 ICU-4521 UText-based regex implementation (missed a file)
X-SVN-Rev: 27484
2010-02-03 03:44:06 +00:00
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Steven R. Loomis
6749bdc7b3 ICU-3931 fix breakage from r27453 - SelectFormat - new (UnicodeString(), status) - got err status U_DEFAULT_KEYWORD_MISSING
X-SVN-Rev: 27460
2010-01-30 07:12:52 +00:00
Kirti Velankar
883c9a2bdf ICU-3931 Code-review comments and removed default constructor -same as Java
X-SVN-Rev: 27453
2010-01-30 03:21:38 +00:00
Kirti Velankar
742d22d13e ICU-3931 Uncommented the invalid keywords test
X-SVN-Rev: 27450
2010-01-30 00:46:40 +00:00
Steven R. Loomis
08ba850a31 ICU-7391 fix typo in r27433
X-SVN-Rev: 27435
2010-01-28 21:08:18 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Markus Scherer
bdfe251e8c ICU-7273 minor error checking and visibility cleanup
X-SVN-Rev: 27408
2010-01-26 04:24:20 +00:00
Andy Heninger
d80b144c19 ICU-7369 Clean up uconfig test failures.
X-SVN-Rev: 27406
2010-01-26 00:55:35 +00:00
Steven R. Loomis
a0763011b5 ICU-5996 remove zrule, vzone, ztrans from API.
X-SVN-Rev: 27390
2010-01-23 02:08:06 +00:00
Doug Felt
aeff93d2f5 ICU-7372 fix bug and add test
X-SVN-Rev: 27386
2010-01-22 22:44:29 +00:00
Doug Felt
55d897493b ICU-7361 fix locid getVariant, fix display name translations for root
X-SVN-Rev: 27355
2010-01-21 02:45:53 +00:00
Michael Ow
513cc2bc2b ICU-6991 Fix thread deletion.
X-SVN-Rev: 27344
2010-01-20 16:19:39 +00:00
Yoshito Umaoka
0ded379793 ICU-7304 Update the timebomb in VTimeZone round trip test cases. We'll revisit #7008 after ICU 4.4 release.
X-SVN-Rev: 27317
2010-01-18 21:37:52 +00:00
Yoshito Umaoka
d8317ab3a6 ICU-3931 Explicitly cast integer literals to int32_t. Formattable constructor can take both int32_t and int64_t, and Cygwin/gcc complains the test case code is ambiguous.
X-SVN-Rev: 27316
2010-01-18 21:07:52 +00:00
Markus Scherer
97c36a876c ICU-7247 add LocalUNormalizer2Pointer and LocalULocaleDisplayNamesPointer
X-SVN-Rev: 27315
2010-01-18 21:06:15 +00:00
Steven R. Loomis
f38f2c1036 ICU-3931 platform fix (solaris)
X-SVN-Rev: 27308
2010-01-17 09:44:17 +00:00
Steven R. Loomis
1a95ebddad ICU-3931 add selfmts.cpp
X-SVN-Rev: 27307
2010-01-17 09:22:31 +00:00
Kirti Velankar
0e375461b0 ICU-3931 Merge into trunk from branch kirtig -Added SelectFormat
X-SVN-Rev: 27293
2010-01-16 03:07:18 +00:00
Michael Ow
5847422a58 ICU-7342 Fix test case for TestGetVariantWithKeywords.
X-SVN-Rev: 27281
2010-01-15 19:44:15 +00:00
Doug Felt
763489b754 ICU-7342 add ULocaleDisplayNames, enhance tests to call all ULDN API and via it all LocaleDisplayNames API
X-SVN-Rev: 27267
2010-01-15 02:35:02 +00:00
Doug Felt
18b87b0965 ICU-7342 add LocaleDisplayNames and rudimentary test. Fix Locale.getVariant problem and add test.
X-SVN-Rev: 27258
2010-01-14 02:23:46 +00:00
Steven R. Loomis
0783cab36c ICU-6406 stray #include - otherwise it already works
X-SVN-Rev: 27217
2010-01-12 02:07:15 +00:00
Markus Scherer
8ddbd1394c ICU-7273 merge in Normalizer2 API & code, and ICU-5785 UnicodeSet::span(UnicodeString) and ICU-7296 tempSubString()/retainBetween(); merge -r 26971:27150 branches/markus/norm2
X-SVN-Rev: 27155
2010-01-06 23:50:03 +00:00
Fredrik Roubert
410a369ccc ICU-7252 add Locale::setKeywordValue() method and test case
X-SVN-Rev: 27143
2010-01-06 15:49:10 +00:00
Michael Ow
841d4c10b7 ICU-6911 Delete orphaned pointer.
X-SVN-Rev: 27130
2010-01-04 21:25:24 +00:00
Michael Ow
898667f024 ICU-4735 Fix error regarding explicit casting of char string to UChar string.
X-SVN-Rev: 27122
2009-12-31 16:06:34 +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
Michael Ow
2bfaf1efe7 ICU-7244 Use Windows API to convert LCID to posix when possible. Update test for change.
X-SVN-Rev: 27082
2009-12-16 17:34:15 +00:00
Michael Ow
fd37b35e88 ICU-7180 Change structure of test case to avoid compiler errors on certain platforms.
X-SVN-Rev: 27081
2009-12-16 16:36:32 +00:00
Andy Heninger
5cfde17a88 ICU-7108 Line break test cleanup for Unicode 5.2
X-SVN-Rev: 27049
2009-12-11 18:16:51 +00:00
Peter Edberg
98723ad2bd ICU-7180 For hour field, change default behavior to not adjust pattern
field length to match requested skeleton. For getBestPattern,replaceFieldTypes
add option to override this, forcing pattern field length to match skeleton.

X-SVN-Rev: 27036
2009-12-10 09:13:49 +00:00
Jason Spieth
6533ab3558 ICU-5996 C wrappers for VTimeZone, TimeZoneTransition and TimeZoneRule
X-SVN-Rev: 27028
2009-12-08 04:19:24 +00:00
Michael Ow
9c00fc5a5f ICU-7244 Update LCID to POSIX table with Windows 7 data.
X-SVN-Rev: 27013
2009-12-03 21:24:12 +00:00
Peter Edberg
305743045f ICU-7007 availableFormats remapping of month types does not work
X-SVN-Rev: 27001
2009-12-02 07:17:06 +00:00
Markus Scherer
e89977c0b6 ICU-7247 finish testing LocalPointer variants, and improve API docs
X-SVN-Rev: 26960
2009-11-20 23:28:47 +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
Andy Heninger
0ae350c868 ICU-7193 Fix unterminated string in intltest/rbbitst/TestThaibreaks
X-SVN-Rev: 26936
2009-11-18 00:17:26 +00:00
Yoshito Umaoka
824ed01f70 ICU-7245 Fixed some compilation errors on Cygwin/gcc env
X-SVN-Rev: 26923
2009-11-17 16:38:18 +00:00
Michael Ow
9571529955 ICU-7008 Skip testing Asia/Amman in VTimeZone round trip test for now(4.3.3).
X-SVN-Rev: 26919
2009-11-16 18:00:17 +00:00
Michael Ow
5fb69bb39a ICU-6905 Update some new tests to pass without data.
X-SVN-Rev: 26915
2009-11-16 05:16:59 +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
135fc63477 ICU-7084 Add missing header file.
X-SVN-Rev: 26907
2009-11-14 22:00:21 +00:00
Markus Scherer
1dbea6f001 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc.
X-SVN-Rev: 26904
2009-11-14 00:36:06 +00:00
Markus Scherer
4a9e4947ca ICU-7084 bug fixes for Linux/gcc
X-SVN-Rev: 26900
2009-11-13 19:52:28 +00:00
Michael Ow
892bbe5445 ICU-7230 Ensure lcid used in test case is consistent.
X-SVN-Rev: 26899
2009-11-13 19:49:41 +00:00
Markus Scherer
66b63f9c48 ICU-7084 Unicode 5.2: merge -r 26464:26890 branches/markus/uni52 into trunk, and a little cleanup (C++)
X-SVN-Rev: 26898
2009-11-13 19:25:21 +00:00