Commit Graph

5441 Commits

Author SHA1 Message Date
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 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
Markus Scherer
131e1b25ab ICU-6453 more test cleanup
X-SVN-Rev: 25870
2009-04-22 22:42:40 +00:00
Steven R. Loomis
49fe81a7c5 ICU-6836 acceptLanguage test improvement
X-SVN-Rev: 25869
2009-04-22 22:12:59 +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
Markus Scherer
5747679605 ICU-6453 partial test cleanup
X-SVN-Rev: 25858
2009-04-21 23:46:53 +00:00
Yoshito Umaoka
a22f179e2b ICU-6434 Use the first extlang as locale ID language in uloc_forLanguageTag.
X-SVN-Rev: 25853
2009-04-21 06:17:54 +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
Peter Edberg
bf6746fb3b ICU-6855 Add internal RelativeDateFormat toPattern/applyPattern functions
X-SVN-Rev: 25830
2009-04-18 08:11:19 +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
Andy Heninger
e0f65f6c20 ICU-4853 added a test for unpaired surrogates in line break
X-SVN-Rev: 25809
2009-04-17 17:25:38 +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
f940a828eb ICU-5260 'multiple passes' rules in C API of the transliteration functions
X-SVN-Rev: 25806
2009-04-17 01:02:11 +00:00
Markus Scherer
c29e95d549 ICU-6048 fix list of C++ header files for hdrtst, and export more public header files in Windows builds
X-SVN-Rev: 25805
2009-04-17 00:25:18 +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
Michael Ow
97f2fecc68 ICU-6778 Update ICU4C IBM420 and IBM424 CharsetDetector with changes made to ICU4J.
X-SVN-Rev: 25763
2009-04-13 21:32:21 +00:00
Yoshito Umaoka
6b1a0829a6 ICU-6434 ICU4C toLanguageTag/forLanguageTag implementation.
X-SVN-Rev: 25756
2009-04-10 22:30:39 +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
Michael Ow
d9c653f163 ICU-6714 Add test for new string prep profiles in ICU4C.
X-SVN-Rev: 25749
2009-04-09 21:09:43 +00:00
Markus Scherer
2a5c55f947 ICU-6441 add perf test for this ticket, testing ucnv_countAvailable() speed and memory consumption
X-SVN-Rev: 25742
2009-04-07 18:41:01 +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
Markus Scherer
5c3b41f836 ICU-6789 implement Java-compatible Unicode, UnicodeBig and UnicodeLittle converters
X-SVN-Rev: 25714
2009-04-01 19:31:33 +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
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +00:00
Steven R. Loomis
9bcb031af8 ICU-6362 cross compile, merge of trunk r25698 vs http://source.icu-project.org/repos/icu/icu/branches/srl/config6362 r25699
X-SVN-Rev: 25704
2009-04-01 01:54:14 +00:00
Andy Heninger
89aa66303d ICU-4790 spoof detection work
X-SVN-Rev: 25701
2009-04-01 01:09:49 +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
Andy Heninger
52c043e5c3 ICU-4790 Spoof Detection tests
X-SVN-Rev: 25685
2009-03-31 00:34:17 +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
Andy Heninger
bb2f7cdcb2 ICU-4790 spoof detection, more testing, fix leak in tests
X-SVN-Rev: 25682
2009-03-30 23:05:55 +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
Andy Heninger
23e83afc25 ICU-4790 spoof work in progress
X-SVN-Rev: 25674
2009-03-30 05:08:00 +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
Andy Heninger
9f27994551 ICU-4790 spoof testing
X-SVN-Rev: 25669
2009-03-28 00:28:35 +00:00
Andy Heninger
c567c8c1b1 ICU-6813 parameter validation to uregex_appendReplacement()
X-SVN-Rev: 25660
2009-03-26 23:04:40 +00:00
Yoshito Umaoka
9d0666f840 ICU-6661 ucal_getKeywordValuesForLocale to use calendarPreference data from CLDR. Updated supplementalData.txt generated from the CLDR CVS head version of supplementalData.xml (1.205).
X-SVN-Rev: 25652
2009-03-25 17:59:48 +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
Steven R. Loomis
ab1caa43fc ICU-6798 version bump icu4c to milestone:4.1.4 and a minor test improvement
X-SVN-Rev: 25599
2009-03-17 01:06:38 +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
67f42c995f ICU-3378 Fix some casting and pointer passing errors.
X-SVN-Rev: 25583
2009-03-13 21:07:49 +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
Michael Ow
0a55b20859 ICU-6554 Close collator and usearch object after use.
X-SVN-Rev: 25561
2009-03-12 17:56:18 +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
Markus Scherer
93e35cf3db ICU-6606 add #define option for >>default charset is UTF-8<<
X-SVN-Rev: 25544
2009-03-11 03:16:35 +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
Andy Heninger
37c509a085 ICU-4790 revert an accidental change
X-SVN-Rev: 25535
2009-03-10 00:24:37 +00:00
Andy Heninger
9715eae02c ICU-4790 spoof impl merged to trunk.
X-SVN-Rev: 25534
2009-03-09 23:40:15 +00:00
Michael Ow
a5894c4401 ICU-3378 Fix cintltst compilation errors.
X-SVN-Rev: 25532
2009-03-09 22:28:54 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +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
Claire Ho
5d17555c7e ICU-6735 merge new localeDisplayPattern APIs from branch to trunk.
X-SVN-Rev: 25457
2009-02-21 00:31:21 +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
Markus Scherer
c4e1d3e0be ICU-6677 add u_strToUTF32WithSub() and u_strFromUTF32WithSub()
X-SVN-Rev: 25444
2009-02-19 20:02:40 +00:00
Markus Scherer
a679ccf60c ICU-6677 fix and extend u_strToUTF32() input string validation
X-SVN-Rev: 25443
2009-02-19 18:14:25 +00:00
Peter Edberg
64f350c92a ICU-6734 unum_parse does not report parse errors for rule-based number formatters
X-SVN-Rev: 25442
2009-02-19 08:41:08 +00:00
Markus Scherer
a856eb2eba ICU-6677 add and fix u_strFromUTF32() input string validation
X-SVN-Rev: 25441
2009-02-19 05:18:34 +00:00