Commit Graph

2889 Commits

Author SHA1 Message Date
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
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
Fredrik Roubert
4e1d41a4c3 ICU-7121 add test case for ErrorCode::errorName()
X-SVN-Rev: 26880
2009-11-12 17:50:15 +00:00
Michael Ow
32ed389091 ICU-7230 Ignore test failures on Windows for croatian locale.
X-SVN-Rev: 26861
2009-11-10 16:01:28 +00:00
Yoshito Umaoka
c41f24dee0 ICU-7229 getSystemTimeZoneInformation to set standardBias properly. For some reasons this change fixes the test failure reported in #7229 as well (I do not understand why...)
X-SVN-Rev: 26850
2009-11-06 05:22:08 +00:00
John Emmons
82dde07d7d ICU-1624 Add additional test for Hebrew month Elul
X-SVN-Rev: 26842
2009-11-03 04:50:03 +00:00
Michael Ow
e698d415eb ICU-7189 Remove accidental character.
X-SVN-Rev: 26795
2009-10-20 16:51:02 +00:00
Michael Ow
774ac9c733 ICU-7189 Add missing header file and fix tabs.
X-SVN-Rev: 26794
2009-10-20 16:48:17 +00:00
Yoshito Umaoka
155dfc0605 ICU-7189 Fixed missing collation case bytes problem in ucol_nextSortKeyPart.
X-SVN-Rev: 26787
2009-10-14 21:45:30 +00:00
Michael Ow
6719f6f93e ICU-7008 Skip testing Asia/Amman in VTimeZone round trip test for now.
X-SVN-Rev: 26757
2009-10-07 02:59:44 +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
5380e956d3 ICU-7074 Fix svn prop issue.
X-SVN-Rev: 26740
2009-10-05 20:57:57 +00:00
Markus Scherer
41ffbd67ca ICU-7162 fix typo, forbid LocalPointer heap allocation
X-SVN-Rev: 26736
2009-10-03 04:36:01 +00:00
Markus Scherer
f3f70fe978 ICU-7162 temporary template test
X-SVN-Rev: 26734
2009-10-03 00:25:04 +00:00
Michael Ow
be03b11164 ICU-6911 Update tzrulets to avoid memory leak.
X-SVN-Rev: 26678
2009-09-23 16:27:59 +00:00
Andy Heninger
95505300c8 ICU-4016 mutexes: dump pool, revert to dynamic allocation, simplify some of the #ifdef tangle.
X-SVN-Rev: 26660
2009-09-21 04:21:41 +00:00
Michael Ow
0ea3b2f2ca ICU-6991 Fix memory leaks in currpinf, uspoof, and some test in intltest.
X-SVN-Rev: 26658
2009-09-21 02:10:54 +00:00
Michael Ow
d8e1bc4885 ICU-6911 Remove memory leak in icudataver and ssearch.
X-SVN-Rev: 26652
2009-09-18 21:52:02 +00:00
Michael Ow
30ef01e564 ICU-6991 Add test for better code coverage in various calendar classes and dateformat.
X-SVN-Rev: 26646
2009-09-17 21:55:11 +00:00
Michael Ow
1cc5cd1a8b ICU-6991 Improve coverage for calendar, bms, and msgfmt.
X-SVN-Rev: 26638
2009-09-16 20:55:05 +00:00
Michael Ow
403bffef0e ICU-7087 Include missing header file for strcpy and strcat.
X-SVN-Rev: 26630
2009-09-14 17:39:35 +00:00
Andy Heninger
44b26a579b ICU-7087 fix spoof detection bugs with buffer handling while computing skeletons, and with supplemental character handling.
X-SVN-Rev: 26628
2009-09-14 04:02:38 +00:00
Andy Heninger
4d90dc692d ICU-7130 infinite loop in dictionary break iterators
X-SVN-Rev: 26618
2009-09-10 23:17:38 +00:00
John Vu
a91b8f20a8 ICU-6991 Code coverage for missing functions in Calendar, DecimalFormat, MessageFormat, PluralFormat, and StringList.
X-SVN-Rev: 26613
2009-09-09 16:44:34 +00:00
John Vu
96f031263f ICU-6991 Modified last revision to actually include test.
X-SVN-Rev: 26612
2009-09-09 03:46:40 +00:00
John Vu
de02af8d27 ICU-6991 Code coverage for missing functions in Calendar, DecimalFormat, and CurrencyPluralInfo
X-SVN-Rev: 26611
2009-09-08 22:29:54 +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
05d0e02083 ICU-6991 Code coverage for missing functions in MessageFormat.
X-SVN-Rev: 26605
2009-09-04 21:10:10 +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 Vu
beeba02f88 ICU-6991 Code coverage for missing functions in CEList, CollData, BoyerMooreSearch, PluralFormat.
X-SVN-Rev: 26588
2009-09-02 22:27:16 +00:00
Jason Spieth
d97a5d4837 ICU-4735 Enhanced TimeZone getDisplayName allows for more name formats - ICU4C
X-SVN-Rev: 26553
2009-08-26 16:55:52 +00:00
Andy Heninger
e3c423d06a ICU-7108 update Line Break for Unicode 5.2 rule change.
X-SVN-Rev: 26546
2009-08-25 16:52:44 +00:00
John Vu
406bb9dff0 ICU-6052 Applied multithreading to testing time zones on differing locales.
X-SVN-Rev: 26489
2009-08-13 00:11:21 +00:00
John Vu
e8a0cc8837 ICU-6052 Added empty functions for no threads.
X-SVN-Rev: 26478
2009-08-11 19:44:37 +00:00
Michael Ow
07d78a2acf ICU-6052 Add newline character at the end of source file.
X-SVN-Rev: 26477
2009-08-11 19:12:32 +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
John Vu
1c3a5ed74a ICU-6052 Extracted multi-threading code to a single module so that other files can utilize. This multi-threading will allow this ticket to reduce the time to check every locales.
X-SVN-Rev: 26465
2009-08-04 18:57:13 +00:00
Steven R. Loomis
9f373b4b5a ICU-6902 merge of r26358 into trunk (z changes)
X-SVN-Rev: 26381
2009-07-18 02:35:27 +00:00
Michael Ow
6aec621e32 ICU-6487 Enable utf16 string literals on GCC >= 4.4 when strict is disabled.
X-SVN-Rev: 26309
2009-07-13 19:01:23 +00:00
Andy Heninger
20e7751c2c ICU-6998 swat a bunch of compiler warnings.
X-SVN-Rev: 26288
2009-07-10 18:58:35 +00:00
Michael Ow
737d833448 ICU-6955 Fix potential error in mbcs and add more code coverage test cases.
X-SVN-Rev: 26194
2009-06-29 03:57:23 +00:00
Yoshito Umaoka
34f50d9180 ICU-7008 Skip testing Asia/Amman in VTimeZone round trip test for now.
X-SVN-Rev: 26153
2009-06-24 03:23:46 +00:00
John Emmons
42da1f8d6b ICU-6979 Integrate CLDR 1.7.1
X-SVN-Rev: 26138
2009-06-22 17:00:28 +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
Markus Scherer
ceab24c9be ICU-6965 rename ErrorCode::check() to ErrorCode::assertSuccess() to avoid conflict with MacOS #define check(...)
X-SVN-Rev: 26054
2009-05-27 22:31:13 +00:00
Michael Ow
2a1520f1c5 ICU-6364 Accidentally placed warning in wrong spot.
X-SVN-Rev: 26037
2009-05-22 21:57:16 +00:00
Michael Ow
f991d64025 ICU-6364 Issue a warning instead of error on MacOSX.
X-SVN-Rev: 26036
2009-05-22 21:48:59 +00:00
Markus Scherer
0d85d9fff4 ICU-6928 remove U_VALGRIND from the test
X-SVN-Rev: 26013
2009-05-16 20:42:27 +00:00
Andy Heninger
625bc9086e ICU-4790 Spoof detection build failures with UCONFIG_NO_REGULAR_EXPRESSIONS
X-SVN-Rev: 25981
2009-05-04 05:45:27 +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
Yoshito Umaoka
e45db647aa ICU-6880 Corrected misspellings in the last change set.
X-SVN-Rev: 25931
2009-04-28 06:52:19 +00:00
Yoshito Umaoka
df41de6e90 ICU-6880 Fixed localized GMT format parse problem caused by the offset hour format without delimitter characters.
X-SVN-Rev: 25929
2009-04-28 06:20:32 +00:00
Andy Heninger
25be8362b9 ICU-4790 more spoof detection
X-SVN-Rev: 25921
2009-04-27 06:53:38 +00:00
Andy Heninger
b215e528d6 ICU-6394 charset detection returns duplicate charsets
X-SVN-Rev: 25909
2009-04-24 22:24:27 +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
Steven R. Loomis
10cfc43891 ICU-6801 snprintf -> sprintf
X-SVN-Rev: 25877
2009-04-23 03:58:28 +00:00
Andy Heninger
b08b9e8625 ICU-4790 spoof cleanups
X-SVN-Rev: 25876
2009-04-23 01:30:02 +00:00
Claire Ho
47ab87a0c7 ICU-6799 Fixed warnings for collation.
X-SVN-Rev: 25874
2009-04-23 00:23:57 +00:00
Claire Ho
8e87a3957e ICU-6736 Support new CLDR data - CurrencySpacing.
X-SVN-Rev: 25868
2009-04-22 22:07:52 +00:00
Claire Ho
1d66b72094 ICU-5884 Update DateTimePatternGenerator for new CLDR letters: q and V.
X-SVN-Rev: 25863
2009-04-22 16:29:27 +00:00
Peter Edberg
ad3a3f6f2d ICU-6801 Add BreakIterator tests for tailored locales
X-SVN-Rev: 25861
2009-04-22 07:53:50 +00:00
Andy Heninger
68ebb55db4 ICU-4790 tweaks to areConfusable function
X-SVN-Rev: 25860
2009-04-22 02:07:40 +00:00
Andy Heninger
9c6ebc9b91 ICU-4790 more spoof detection testing, plus a couple of bug fixes.
X-SVN-Rev: 25851
2009-04-21 04:43:19 +00:00
Andy Heninger
1f909b0680 ICU-4790 add spoof tests
X-SVN-Rev: 25839
2009-04-20 06:27:34 +00:00
Andy Heninger
6e9727e6d5 ICU-2515 add test for uenum_openFromStringEnumeration()
X-SVN-Rev: 25834
2009-04-19 05:20:15 +00:00
Andy Heninger
183dadb915 ICU-5572 improved UText of empty string construction
X-SVN-Rev: 25824
2009-04-17 23:50:13 +00:00
Andy Heninger
dab5f92559 ICU-5340 port TransliteratorTest::TestAny() from java.
X-SVN-Rev: 25823
2009-04-17 21:42:46 +00:00
Andy Heninger
b547d95cb0 ICU-5340 port TransliteratorTest::TestAny() from java.
X-SVN-Rev: 25821
2009-04-17 21:06:21 +00:00
Michael Ow
f013360233 ICU-6554 Remove duplicate collator opening.
X-SVN-Rev: 25820
2009-04-17 20:54:05 +00:00
Xiaomei Ji
2c580848b1 ICU-6857 add test case to verify root resource loading and H/h in fallback
X-SVN-Rev: 25813
2009-04-17 19:27:05 +00:00
Peter Edberg
0fbf5646da ICU-6847 fix UTextTest::Ticket6847() so s[] is NUL-terminated.
X-SVN-Rev: 25807
2009-04-17 15:29:22 +00:00
Andy Heninger
2eb88b2772 ICU-6847 UText problems with nul-terminated strings
X-SVN-Rev: 25804
2009-04-16 23:41:36 +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
Michael Ow
407818a379 ICU-6765 Add missing header for memcmp and memcpy.
X-SVN-Rev: 25776
2009-04-15 15:59:22 +00:00
Markus Scherer
67c22b399c ICU-6765 test ByteSink
X-SVN-Rev: 25773
2009-04-15 04:20:44 +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
Michael Ow
e526f90477 ICU-6778 Update intltest csdet.
X-SVN-Rev: 25770
2009-04-14 20:12:54 +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
Steven R. Loomis
6495533bd5 ICU-6738 fix --with-library-bits= and add some info to intltest. Merge of r25730 through r25735 from http://source.icu-project.org/repos/icu/icu/branches/srl/bits6738
X-SVN-Rev: 25738
2009-04-06 23:27:57 +00:00
Michael Ow
90318f8895 ICU-6554 Delete/close objects or pointers to avoid memory leaks.
X-SVN-Rev: 25725
2009-04-02 20:29:06 +00:00
Andy Heninger
34727b59c1 ICU-4790 remove 'position' parameter from areConfusable functions
X-SVN-Rev: 25718
2009-04-02 06:08:36 +00:00
Andy Heninger
639ee79aff ICU-4790 Spoof detection tests
X-SVN-Rev: 25717
2009-04-01 23:48:18 +00:00
Andy Heninger
6ff173f07e ICU-4790 Spoof detection tests
X-SVN-Rev: 25716
2009-04-01 23:46:14 +00:00
Yoshito Umaoka
e88550b04d ICU-6820 Insert colon as hour/minute/second delimitter in custom time zone ID format.
X-SVN-Rev: 25710
2009-04-01 17:13:40 +00:00
Michael Ow
26f9de0065 ICU-6778 Port IBM420 and IBM424 CharsetDetector to ICU4C.
X-SVN-Rev: 25696
2009-03-31 15:39:00 +00:00
John Emmons
dd1c2b0799 ICU-6817 Reverted Hebrew rules due to parsing problems, update version numbers
X-SVN-Rev: 25683
2009-03-30 23:26:06 +00:00
Yoshito Umaoka
fc67192e07 ICU-6814 Updated useDaylightTime to return TRUE when DST is used at the beginning of the current year. Updated TimeZoneTest to make some test cases to check the current tzdata version and current year.
X-SVN-Rev: 25681
2009-03-30 20:55:05 +00:00
John Emmons
cc2bd1fb69 ICU-6817 Updated RBNF rules from CLDR
X-SVN-Rev: 25675
2009-03-30 15:00:49 +00:00
Yoshito Umaoka
ded04eb47c ICU-6482 Use calendarPreferenceData in supplementalData to decide the default calendar type instead of getFunctionalEquivalent. Also aligned the implementation more like ICU4J's.
X-SVN-Rev: 25671
2009-03-29 05:13:44 +00:00
Yoshito Umaoka
ffad003eff ICU-6814 Temporarily disable test data for Australia/Perth in TestDisplanyNameMeta. The test failure started showing up on March 28 without no code changes
X-SVN-Rev: 25670
2009-03-29 04:34:57 +00:00
Yoshito Umaoka
be66679036 ICU-6315 Parsing generic GMT format with UT and standalone GMT/UT/UTC support for ICU4C.
X-SVN-Rev: 25650
2009-03-25 05:02:30 +00:00
Jason Spieth
ca4c5623ce ICU-3785 Test case to expose the error.
X-SVN-Rev: 25646
2009-03-24 04:43:23 +00:00
Jason Spieth
fbc5170a41 ICU-6703 Fallback to default calendar when unknown specific calendar is requested.
X-SVN-Rev: 25637
2009-03-20 19:06:29 +00:00
Peter Edberg
edea4db881 ICU-6800 Support 'j' in requested skeletons, adjust availableFormats & tests accordingly
X-SVN-Rev: 25636
2009-03-20 00:08:24 +00:00
Michael Ow
d90d862818 ICU-6786 Add a new header file to handle platform specific issues with turning on _XOPEN_SOURCE_EXTENDED. Update various source files that depend on this.
X-SVN-Rev: 25613
2009-03-17 22:08:03 +00:00
Markus Scherer
a4b736ae3a ICU-6765 test StringPiece
X-SVN-Rev: 25598
2009-03-16 23:56:37 +00:00
Markus Scherer
555b233fa9 ICU-6729 test compare(UCharIterator)
X-SVN-Rev: 25597
2009-03-16 23:05:22 +00:00
Yoshito Umaoka
e8f967a5fc ICU-6726 Fixed the date format test failures.
X-SVN-Rev: 25596
2009-03-16 22:25:05 +00:00
Jason Spieth
99ca0b9eac ICU-6726 Changes to dateTimePatterns lengths and default glue pattern usage
X-SVN-Rev: 25592
2009-03-16 15:23:11 +00:00
Andy Heninger
7ba40f1363 ICU-6375 Add option for reducing spurious valgrind errors
X-SVN-Rev: 25586
2009-03-13 23:49:56 +00:00
Markus Scherer
ab81668cd3 ICU-6729 add Collator::compare(UCharIterator) and Collator::compareUTF8(StringPiece)
X-SVN-Rev: 25585
2009-03-13 23:38:43 +00:00
Michael Ow
c2e19856a1 ICU-6786 Add #define statement to turn off c++ standard string class when _XOPEN_SOURCE_EXTENDED is turned on since this seems to be an issue on some platforms.
X-SVN-Rev: 25582
2009-03-13 19:38:52 +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
Markus Scherer
e74be582d0 ICU-6606 optimized away calls to u_getDefaultConverter() from UnicodeString code (constructors and extract()) if U_CHARSET_IS_UTF8
X-SVN-Rev: 25571
2009-03-12 21:24:54 +00:00
Andy Heninger
72cf0f3d06 ICU-6235 UnicodeSet to USet conversions
X-SVN-Rev: 25555
2009-03-12 00:38:53 +00:00
Markus Scherer
af61e26bf0 ICU-6483 remove useless origin parameter from handleFailure()
X-SVN-Rev: 25550
2009-03-11 17:57:24 +00:00
Markus Scherer
2c2bf3e72a ICU-6483 add ErrorCode class, C++ convenience wrapper for UErrorCode
X-SVN-Rev: 25546
2009-03-11 05:27:11 +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
Markus Scherer
63ea2e06da ICU-6765 add API: StringPiece, ByteSink(s), UnicodeString::toUTF8() and fromUTF8()
X-SVN-Rev: 25519
2009-03-06 19:19:00 +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
Markus Scherer
5f031ce140 ICU-6765 StringTest more meaningful order of #includes and tests
X-SVN-Rev: 25482
2009-02-25 06:43:12 +00:00
Markus Scherer
59d37b352b ICU-6765 add std_string.h with central #include <string> and std:: namespace definitions
X-SVN-Rev: 25479
2009-02-24 23:01:18 +00:00
John Emmons
e729683a89 ICU-6492 Fix crash when creating a NS with a bogus override
X-SVN-Rev: 25461
2009-02-21 15:09:03 +00:00
Peter Edberg
5927c7bedb ICU-6745 ceToJD needs to handle months out of range 0-12 (e.g. from add, set)
X-SVN-Rev: 25458
2009-02-21 03:59:16 +00:00
Markus Scherer
97ea1827e7 ICU-6678 add uset_openEmpty()
X-SVN-Rev: 25451
2009-02-19 23:36:58 +00:00
Markus Scherer
311b29556f ICU-6677 add UnicodeString fromUTF32() and toUTF32() methods
X-SVN-Rev: 25448
2009-02-19 22:35:06 +00:00
John Emmons
9f6245828b ICU-6492 Add override based constructors for SimpleDateFormat
X-SVN-Rev: 25435
2009-02-18 13:29:17 +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
Jason Spieth
d2624b1aef ICU-6354 Fix C testcase so build passes
X-SVN-Rev: 25367
2009-02-03 18:43:45 +00:00
Jason Spieth
09818fdacb ICU-6354 Simple C testcase
X-SVN-Rev: 25365
2009-02-03 15:54:55 +00:00
Yoshito Umaoka
eb175516be ICU-6238 Support standard stringprep profiles in ICU4C. Merging changes from the work branch to the trunk.
X-SVN-Rev: 25357
2009-02-02 16:16:07 +00:00
Jason Spieth
0875075b89 ICU-6338 Handle integer suffix when parsing numeric date field - testcase
X-SVN-Rev: 25346
2009-01-29 18:35:02 +00:00
Yoshito Umaoka
f682a39582 ICU-6420 Fixed calendar/date symbols mismatch problem for C.
X-SVN-Rev: 25309
2009-01-23 23:15:42 +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
Eric Mader
5f73103b5a ICU-6659 Merge changes from branches/eric/boyer-moore
X-SVN-Rev: 25282
2009-01-22 00:24:48 +00:00
Peter Edberg
b0fa61d425 ICU-5702 Fix availableFormats fallback for aliased locales
X-SVN-Rev: 25258
2009-01-16 01:18:05 +00:00
Andy Heninger
73724078aa ICU-6679 Visual Studio project files upgrade to version 2008
X-SVN-Rev: 25256
2009-01-15 01:50:06 +00:00
Yoshito Umaoka
1b5ba9ed42 ICU-6602 Construct a generic location string with a substring of its tzid for an unknown time zone except ones starting with Etc/. Updated test case to check such time zones also round trip with pattern VVVV.
X-SVN-Rev: 25240
2009-01-13 04:22:37 +00:00
Yoshito Umaoka
2ca591675a ICU-6670 Workaround for system time/tzdata sensitive test case - TestShortZoneIDs.
X-SVN-Rev: 25193
2009-01-06 07:02:12 +00:00
Yoshito Umaoka
a996a898e0 ICU-6669 Corrected the condition used for checking DST in time zone transition implementation in SimpleTimeZone in ICU4C. Also provided a test case.
X-SVN-Rev: 25186
2009-01-02 21:22:01 +00:00
Peter Edberg
cec9f47ade ICU-5702 Fix fallback for availableFormats
X-SVN-Rev: 25166
2008-12-19 20:10:03 +00:00
John Emmons
7d370d115d ICU-6654 Integrate RBNF rules from CLDR
X-SVN-Rev: 25090
2008-12-12 01:04:38 +00:00
Peter Edberg
6c12fab16d ICU-5702 Make DateTimePatternGenerator:initData get the availableFormats for the correct
calendar (not always gregorian), and add some necessary availableFormats entries.

X-SVN-Rev: 24978
2008-11-19 04:19:02 +00:00
Peter Edberg
1e521d134d ICU-6626 Make DateTimePatternGenerator:initData use the skeletons specified for availableFormats,
eliminate CJK months hack, use skeletons to improve adjustFieldTypes behavior, add some necessary
availableFormats entries, and fix expected test results now that getBestPattern is more correct.

X-SVN-Rev: 24976
2008-11-18 18:27:40 +00:00
Steven R. Loomis
63849800d4 ICU-6617 some haiku support. update config.guess and cleanup other test code.
X-SVN-Rev: 24942
2008-11-08 02:04:15 +00:00
Yoshito Umaoka
3879197e6f ICU-6415 ICU4C timezone 2008i
X-SVN-Rev: 24894
2008-10-27 19:28:41 +00:00
Xiaomei Ji
6280be2fa5 ICU-6303 change FIXME to TODO
X-SVN-Rev: 24860
2008-10-22 06:06:56 +00:00
Peter Edberg
a57e83d1fb ICU-5726 Make format work for eee-eeeee (UDAT_DOW_LOCAL_FIELD); add & fix tests
X-SVN-Rev: 24752
2008-10-08 08:23:48 +00:00
Steven R. Loomis
7f89a4be9d ICU-6557 fix c/c++ confusion
X-SVN-Rev: 24711
2008-10-03 08:08:33 +00:00
Peter Edberg
1e9adc5dc1 ICU-6072 Add DateFormatSymbols support for NarrowEras, use it to format & parse with GGGGG
X-SVN-Rev: 24709
2008-10-03 07:47:57 +00:00
Steven R. Loomis
3f1ae1d226 ICU-6557 revert to r24563
X-SVN-Rev: 24706
2008-10-02 22:44:37 +00:00
Steven R. Loomis
916be7fc7f ICU-6557 fix for C linkage
X-SVN-Rev: 24703
2008-10-02 20:56:16 +00:00
Steven R. Loomis
09af16f87e ICU-6557 fix more C/C++ function confusion
X-SVN-Rev: 24702
2008-10-02 20:20:10 +00:00
Michael Ow
b88911b137 ICU-6412 Fix some copyright date.
X-SVN-Rev: 24665
2008-09-26 21:25:04 +00:00
Peter Edberg
d08940016b ICU-5858 Add constructors for RuleBasedBreakIterator and RBBIDataWrapper
that take RBBIDataHeader* but do not adopt it.

X-SVN-Rev: 24641
2008-09-25 05:48:27 +00:00
Yoshito Umaoka
d84bdb4e62 ICU-6311 Fix a compiler error on Cygwin/gcc in the previous change.
X-SVN-Rev: 24619
2008-09-22 22:43:55 +00:00
Yoshito Umaoka
5ac1902448 ICU-6522 Added -prop:key=val option in intltest. Updated timezone test to be synchronized with ICU4J version. Reduce testing time of the timezone test in non-exhaustive mode.
X-SVN-Rev: 24618
2008-09-22 22:02:44 +00:00
Xiaomei Ji
fe4e67b5a6 ICU-6311 full and abbreviated simple duration format support, release to trunk
X-SVN-Rev: 24609
2008-09-19 19:05:37 +00:00
Michael Ow
eac717e1df ICU-6207 Disable getting windows timezone information from static tables. Use resource bundles and TimeZone and Calendar API to get needed timezone information. Create a new file in i18n to allow access to TimeZone and Calendar API. Update subsequent files to use new wintzimpl.h API.
X-SVN-Rev: 24594
2008-09-18 21:13:52 +00:00
Yoshito Umaoka
b3744287df ICU-4611 Fix Japanese calendar calculation problem. Changed internal APIs to get default month/date of a calendar without updating calendar fields.
X-SVN-Rev: 24574
2008-09-15 21:24:11 +00:00
Kedar Rajwade
a865e7b64b ICU-6522 Reduced number of iteration in monkeyTest in non-exhaustive mode
X-SVN-Rev: 24563
2008-09-11 23:16:29 +00:00
Kedar Rajwade
e6bec98d5a ICU-6522 Skipped testStress in non-exhaustive mode
X-SVN-Rev: 24548
2008-09-04 18:39:28 +00:00
Michael Ow
4e7f7ff702 ICU-6307 Edit cintltst.c, intltest.cpp, and iotest.cpp to load data correctly.
X-SVN-Rev: 24488
2008-08-12 16:34:55 +00:00
Michael Ow
1215abdc6d ICU-6307 Merge update of Visual Studio project and solution files with addition of x64 platform build option. Update readme.html for Windows build change.
X-SVN-Rev: 24487
2008-08-12 04:41:41 +00:00
Michael Ow
95ccfc636d ICU-2929 Include the minor UCA version when ucol_getVersion is called.
X-SVN-Rev: 24469
2008-08-08 15:04:18 +00:00
Yoshito Umaoka
c3398882b4 ICU-6476 Fixed a bug in DateTimePatternGenerator and updated some test cases. The fix allow us to replace most of yyyy in the pattern resources with y.
X-SVN-Rev: 24465
2008-08-07 17:06:38 +00:00
Steven R. Loomis
1243b8763f ICU-6484 move translit tests to cldr
X-SVN-Rev: 24446
2008-08-06 00:42:42 +00:00
Michael Ow
3d1a4a3fce ICU-6307 Undo previous commit. Due to unexpected and unforeseen build failure.
X-SVN-Rev: 24444
2008-08-05 22:15:46 +00:00
Michael Ow
e20dbc5d8a ICU-6307 Add platform x64 to Visual Studio solution. Build directory will now reflect this change with x86 for 32 bit and x64 for 64 bit. lib64 and bin64 have also been added for x64 platform.
X-SVN-Rev: 24443
2008-08-05 21:08:59 +00:00
Steven R. Loomis
7e4b9db07a ICU-6419 document fldset, fix enum check
X-SVN-Rev: 24394
2008-07-21 18:41:14 +00:00
Kedar Rajwade
69a719b037 ICU-3785 Added test for MoonAge
X-SVN-Rev: 24372
2008-07-10 19:43:28 +00:00
Kedar Rajwade
ee0f949c39 ICU-3785 Added test for MoonAge
X-SVN-Rev: 24371
2008-07-10 19:42:12 +00:00
Kedar Rajwade
0a70566a74 ICU-5670 Modified test to support "MILLIS" in the calendar operations
X-SVN-Rev: 24364
2008-07-08 20:20:55 +00:00
Andy Heninger
ff7670879a ICU-6418 Add test for Thai-Latin transliteration
X-SVN-Rev: 24354
2008-07-06 06:15:04 +00:00
Kedar Rajwade
afb75502d7 ICU-5671 Replace udbg_stoi function with udbg_stod in testConvertDate
X-SVN-Rev: 24341
2008-07-02 21:52:01 +00:00
Andy Heninger
9d67ad9172 ICU-6403 restore original tests for regexp security issues
X-SVN-Rev: 24324
2008-06-30 23:53:12 +00:00
Steven R. Loomis
d3d779e429 ICU-6402 fixes for IBM i.
X-SVN-Rev: 24317
2008-06-28 07:02:26 +00:00
Claire Ho
9e010c8ebe ICU-6374 Support decimal fractions in PluralRules:select()
X-SVN-Rev: 24299
2008-06-26 17:51:59 +00:00
Xiaomei Ji
8923fa61e8 ICU-6157 enable test after CLDR1.6 integration
X-SVN-Rev: 24280
2008-06-23 20:53:01 +00:00
Claire Ho
68f90815cd ICU-6366 activate the locale tests for PluralFormat.
X-SVN-Rev: 24274
2008-06-23 19:39:38 +00:00
Steven R. Loomis
1a359a2fe6 ICU-6344 disable search if break iteration is on
X-SVN-Rev: 24260
2008-06-20 22:53:25 +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
Claire Ho
2ede5a4790 ICU-6366 Access locale plural rules from resource bundle.
X-SVN-Rev: 24242
2008-06-19 20:23:49 +00:00
Xiaomei Ji
f61432db45 ICU-6157 after review
X-SVN-Rev: 24228
2008-06-18 21:07:30 +00:00
Xiaomei Ji
277bb61e9d ICU-6157 remove non-ascii comment
X-SVN-Rev: 24218
2008-06-18 00:55:37 +00:00
Claire Ho
81ac0f67a6 ICU-6356 Fixed the coredump for c tests running without data files.
X-SVN-Rev: 24211
2008-06-17 22:27:18 +00:00
Eric Mader
7fee26e320 ICU-6337 Can't call UNICODE_STRING_SIMPLE with a variable name on all platforms.
X-SVN-Rev: 24202
2008-06-17 02:28:25 +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
Xiaomei Ji
0ad3aff9b2 ICU-6157 update after 1st round code review
X-SVN-Rev: 24200
2008-06-16 22:32:36 +00:00
John Emmons
924a38a76e ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24179
2008-06-13 21:07:22 +00:00
Eric Mader
f0abc13c5d ICU-6337 Make sure unescapable strings get created in the invariant codepage.
X-SVN-Rev: 24175
2008-06-13 19:49:55 +00:00
Michael Ow
ea01edb0ea ICU-6319 Correct handling of spaces for Thai line break iterator and add test.
X-SVN-Rev: 24173
2008-06-13 19:21:12 +00:00
Michael Ow
1e9e63f24c ICU-6319 Correct typos in log messages and add break point information to error messages.
X-SVN-Rev: 24162
2008-06-12 15:46:36 +00:00
Steven R. Loomis
d59b5c5e4c ICU-6344 uconfigtest / hdrtest fixes
X-SVN-Rev: 24157
2008-06-11 21:52:29 +00:00
Claire Ho
49dca38bb9 ICU-6341 incorrect getBestPattern result for narrow date format.
X-SVN-Rev: 24151
2008-06-11 16:31:33 +00:00
Yoshito Umaoka
5b2a0c934f ICU-6289 Temporary workaround for date format parsing problem to let the timezone test run successfully.
X-SVN-Rev: 24148
2008-06-11 03:56:48 +00:00
Peter Edberg
2eb61f142a ICU-6281 Fix Fullwidth_Halfwidth data, add TestHalfwidthFullwidth()
X-SVN-Rev: 24145
2008-06-11 01:31:45 +00:00
Yoshito Umaoka
ffed7d31c7 ICU-6289 Replaced some non-ASCII characters with ASCII in comments.
X-SVN-Rev: 24137
2008-06-10 05:15:08 +00:00
Yoshito Umaoka
fc0b107a9a ICU-4732 Test case for PersianCalendar two digit year parsing.
X-SVN-Rev: 24133
2008-06-10 02:03:28 +00:00
Michael Ow
c504eafdc8 ICU-5955 Add freeOffsetBuffer function to make sure that previously allocated offsetBuffer is freed to avoid memory leaks. Add deleter method in ssearch.cpp to remove hashtable objects. Delete various objects in intltest after it is no longer needed.
X-SVN-Rev: 24129
2008-06-09 21:18:46 +00:00
Andy Heninger
4635ea3a9c ICU-6321 TimeZone::getDisplayName(), move bug fixes from Java to C++
X-SVN-Rev: 24126
2008-06-09 03:46:34 +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
Eric Mader
236d6f86ad ICU-5420 fix memory leak in searchTest.
X-SVN-Rev: 24113
2008-06-06 00:44:35 +00:00