Commit Graph

2911 Commits

Author SHA1 Message Date
John Emmons
f979283776 ICU-7755 Data changes to support removal of hard fallbacks to Gregorian calendar
X-SVN-Rev: 29323
2011-01-17 15:27:25 +00:00
Steven R. Loomis
5a86c076e8 ICU-8263 remove reference to pnames.icu in test. Fails under --with-data-packaging=archive and also fails under Win build.
X-SVN-Rev: 29285
2011-01-11 19:47:53 +00:00
Markus Scherer
c04082d93c ICU-8105 hardcode Unicode property names data (formatVersion 2); includes new dictionary-type tries (ByteTrie & UCharTrie see ticket #8167); merge branches/markus/tries -r 29040:29249
X-SVN-Rev: 29252
2010-12-31 18:21:36 +00:00
Peter Edberg
bbb368c939 ICU-8238 Implement max subpart policy for UTF7 toUnicode, don't consume valid bytes after err
X-SVN-Rev: 29214
2010-12-16 17:35:01 +00:00
Michael Ow
22b88a2cf3 ICU-8209 Update the timebombs.
X-SVN-Rev: 29192
2010-12-10 22:21:51 +00:00
Steven R. Loomis
96876653d9 ICU-8205 fix improper swap of uspoof, also add to swap test
X-SVN-Rev: 29139
2010-12-02 19:17:46 +00:00
Michael Ow
74caa5d001 ICU-8193 Increase array size in cintltst's TestCEValidity.
X-SVN-Rev: 29099
2010-11-23 02:00:16 +00:00
Peter Edberg
85aa1e1ce2 ICU-8131 temp hack: make genrb exclude unihan collation unless temp option --includeUnihanColl is used
X-SVN-Rev: 29062
2010-11-17 04:30:05 +00:00
Michael Ow
b21e2734dd ICU-8146 Add check for data loading failure in cintltst and intltest.
X-SVN-Rev: 29025
2010-11-11 05:37:40 +00:00
Stuart Gill
7222862743 ICU-3984 update of a collation reordering API test
X-SVN-Rev: 29008
2010-11-05 21:05:42 +00:00
Stuart Gill
c8a64bd04e ICU-3984 update from code review and a collation reordering API test
X-SVN-Rev: 29007
2010-11-05 20:01:14 +00:00
Stuart Gill
4a9aeda18c ICU-3984 updates from code review
X-SVN-Rev: 29004
2010-11-05 18:43:45 +00:00
Stuart Gill
b1a76e6a88 ICU-3984 updates based on code review and fix of memory leak during collation reordering rule parsing
X-SVN-Rev: 28999
2010-11-04 20:12:39 +00:00
Steven R. Loomis
174695eeac ICU-8125 fix RamsRulesTest even under en_US_POSIX - skip fallback/default collators. Improve error checking.
X-SVN-Rev: 28998
2010-11-04 19:15:00 +00:00
Stuart Gill
94239208a0 ICU-3984 fix a bug in the resource loading of collation reordering and rename script reordering to reordering codes
X-SVN-Rev: 28993
2010-11-03 02:41:22 +00:00
Steven R. Loomis
0a98dc21cb ICU-3984 'never' is a long time to not run other tests. :) Reverting r28926 here
X-SVN-Rev: 28992
2010-11-03 01:06:50 +00:00
Umesh Nair
cbb8e1c1b8 ICU-7023 Fixing memory leaks in cintltst.
X-SVN-Rev: 28979
2010-11-02 16:46:23 +00:00
Peter Edberg
87628da74e ICU-8092 Use uprv_ functions with all instances of rulesCopy and src.source; remove debug change
X-SVN-Rev: 28978
2010-11-02 08:27:22 +00:00
Stuart Gill
5dd9ea7768 ICU-3984 update the uca file version, add support for reading/writing reordering from/to resources, update FractionalUCA.txt to a format for the genuca tool
X-SVN-Rev: 28975
2010-11-02 02:21:57 +00:00
Steven R. Loomis
ffb24dcc38 ICU-8092 fix cintltest crashes on windows. Must use uprv_malloc and uprv_free if ICU owns the memory.
X-SVN-Rev: 28972
2010-11-02 01:20:29 +00:00
Umesh Nair
c9ae826bca ICU-7023 Supporting import in collation rules
X-SVN-Rev: 28967
2010-11-01 22:23:49 +00:00
Stuart Gill
0c21fdf068 ICU-3984 changes to the collation reordering - API works same as rules and enhanced testing
X-SVN-Rev: 28960
2010-10-30 00:42:12 +00:00
Stuart Gill
d8e214d7d7 ICU-3984 Fix Windows build issues
X-SVN-Rev: 28946
2010-10-28 20:28:40 +00:00
Peter Edberg
6dba897cff ICU-8046 Update timebombs
X-SVN-Rev: 28937
2010-10-28 17:44:02 +00:00
Peter Edberg
e9abb9546f ICU-8092 Now ucol_tok_parseNextToken can cause UColTokenParser source field ptr to get realloced, free the new ptr
X-SVN-Rev: 28936
2010-10-28 17:28:06 +00:00
Stuart Gill
110e2ceb05 ICU-3984 integrate collation reordering from branch - svn+ssh://source.icu-project.org/repos/icu/icu/branches/sgill/scriptreorder2 -r 28883:28924
X-SVN-Rev: 28926
2010-10-27 18:02:52 +00:00
Peter Edberg
33120b6943 ICU-8046 CLDR 1.9 integration, fix he,fi brkitr
X-SVN-Rev: 28914
2010-10-26 07:38:20 +00:00
Markus Scherer
db864477ae ICU-7264 make some C test code more parallel with Java
X-SVN-Rev: 28909
2010-10-25 23:06:37 +00:00
Peter Edberg
b52138122f ICU-8046 CLDR 1.9 integration pass 3 (CLDR r5147, still minus 14 transliterators)
X-SVN-Rev: 28906
2010-10-25 22:37:20 +00:00
Peter Edberg
5b132df167 ICU-8046 CLDR 1.9 integration pass 2, update C tests
X-SVN-Rev: 28901
2010-10-25 06:31:21 +00:00
Peter Edberg
04b5cd0d7b ICU-8072 Now ucol_tok_parseNextToken can cause UColTokenParser source field ptr to get realloced, free the new ptr
X-SVN-Rev: 28899
2010-10-25 04:29:10 +00:00
Peter Edberg
369540ab7a ICU-8046 add VerifyTranslation diagnostics, update measurement system test
X-SVN-Rev: 28887
2010-10-21 07:26:06 +00:00
Markus Scherer
d29bfdf854 ICU-7264 UCA 6.0 data, test data, and bug fixes; from branches/markus/uca60 -r 28826:28857
X-SVN-Rev: 28875
2010-10-19 21:48:04 +00:00
Peter Edberg
aa3ebc300a ICU-8046 CLDR 1.9 integration pass 1, skip some Myanmar tests until cldrbug 3062 is fixed
X-SVN-Rev: 28869
2010-10-19 04:09:15 +00:00
Peter Edberg
0cc2fd091f ICU-8046 CLDR 1.9 integration pass 1, update tests
X-SVN-Rev: 28867
2010-10-19 03:31:50 +00:00
Andy Heninger
c05e310791 ICU-8044 Spoof Detection data update to latest from Unicode.
X-SVN-Rev: 28838
2010-10-15 00:01:43 +00:00
Umesh Nair
81ce7e7cf2 ICU-7015 Minor changes.
X-SVN-Rev: 28832
2010-10-14 20:25:09 +00:00
Umesh Nair
2b57a010d7 ICU-7015 Adding more test cases.
X-SVN-Rev: 28830
2010-10-14 18:44:44 +00:00
Michael Ow
2333b126c1 ICU-6845 Improve the code coverage in ICU4C.
X-SVN-Rev: 28790
2010-10-12 16:38:38 +00:00
Andy Heninger
801abaa192 ICU-7892 add missing implementation for unum_parseDecimal() and unum_formatDecimal().
X-SVN-Rev: 28789
2010-10-12 05:11:41 +00:00
Steven R. Loomis
adb11cba8d ICU-8028 update version number to milestone:4.6, bump timebombs, etc
X-SVN-Rev: 28785
2010-10-09 01:23:28 +00:00
Michael Ow
da1272de57 ICU-7447 Fix some GCC and VA compiler warnings.
X-SVN-Rev: 28778
2010-10-08 20:14:26 +00:00
Andy Heninger
36fc220ae2 ICU-7986 Fix memory leak in cintltest regex
X-SVN-Rev: 28700
2010-09-27 05:51:41 +00:00
Michael Ow
b970115780 ICU-7981 Log data error for unum_open failure.
X-SVN-Rev: 28699
2010-09-25 04:42:19 +00:00
Alexey Gousev
45de7c9532 ICU-7911 fixed spacing
X-SVN-Rev: 28685
2010-09-22 21:06:39 +00:00
Alexey Gousev
6c2f137965 ICU-7911 added to cintltst
X-SVN-Rev: 28684
2010-09-22 20:00:38 +00:00
John Emmons
b59206e30e ICU-7652 Fix testcase comments to match data
X-SVN-Rev: 28678
2010-09-22 04:42:21 +00:00
Michael Ow
bc6b44a7d6 ICU-7813 Move declaration to beginning of code block.
X-SVN-Rev: 28672
2010-09-21 23:06:16 +00:00
Steven R. Loomis
c6c2a855a7 ICU-7932 compare as double, not long double
X-SVN-Rev: 28667
2010-09-21 19:10:03 +00:00
Jinglun Li
12de1d68b7 ICU-7772 Fast string direction detection
X-SVN-Rev: 28665
2010-09-21 07:12:28 +00:00
Markus Scherer
b5e1330176 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
X-SVN-Rev: 28661
2010-09-21 00:12:49 +00:00
John Emmons
cd3f6237f9 ICU-7652 Get correct week data from territory based locale
X-SVN-Rev: 28658
2010-09-20 21:22:31 +00:00
Michael Grady
751473d25a ICU-7813 64bit regex API, 7675: UText-based Regex to use native indexes, 7764: Improved UText-regex API error handling, 7855: UText regex group API returns shallow clone, 7851: Set region and start position, 7763: Inline regex progress callback function.
X-SVN-Rev: 28647
2010-09-18 03:07:17 +00:00
Peter Edberg
22b5f6c4ac ICU-7928 Update tests for CLDR 1.9m2 data
X-SVN-Rev: 28607
2010-09-13 19:14:41 +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
Steven R. Loomis
fbc574e7af ICU-7890 skip a crashy test
X-SVN-Rev: 28472
2010-08-15 00:48:16 +00:00
Steven R. Loomis
dec09768b9 ICU-7870 Visual Studio 2010
X-SVN-Rev: 28442
2010-08-10 20:16:09 +00:00
Steven R. Loomis
cf7644feb3 ICU-7849 unicode versions of uloc.h constants
X-SVN-Rev: 28438
2010-08-10 01:11:03 +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
Steven R. Loomis
a8575b74fa ICU-7829 reset the default converter if the default converter name changes
X-SVN-Rev: 28310
2010-07-14 23:01:37 +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
Michael Ow
00a84e6d99 ICU-7649 Add check for certain default locales to ensure environment test passes.
X-SVN-Rev: 28303
2010-07-13 19:43:25 +00:00
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Steven R. Loomis
45aa2210aa ICU-7815 merge from branch
X-SVN-Rev: 28296
2010-07-12 15:24:57 +00:00
Markus Scherer
3360fe4708 ICU-7144 merge UTS #46 (IDNA2008) C/C++ feature into trunk, merging in -r 27794:28172 icu/branches/markus/uts46
X-SVN-Rev: 28195
2010-06-15 15:54:53 +00:00
Markus Scherer
2ef6586467 ICU-7167 reimplement checkCEValidity() for actual byte value ranges
X-SVN-Rev: 28193
2010-06-15 05:28:53 +00:00
Umesh Nair
ca260d5296 ICU-7015 Fixing more test cases.
X-SVN-Rev: 28190
2010-06-14 22:07:11 +00:00
Umesh Nair
2b7c82ac5b ICU-7015 Minor fix.
X-SVN-Rev: 28189
2010-06-14 21:52:52 +00:00
Umesh Nair
e7aba40a67 ICU-7015 Compact collation syntax (lists and ranges): svn merge -r 27731:28177 icu/branches/umesh/collation
X-SVN-Rev: 28188
2010-06-14 21:27:44 +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
Markus Scherer
82160e104c ICU-7736 add Normalizer2::getDecomposition(c)
X-SVN-Rev: 28161
2010-06-08 23:32:11 +00:00
Markus Scherer
bff71243ce ICU-7586 fix some initializer warnings
X-SVN-Rev: 28158
2010-06-08 21:45:43 +00:00
Peter Edberg
fc2c72f62d ICU-7667 Fixed C++ style comment to be C style
X-SVN-Rev: 28149
2010-06-07 18:46:34 +00:00
Michael Grady
fa477f8a22 ICU-7667 In DecimalFormat::_format, deal with cases where two forms of rounding are specified - number of digits _and_ a rounding increment
X-SVN-Rev: 28132
2010-06-04 05:42:19 +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
Markus Scherer
77543b3e58 ICU-7703 fix unorm_normalize(src, length=-1) bug and allow src=NULL if length=0
X-SVN-Rev: 28115
2010-05-30 23:00:52 +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
Peter Edberg
d83f32e641 ICU-7550 udat_setSymbols should call verifyIsSimpleDateFormat to avoid crash with RelativeDateFormat
X-SVN-Rev: 28057
2010-05-13 03:35:54 +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
4405e8e99c ICU-7590 uloc_getVariant reports empty variant if there is no country
X-SVN-Rev: 28048
2010-05-11 07:31:35 +00:00
John Emmons
00f2329887 ICU-7438 Add -u-va-posix handling to uloc_fromLanguageTag() and uloc_toLanguageTag()
X-SVN-Rev: 28044
2010-05-10 21:24:02 +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
a89243e71f ICU-7676 make timezone error a warning - merge from r28032
X-SVN-Rev: 28033
2010-05-06 22:08:32 +00:00
Jason Spieth
cebd9d6b91 ICU-7565 Add explicit typecast for IBM i C compiler.
X-SVN-Rev: 28020
2010-05-05 15:19:40 +00:00
Michael Ow
cf562954d7 ICU-7615 Build same data library type as other libraries. Fix linking error in cintltst for static mode.
X-SVN-Rev: 27939
2010-04-16 19:18:06 +00:00
Michael Ow
bc0c9167d8 ICU-7519 Because of certain compiler optimization options, remove usage of global variables in cintltst and use getter/setter functions instead.
X-SVN-Rev: 27907
2010-04-07 16:18:38 +00:00
Steven R. Loomis
07ea404d7f ICU-3904 fix leaks. report leaks if all of ICU is compiled with URES_DEBUG
X-SVN-Rev: 27822
2010-03-11 20:05:42 +00:00
John Emmons
b5420d3d2b ICU-7431 CLDR 1.8 integration
X-SVN-Rev: 27776
2010-03-04 05:41:47 +00:00
Doug Felt
809ac514dc ICU-7500 fix uloc_getDisplayName incorrect length
X-SVN-Rev: 27774
2010-03-04 02:34:15 +00:00
Markus Scherer
13bea319a7 ICU-7492 fix ucnv_convertEx(UTF-8 to SBCS/DBCS) handling of two truncated sequences at the end of the input
X-SVN-Rev: 27757
2010-03-03 04:53:55 +00:00
Steven R. Loomis
99998611d9 ICU-7482 z issues - cintltest passes!
X-SVN-Rev: 27754
2010-03-03 01:47:00 +00:00
Michael Ow
deb0f9b6df ICU-7483 Exclude usrchdat.c from build in VS project file.
X-SVN-Rev: 27735
2010-03-02 09:44:33 +00:00
Peter Edberg
7eb5ef037e ICU-7446 Note that UREGEX_LITERAL is unimplemented, and return U_REGEX_UNIMPLEMENTED for it.
X-SVN-Rev: 27718
2010-02-27 03:40:56 +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
Markus Scherer
a20ee3d7f4 ICU-5391 sync Java compatibility u_isWhitespace() and u_isIDIgnorable() with Java & ICU4J: U+0085 is not whitespace any more, update documentation, improve tests
X-SVN-Rev: 27704
2010-02-26 20:12:09 +00:00
Markus Scherer
82bba71cce ICU-7106 string transformation functions permit source=NULL when sourceLength=0
X-SVN-Rev: 27698
2010-02-26 05:21:59 +00:00
Michael Ow
3bb1465e8d ICU-6911 Fix some memory leaks in cintltst and add value deleter in selfmt.
X-SVN-Rev: 27678
2010-02-25 19:19:53 +00:00
Steven R. Loomis
2398c33c5e ICU-7450 fix for win32
X-SVN-Rev: 27671
2010-02-25 15:10:12 +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
Steven R. Loomis
6058b10dea ICU-7450 find icu-config based on pkgdata
X-SVN-Rev: 27660
2010-02-24 22:49:36 +00:00
Michael Ow
39881d8f7b ICU-7311 Replace tab character with spaces in changes from the patch.
X-SVN-Rev: 27652
2010-02-24 19:46:03 +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
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
1cb38e859b ICU-7273 compute FC_NFKC_Closure on the fly
X-SVN-Rev: 27534
2010-02-10 23:05:39 +00:00
Umesh Nair
b11c49bcd5 ICU-7015 Implementing compact collation tailoring syntax by introducing a star-notation.
X-SVN-Rev: 27521
2010-02-09 19:59:06 +00:00
Yoshito Umaoka
572475f613 ICU-7302 Reading bcp47 key/type mapping data from the new resources in ICU4C.
X-SVN-Rev: 27516
2010-02-09 03:51:54 +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
13bbe4f77d ICU-7311 apply patch as per ticket - THANKS!
X-SVN-Rev: 27463
2010-01-30 07:43:37 +00:00
Steven R. Loomis
a739bdd8e5 ICU-7401 test for missing errorcodes
X-SVN-Rev: 27458
2010-01-30 06:53:52 +00:00
Peter Edberg
f0c9ad0b41 ICU-7295 subparse hangs with fGroupingUsed TRUE but 0-length grouping separator
X-SVN-Rev: 27415
2010-01-26 08:51:23 +00:00
Peter Edberg
4c6887c581 ICU-7295 ucal_open crash if locale==NULL && caltype==UCAL_GREGORIAN
X-SVN-Rev: 27414
2010-01-26 07:21:21 +00:00
Peter Edberg
93ecb35cb6 ICU-2223 Port weekend APIs from ICU4J to C,C++ (real implementation)
X-SVN-Rev: 27403
2010-01-25 20:12:19 +00:00
Markus Scherer
7c524feb82 ICU-7314 remove support for CNS 11643 planes 3..7 (ISO-2022-CN-EXT)
X-SVN-Rev: 27295
2010-01-16 06:37:14 +00:00
Markus Scherer
0a48da9893 ICU-7035 stop support for ICU resource bundle formatVersion 1.0 [predates ICU 2.8] in swapper code
X-SVN-Rev: 27294
2010-01-16 05:15:30 +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
Markus Scherer
285259186d ICU-7350 remove test for old udata_setCommonData() semantics; it now allows setting multiple packages and checks for duplicates
X-SVN-Rev: 27290
2010-01-15 22:48:17 +00:00
Markus Scherer
ad83876755 ICU-7344 C functions for Java modified UTF-8
X-SVN-Rev: 27261
2010-01-14 19:11:07 +00:00
Michael Ow
98d44761c7 ICU-7309 Add testcase for arabic shaping.
X-SVN-Rev: 27199
2010-01-09 18:02:30 +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
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
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
Markus Scherer
b5abd4a56e ICU-7272 test script codes >0x7f
X-SVN-Rev: 26976
2009-11-25 19:38:02 +00:00
Markus Scherer
9fca8644b5 ICU-7182 remove support for Unicode Normalization behavior before corrigendum 5 (PRI #29)
X-SVN-Rev: 26952
2009-11-19 00:46:36 +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
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
Michael Ow
a1900371b7 ICU-7226 Undo commit revision 24105 from ticket 6300.
X-SVN-Rev: 26871
2009-11-11 17:33:56 +00:00
Michael Ow
fe62ee5a61 ICU-6204 Ensure valid country code in locale id is either size 2 or 3.
X-SVN-Rev: 26809
2009-10-26 19:34:32 +00:00
John Emmons
dfccc29d1e ICU-7173 Merge CLDR 1.8p1 snapshot data
X-SVN-Rev: 26733
2009-10-02 21:06:55 +00:00
Michael Ow
3b1acfd610 ICU-6991 Add icudataver.c to windows project file.
X-SVN-Rev: 26649
2009-09-18 14:31:42 +00:00
Michael Ow
6a639a823b ICU-6991 Add test case for uspoof and reorder cintltst.
X-SVN-Rev: 26648
2009-09-18 06:38:49 +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
Steven R. Loomis
8177eb72ea ICU-6888 disable optimization for ICC - merge r26548
X-SVN-Rev: 26551
2009-08-26 01:02:40 +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
Markus Scherer
c9087beb0d ICU-6945 merge into trunk: changes for .res formatVersion 2 (#6945) and new ICU4J data .jar building from ICU4C (#7043), from -r 26329:26368 icu/branches/markus/smallres2
X-SVN-Rev: 26375
2009-07-17 22:57:26 +00:00
Yoshito Umaoka
e3a1e9df86 ICU-6916 Support preferred language subtag casing used in BCP47.
X-SVN-Rev: 26296
2009-07-10 23:39:21 +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
John Vu
e0df82e538 ICU-6967 Checked for "zero" equality.
X-SVN-Rev: 26147
2009-06-23 21:06:29 +00:00
John Vu
e2879a0667 ICU-6967 Changed if statement to check for the same sign for the values instead of the exact number.
X-SVN-Rev: 26144
2009-06-23 19:47:15 +00:00
John Vu
edf161736f ICU-6967 Removed u_compareVersions.
X-SVN-Rev: 26143
2009-06-23 18:04:40 +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
4cd8c49cc8 ICU-6905 Make heap mutex test in cintltst pass w/o data.
X-SVN-Rev: 26101
2009-06-15 03:06:50 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
John Emmons
df0e6bdc3e ICU-6909 Merge country/language data changes
X-SVN-Rev: 25983
2009-05-04 22:42:09 +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
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
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
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
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
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
Andy Heninger
34727b59c1 ICU-4790 remove 'position' parameter from areConfusable functions
X-SVN-Rev: 25718
2009-04-02 06:08:36 +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
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +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
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
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
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
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
Michael Ow
67f42c995f ICU-3378 Fix some casting and pointer passing errors.
X-SVN-Rev: 25583
2009-03-13 21:07:49 +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
Michael Ow
0a55b20859 ICU-6554 Close collator and usearch object after use.
X-SVN-Rev: 25561
2009-03-12 17:56:18 +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
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
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
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
Markus Scherer
90eee0718a ICU-6677 clean up existing test for UTF-32 string transformations
X-SVN-Rev: 25437
2009-02-18 23:15:23 +00:00
Steven R. Loomis
dd4971d760 ICU-6613 fix udat crashers. See also ICU-6737
X-SVN-Rev: 25405
2009-02-14 02:29:08 +00:00
John Emmons
fe57727649 ICU-6492 Merge Hebrew calendar changes to trunk
X-SVN-Rev: 25392
2009-02-09 18:11:52 +00:00
Eric Mader
13a9d2c3ec ICU-6717 return quaternary value as CE for strengths QUATERNARY, IDENTICAL. Re-enable TestSearchForNull.
X-SVN-Rev: 25368
2009-02-03 19:50:39 +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
Peter Edberg
ae418ed994 ICU-6702 Enable relative date formatters with non-relative timeStyles
X-SVN-Rev: 25351
2009-01-30 10:46:17 +00:00
Steven R. Loomis
f5a1df14ce ICU-6571 move the API to ulocdata
X-SVN-Rev: 25347
2009-01-29 20:31:37 +00:00
Peter Edberg
f12b1180ab ICU-4121 254 digits max for CODAN collation element (additional digits are separate element)
X-SVN-Rev: 25336
2009-01-29 07:44:27 +00:00
Steven R. Loomis
2e10735e9c ICU-6571 merge r25317 and r25318 - C side
X-SVN-Rev: 25327
2009-01-29 00:17:44 +00:00
John Emmons
9d022f0f62 ICU-6647 Testcase workaround until 6040 is fixed
X-SVN-Rev: 25325
2009-01-28 22:01:32 +00:00
Michael Ow
d2531b1d50 ICU-6695 To speed up ucnvseltst in normal mode, decrease the curCase test value.
X-SVN-Rev: 25291
2009-01-22 21:18:50 +00:00
Michael Ow
798386a4ff ICU-6695 Use realloc instead of malloc when increasing the size of the array and also update pointers to the new array. Increase the curCase value check to call code that were skipped during ucnvseltst.
X-SVN-Rev: 25289
2009-01-22 20:10:47 +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
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
Andy Heninger
04c57ff523 ICU-6656 URegex_replaceAll(), fix incorrect size return value when output buffer is too small
X-SVN-Rev: 25221
2009-01-08 06:55:22 +00:00
Peter Edberg
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Steven R. Loomis
2a70d1d602 ICU-6628 ignore @collation=default`
X-SVN-Rev: 24974
2008-11-17 21:46:15 +00:00
Steven R. Loomis
d52ac24d1e ICU-6628 prevent crash in ucol_open
X-SVN-Rev: 24972
2008-11-17 20:27:25 +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
Peter Edberg
4510d290cd ICU-6615 define UCAL_DEFAULT, make UCAL_GREGORIAN work correctly in ucal_open
X-SVN-Rev: 24935
2008-11-07 04:50:24 +00:00
Peter Edberg
d53d0406af ICU-6614 Add ucal_getType()
X-SVN-Rev: 24931
2008-11-06 06:49:30 +00:00
Peter Edberg
971dd97ca7 ICU-6585 Consolidate tests for pattern chars G,E,e,c
X-SVN-Rev: 24872
2008-10-24 05:13:21 +00:00
Markus Scherer
6b0e32fd7c ICU-6453 fix/improve upvec_ serialization, require 32-bit-aligned serialization buffers, and clean up some code
X-SVN-Rev: 24870
2008-10-24 04:35:50 +00:00
Peter Edberg
7364736f03 ICU-6585 Formats with c,cc should use local day of week (and ee should have zero pad)
X-SVN-Rev: 24869
2008-10-24 03:36:26 +00:00
Markus Scherer
362d08e00b ICU-6530 fix some gcc warnings
X-SVN-Rev: 24865
2008-10-22 22:28:06 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Peter Edberg
dea1e8f6fe ICU-5726 Make parse work for eee-eeeee, EEEE, c-cc; add tests.
X-SVN-Rev: 24814
2008-10-15 08:08:04 +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
Eric Mader
57e86d3127 ICU-6576 Check code points for UCOL_IDENTICAL. Recompute processed pattern CEs if strength changes from < quaternary to >= quaternary or visa versa.
X-SVN-Rev: 24749
2008-10-07 23:37:42 +00:00
Markus Scherer
acd74a93d1 ICU-5691 stop illegal sequences before the first byte that could start a new character; in MBCS, DBCS, ISO-2022, HZ; also make ISO-2022-KR strictly check for validity
X-SVN-Rev: 24733
2008-10-07 04:33:51 +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
Michael Ow
f92998e519 ICU-6554 Remove previous free from timezone.cpp and use static array in TestOpenVsOpenRules() capitst.
X-SVN-Rev: 24693
2008-10-01 16:54:07 +00:00
Michael Ow
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Steven R. Loomis
1c2cc48c0d ICU-4184 updated test to improve flexibility. This test does fail, so it was commented out until fixed. Added comments to the ticket.
X-SVN-Rev: 24664
2008-09-26 21:13:15 +00:00
Steven R. Loomis
6bb97a85f6 ICU-6538 revert year #
X-SVN-Rev: 24662
2008-09-26 20:51:08 +00:00
John Emmons
34345f0371 ICU-6512 Fix dependency information for coll/root.txt to ucadata - Move ucadata and invuca to coll
X-SVN-Rev: 24616
2008-09-22 17:16:32 +00:00
Brian Rower
4319fbcbbb ICU-6538 Moved all variable declarations to top of function.
X-SVN-Rev: 24603
2008-09-19 00:15:13 +00:00
Brian Rower
e87b382542 ICU-6538 Added TestOpenVsOpenRules to cintltst
X-SVN-Rev: 24601
2008-09-18 23:07:16 +00:00
Steven R. Loomis
b7c81e69de ICU-6535 fix the fix
X-SVN-Rev: 24572
2008-09-15 20:55:02 +00:00
Steven R. Loomis
1ca0d2231f ICU-6535 minor test improvements
X-SVN-Rev: 24569
2008-09-15 19:29:43 +00:00
Markus Scherer
8d40f30202 ICU-6521 add utrie_enum() test data, improve utrie_enum() performance for 16-bit tries
X-SVN-Rev: 24536
2008-09-01 11:45:56 +00:00
Brian Rower
3ff38d32ad ICU-4184 adding UString init to null string search, made test active
X-SVN-Rev: 24521
2008-08-22 23:10:22 +00:00
Brian Rower
59face9f13 ICU-4184 Fixed C++ style comments
X-SVN-Rev: 24491
2008-08-12 23:55:55 +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
Brian Rower
181e789592 ICU-4184 Removed test case until functionality is repaired.
X-SVN-Rev: 24486
2008-08-11 18:26:36 +00:00
Brian Rower
8d4078172f ICU-4184 Added test case searching for NULL character
X-SVN-Rev: 24473
2008-08-08 19:04:23 +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
Michael Ow
21ff136d04 ICU-6412 Add newline at the end of ucnvseltst.c and add missing header file in nucnvtst.c to eliminate warning messages.
X-SVN-Rev: 24468
2008-08-07 21:22:54 +00:00
Steven R. Loomis
574f3de194 ICU-6453 update sel test to load data from the correct spot.
X-SVN-Rev: 24462
2008-08-07 00:14:52 +00:00
Steven R. Loomis
26259c8299 ICU-6453 update sel test to not crash when it cant find data.
X-SVN-Rev: 24459
2008-08-06 23:34:40 +00:00
David Bertoni
cba0fb208e ICU-6453 Updated Visual Studio project files. Fixed C++ comments in C source files. Fixed stack-overwrite bug.
X-SVN-Rev: 24455
2008-08-06 21:34:53 +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
Andy Heninger
ecdc0463b8 ICU-6453 Encoding Selection moved from development branch.
X-SVN-Rev: 24438
2008-08-04 21:56:02 +00:00
Michael Ow
4b0d511fa3 ICU-6412 Remove unread local variables and explicitly cast UChar to uint8_t where needed.
X-SVN-Rev: 24435
2008-08-01 20:39:15 +00:00
Michael Ow
f7964455c2 ICU-6457 Move the if statement after variable declaration in TestSimpleDisplayNames().
X-SVN-Rev: 24429
2008-07-31 21:18:57 +00:00
Michael Ow
07d1ffaaee ICU-6457 Handle the erroneous situation of when uloc_getDisplayName/Language is called and a string of numbers is given. Add test to this fix.
X-SVN-Rev: 24428
2008-07-31 20:25:07 +00:00
Michael Ow
d4a61e3f44 ICU-4316 Add test case for proper substitution and round tripping for certain converters.
X-SVN-Rev: 24387
2008-07-16 21:12:16 +00:00
Michael Ow
211918b3cf ICU-6259 Implement Unicode Technical Note 30 concerning proper Gurmukhi conversion for Bindi and Tippi, Consonant Clusters, and Gurmukhi Rra. The change has been implemented in both ICU4C and ICU4J and data driven test have been included. Changing other test data for iscii-gur was also done to comply with this technical note.
X-SVN-Rev: 24326
2008-07-01 17:52:51 +00:00
John Emmons
840a66c48d ICU-6378 Integrate CLDR release-1-6-d03
X-SVN-Rev: 24307
2008-06-27 02:34:14 +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
Steven R. Loomis
6b25b2f485 ICU-6367 whitespace again. If UWhiteSpace is skipped in the input text, skip it also in the pattern.
X-SVN-Rev: 24247
2008-06-20 00:43:45 +00:00
David Bertoni
fb00f867b0 ICU-6342 Updated two test cases.
X-SVN-Rev: 24240
2008-06-19 17:32:40 +00:00
Eric Mader
3d2690efdd ICU-6337 TestDiacriciticMatch: use "en_US" instead of default locale.
X-SVN-Rev: 24229
2008-06-18 21:37:41 +00:00
David Bertoni
17ad04d1f4 ICU-6342 Added new resource files, updated makefiles, updated code for new resources, and fixed tests to reflect new data.
X-SVN-Rev: 24225
2008-06-18 16:53:06 +00:00
John Emmons
924a38a76e ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24179
2008-06-13 21:07:22 +00:00
Eric Mader
8b8e11bb47 ICU-6337 Add callback to initArgs to handle unknown options. Change iotest to take the STANDARD_TEST_FILE name from the argument list.
X-SVN-Rev: 24158
2008-06-12 01:01:00 +00:00
Claire Ho
3b9c7131aa ICU-5468 Array beyound write in ucol_getSortKey()
X-SVN-Rev: 24155
2008-06-11 21:37:03 +00:00
Michael Ow
bd22023816 ICU-5955 Increase the initial size of value to eliminate segmentation fault on Solaris 10.
X-SVN-Rev: 24139
2008-06-10 15:40:19 +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
f5b2610706 ICU-4038 Add test case in cintltst.
X-SVN-Rev: 24117
2008-06-06 19:34:51 +00:00
Michael Ow
e337ab8678 ICU-6300 Set the max bytes per char for UTF16 to 4 to make it consistent with the specs.
X-SVN-Rev: 24105
2008-06-04 17:49:37 +00:00
Peter Edberg
342953342c ICU-5568 Add ucal_clone()
X-SVN-Rev: 24014
2008-05-28 04:53:32 +00:00
Eric Mader
f3064ad5f8 ICU-5420 remove debugging output from TestNormExact
X-SVN-Rev: 23983
2008-05-26 20:22:18 +00:00
Eric Mader
246077067f ICU-5420 print debugging info in TestNormExact
X-SVN-Rev: 23981
2008-05-23 19:17:20 +00:00
Eric Mader
9011fe483f ICU-5420 merge changes from branches/eric/string-search r.23303 - r.23976
X-SVN-Rev: 23977
2008-05-23 04:22:28 +00:00
David Bertoni
5822580eca ICU-6124 Merged private branch into the trunk. Implementation complete, but waiting for new CLDR data.
X-SVN-Rev: 23960
2008-05-21 21:53:55 +00:00
Matitiahu Allouche
1637589583 ICU-6032 add test case for multiple paragraphs with default paragraph level - fix a typo and some formatting
X-SVN-Rev: 23939
2008-05-20 11:34:34 +00:00
Matitiahu Allouche
00fad48a8e ICU-6032 add test case for multiple paragraphs with default paragraph level
X-SVN-Rev: 23932
2008-05-19 14:13:15 +00:00
John Emmons
695f6fa9c3 ICU-6256 CLDR 1.6 integration - 1st snapshot
X-SVN-Rev: 23911
2008-05-16 15:01:02 +00:00
David Bertoni
8ad2ddd4ca ICU-6228 C++ implementation complete.
X-SVN-Rev: 23897
2008-05-14 20:39:58 +00:00
David Bertoni
b67c77c3c1 ICU-6228 C++ implementation complete.
X-SVN-Rev: 23893
2008-05-14 17:38:03 +00:00
David Bertoni
5196a571e6 ICU-6267 Changed Makefile rules to use LINK.cc rather than LINK.c.
X-SVN-Rev: 23864
2008-05-01 21:49:29 +00:00
Michael Ow
6f01b57fc6 ICU-6140 Fix invalid comment markers.
X-SVN-Rev: 23800
2008-04-17 17:58:36 +00:00
Michael Ow
0cca2d6ee3 ICU-6140 Fix various platform specific compilation errors for TestHiragana.
X-SVN-Rev: 23798
2008-04-17 16:55:43 +00:00
Michael Ow
debf923a89 ICU-6140 Ensure proper checking of Hiragana and Katakana common codepoints and add test for this.
X-SVN-Rev: 23797
2008-04-17 05:19:19 +00:00
Michael Ow
8a63dd5683 ICU-2498 Make test pass w/o data in iotest and cintltest.
X-SVN-Rev: 23783
2008-04-10 16:53:16 +00:00
Yoshito Umaoka
3396499f26 ICU-5845 Fixed a test case to invalidate zero-th week of month.
X-SVN-Rev: 23776
2008-04-09 19:19:29 +00:00
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
Peter Edberg
d4774599b6 ICU-6175 Test detecting empty segments in ISO-2022-x & HZ with UConverterCallbackReason==UCNV_IRREGULAR
X-SVN-Rev: 23572
2008-03-12 23:22:07 +00:00
George Rhoten
607152add1 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23543
2008-03-07 22:53:21 +00:00
George Rhoten
2eb00165d0 ICU-6165 Fix for EBCDIC platforms
X-SVN-Rev: 23483
2008-02-25 22:34:08 +00:00
George Rhoten
83abd2cfe6 ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23482
2008-02-25 22:32:11 +00:00
Andy Heninger
5e550c04ac ICU-6149 Merge regexp resource limit functions into the trunk
X-SVN-Rev: 23467
2008-02-20 03:08:44 +00:00
George Rhoten
ba02cd8038 ICU-6188 Improve error handling for ucol_getSortKey when memory allocation fails.
X-SVN-Rev: 23464
2008-02-19 20:10:55 +00:00
George Rhoten
2b59c659e8 ICU-6076 Make it easier to test small allocation failures.
X-SVN-Rev: 23461
2008-02-19 08:08:10 +00:00
George Rhoten
5a8942d749 ICU-6076 Fix allocation failure recovery problems.
X-SVN-Rev: 23460
2008-02-19 07:53:15 +00:00
George Rhoten
24e86c8cab ICU-6076 Make it easier to test small allocation failures.
X-SVN-Rev: 23459
2008-02-19 07:09:38 +00:00
George Rhoten
8bc5d287d9 ICU-6076 Reduce crashes and valgrind errors in tests for easier diagnostics.
X-SVN-Rev: 23457
2008-02-19 05:05:51 +00:00
George Rhoten
97e1549ea0 ICU-6076 Make it easier to find valgrind errors by not leaking memory.
X-SVN-Rev: 23452
2008-02-17 19:32:34 +00:00
George Rhoten
77d4e43ed0 ICU-6076 Prevent appending too much.
X-SVN-Rev: 23448
2008-02-17 08:27:29 +00:00
George Rhoten
df20c5147e ICU-6076 Fix some problems while testing ICU error recovery from out of memory conditions, like proper error reporting, not crashing, not leaking memory from when an allocation failure happens.
X-SVN-Rev: 23446
2008-02-16 22:58:32 +00:00
George Rhoten
512e3f34da ICU-6076 Prevent crashes while testing memory failures.
X-SVN-Rev: 23445
2008-02-16 12:30:55 +00:00
George Rhoten
0421a0ee5f ICU-6076 Fix some crashes when running out of memory.
X-SVN-Rev: 23444
2008-02-16 12:17:48 +00:00
George Rhoten
6feced2f5d ICU-6076 Fix some memory leaks found during testing for easier valgrind filtering.
X-SVN-Rev: 23441
2008-02-16 02:29:58 +00:00
George Rhoten
ededf15cbb ICU-6076 Fix some memory leaks found during testing for easier filtering.
X-SVN-Rev: 23439
2008-02-16 01:31:32 +00:00
George Rhoten
2bc412e598 ICU-6076 Use window failure testing instead of max size testing. This allows you to skip some hash table failures. Hash tables grow by powers of 2.
X-SVN-Rev: 23409
2008-02-10 20:17:14 +00:00
George Rhoten
0885eb2149 ICU-6132 Reduce large allocations
X-SVN-Rev: 23406
2008-02-09 00:50:08 +00:00
George Rhoten
b48351f219 ICU-6132 Fix previous change.
X-SVN-Rev: 23401
2008-02-08 16:20:34 +00:00
George Rhoten
87d1fafb55 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23400
2008-02-08 09:50:36 +00:00
George Rhoten
6fd29e25c7 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23399
2008-02-08 09:10:22 +00:00
George Rhoten
3daa4c96d4 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23398
2008-02-08 08:21:32 +00:00
George Rhoten
ffcb7ce01a ICU-6132 Recover from various hash table allocation errors.
X-SVN-Rev: 23394
2008-02-08 03:42:40 +00:00
George Rhoten
9ad6ca1462 ICU-6132 Verify UnicodeSet bogus state is handled without crashing
X-SVN-Rev: 23393
2008-02-08 03:39:40 +00:00
Yoshito Umaoka
ba7bd65b8f ICU-5561 Added another version of getCanonicalID which tells you if the given ID is a system timezon in C++. Updated ucal_getCanonicalTimeZone to support the feature as well.
X-SVN-Rev: 23354
2008-02-05 19:14:43 +00:00
George Rhoten
1565c2fcba ICU-6165 Test reading past the end of a buffer a little more. Speed up some code. Format some code for easier code review.
X-SVN-Rev: 23342
2008-02-01 10:34:40 +00:00
George Rhoten
d170952252 ICU-6165 Prevent a reading past the end of a buffer.
X-SVN-Rev: 23340
2008-02-01 07:08:13 +00:00
Yoshito Umaoka
873d3f5b19 ICU-5561 Adding new C++ API TimeZone::getCanonicalID and its C corresponding. Added test cases for the new API. Cleaned up ZoneMeta class.
X-SVN-Rev: 23299
2008-01-23 23:47:13 +00:00
George Rhoten
31500a228b ICU-6126 Handle STROKE and PINYIN variants more consistently.
X-SVN-Rev: 23179
2008-01-07 20:07:39 +00:00
George Rhoten
82b85fb45c ICU-6118 Remove the @internal functions ucol_collatorToIdentifier, ucol_openFromIdentifier, ucol_identifierToShortString and ucol_shortStringToIdentifier (not used by original customer and their data is out of date).
Remove some references to unused internal header references.
Make some functions library private.

X-SVN-Rev: 23177
2008-01-05 01:27:56 +00:00
George Rhoten
f53704dfc4 ICU-6004 Remove tabs from source code for easier code review.
X-SVN-Rev: 23129
2007-12-26 18:50:17 +00:00
Michael Ow
326689f2cb ICU-6101 Fix Lenient UTF8 issue and add test for new supplemental character checking code.
X-SVN-Rev: 23122
2007-12-21 00:08:12 +00:00
George Rhoten
04871ef43f ICU-5955 valgrind's massif tool (heap profiler) shows this test using a lot of unnecesary heap.
Decrease amount of heap used, and allow future supplementary characters to be tested too.

X-SVN-Rev: 23091
2007-12-15 10:01:09 +00:00
Michael Ow
d9958662e3 ICU-6024 Add dynamic buffer to collIterate to extend the size of CEs if needed to limit buffer overflow errors. CE buffer overflow cintltst test is changed to reflect this change.
X-SVN-Rev: 23089
2007-12-15 00:30:35 +00:00
George Rhoten
b29d3066db ICU-6076 There is no need to use the internal malloc API.
X-SVN-Rev: 23088
2007-12-14 10:29:06 +00:00
George Rhoten
dc72952350 ICU-6076 Fix memory leak from new code for -m option
X-SVN-Rev: 23082
2007-12-14 00:46:21 +00:00
George Rhoten
e87f0d6ca0 ICU-6088 The numeric keys are sorted last in structLocale on EBCDIC base machines. Account for those platforms too.
X-SVN-Rev: 23067
2007-12-11 22:54:43 +00:00
Andy Heninger
67e296e813 ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
George Rhoten
2659a41917 ICU-6076 Add -m test option for easier memory failure testing.
The number of allocations can now be determined so that people can be
notified of a memory leak sooner than later in a development cycle.
Only C based test frameworks are affected.
Some test fixes for when the memory is limited to 100K per allocation are also
added.

X-SVN-Rev: 23042
2007-12-07 10:49:34 +00:00
Markus Scherer
efc935f2d3 ICU-6059 add test for u_strFromUTF8(E0 A5 9C)
X-SVN-Rev: 23020
2007-12-05 19:30:57 +00:00
George Rhoten
6fac6db1b4 ICU-5913 timebomb isn't needed
X-SVN-Rev: 22995
2007-11-30 20:24:58 +00:00
George Rhoten
b375764ea9 ICU-5913 Fix C++ comment in C code and fix timebomb
X-SVN-Rev: 22993
2007-11-30 20:02:21 +00:00
Claire Ho
c6dab684b7 ICU-5913 FCD broken in vi/ro sorts.
X-SVN-Rev: 22988
2007-11-30 04:29:20 +00:00
Eric Mader
b4afc1aece ICU-6004 remove C++ comments.
X-SVN-Rev: 22943
2007-11-16 01:25:00 +00:00
Andrew J Macheret
b936324dea ICU-6004 Tiny fix - Added end-lines to error messages
X-SVN-Rev: 22941
2007-11-15 23:19:14 +00:00
Andrew J Macheret
ec863e6f4e ICU-6004 Added a test in cmsccoll.c
X-SVN-Rev: 22940
2007-11-15 23:09:40 +00:00
Claire Ho
13ec3d524f ICU-5913 Need to add the rules somewhere else. Withdraw the previous changes first.
X-SVN-Rev: 22886
2007-11-06 02:28:36 +00:00
George Rhoten
c4849a6107 ICU-6010 ISO-3166 update
X-SVN-Rev: 22884
2007-11-04 00:06:32 +00:00
Claire Ho
88f2f061d7 ICU-5913 fixed bug in discontinuous contractions.
X-SVN-Rev: 22876
2007-10-31 05:32:26 +00:00
Michael Ow
feba867323 ICU-4279 Add test case for NFD and NFC string search.
X-SVN-Rev: 22873
2007-10-30 19:45:55 +00:00
Michael Ow
3b76a8e2fb ICU-5950 Added test case and added internal breakiterator to hold the character breakiterator.
X-SVN-Rev: 22854
2007-10-25 22:02:54 +00:00
Markus Scherer
b90b809ea1 ICU-6002 HZ: restrict byte values and fix various bugs
X-SVN-Rev: 22849
2007-10-25 05:03:34 +00:00
Michael Ow
56171edcdc ICU-5024 Add null entry in DIACTRICMATCH test case.
X-SVN-Rev: 22846
2007-10-24 19:20:58 +00:00
Michael Ow
f6ec12ee6c ICU-5024 Add test case for diactric matching bug.
X-SVN-Rev: 22839
2007-10-23 19:09:59 +00:00
Markus Scherer
e2232741ed ICU-5401 fix test, reenable check for existing file
X-SVN-Rev: 22831
2007-10-22 19:21:22 +00:00
Michael Ow
7c1d2e0b40 ICU-5950 Implement breakiterator to check for accents after character match when using primary strength searches. Also, accents in the pattern are ignored when using primary strength searches. TestIgnorable test cases has been altered to test for accent after character matches.
X-SVN-Rev: 22817
2007-10-18 22:29:39 +00:00
Markus Scherer
a7fe8c6d9b ICU-5797 fix tests
X-SVN-Rev: 22773
2007-10-11 21:52:29 +00:00
George Rhoten
414eef4c2f ICU-5977 Fix for mainframes
X-SVN-Rev: 22769
2007-10-10 23:04:12 +00:00
Claire Ho
ff81b45d21 ICU-5977 set the timezone to GMT to avoid the inconsisitent result.
X-SVN-Rev: 22764
2007-10-09 20:22:16 +00:00
Claire Ho
27e64bcfac ICU-5977 added log_err() to udatpg_test.
X-SVN-Rev: 22738
2007-10-03 00:33:12 +00:00
David Bertoni
65457ffe5b ICU-5891 Implementation of CSS2 escaping.
X-SVN-Rev: 22703
2007-09-19 16:45:00 +00:00
Claire Ho
fd57e3862a ICU-5939 minor fix of udatpg_test.c.
X-SVN-Rev: 22698
2007-09-18 02:58:09 +00:00
Claire Ho
96ae8b8b0a ICU-5939 Added C/C++ test cases of DateTimePatternGenerator.
X-SVN-Rev: 22697
2007-09-18 00:00:00 +00:00
George Rhoten
19015854f1 ICU-5350 Fix last commit. Don't use C++ comments in C code.
X-SVN-Rev: 22646
2007-09-10 18:15:10 +00:00
Andy Heninger
52cc4ee6bf ICU-5350 more decimal format rounding mode fixes
X-SVN-Rev: 22645
2007-09-08 01:00:27 +00:00
Markus Scherer
7bb221a187 ICU-5869 revert changes (r22476); too risky and needs further discussion; see ticket reply
X-SVN-Rev: 22607
2007-08-31 19:39:14 +00:00
George Rhoten
f3084b1f1b ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22592
2007-08-31 04:58:52 +00:00
George Rhoten
76a99ee0e0 ICU-5447 Allow tests to pass with additional data.
X-SVN-Rev: 22508
2007-08-24 09:42:49 +00:00
Eric Mader
0a8eeb90c5 ICU-5871 Fix crashes found running cintltst w/o ICU data.
X-SVN-Rev: 22489
2007-08-23 18:07:45 +00:00
George Rhoten
8620a4a530 ICU-5869 Properly NULL terminate strings that are not byte based, like UTF-16 or UTF-32.
X-SVN-Rev: 22476
2007-08-22 23:39:11 +00:00