Commit Graph

5676 Commits

Author SHA1 Message Date
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
Andy Heninger
44bf429a55 ICU-7224 bug in regular expressions with negative lookahead
X-SVN-Rev: 26848
2009-11-06 01:27:56 +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
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
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
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
5f5cbb2c28 ICU-7159 Remove -O requirement in pkgdata when mode is common.
X-SVN-Rev: 26679
2009-09-23 16:53:07 +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
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
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
Andy Heninger
86ca295bb4 ICU-7108 Regenerated LineBreakTest.txt
X-SVN-Rev: 26570
2009-08-28 17:43:49 +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
Steven R. Loomis
8177eb72ea ICU-6888 disable optimization for ICC - merge r26548
X-SVN-Rev: 26551
2009-08-26 01:02:40 +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 Emmons
6c38378a54 ICU-4547 Updated support for correct month numbering/naming in Hebrew calendar
X-SVN-Rev: 26522
2009-08-20 03:44:43 +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
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
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
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
Michael Ow
5c1ddc6006 ICU-6955 Add test case for illegal SI/SO source.
X-SVN-Rev: 26198
2009-06-29 19:50:35 +00:00
Michael Ow
23b175e17f ICU-6955 Add more test case for various mbcs situations.
X-SVN-Rev: 26195
2009-06-29 17:38:15 +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
Michael Ow
ad93f8cd75 ICU-6955 Update test converter and add test cases.
X-SVN-Rev: 26170
2009-06-25 16:01:31 +00:00
Michael Ow
4b5bf7300d ICU-6955 Fix TestConversion test in ICU4J to increment target only if there is an overflow. add more code coverage test case for MBCS.
X-SVN-Rev: 26161
2009-06-24 23:01:17 +00:00
Michael Ow
9e39b57bf1 ICU-6955 Update charset test for better code coverage for MBCS.
X-SVN-Rev: 26156
2009-06-24 18:54:36 +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
Michael Ow
771dda07f2 ICU-6955 Add new test code page and test cases.
X-SVN-Rev: 26148
2009-06-23 21:15:32 +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
Michael Ow
9dcb89e824 ICU-6955 Remove duplicate code in CharsetMBCS add test case for SCSU.
X-SVN-Rev: 26139
2009-06-22 19:37:57 +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
905834ecca ICU-6955 Fix CharsetSCSU error and add test case.
X-SVN-Rev: 26137
2009-06-21 18:46:42 +00:00
Michael Ow
283c484852 ICU-6955 Update code coverage test for SCSU and BOCU.
X-SVN-Rev: 26136
2009-06-21 06:55:31 +00:00
Michael Ow
1be173845b ICU-6955 Improve code coverage for charset SCSU. Fix some errors in CharsetSCSU.
X-SVN-Rev: 26133
2009-06-19 19:20:55 +00:00
Michael Ow
685da47d1a ICU-6955 Fix BOCU-1 logical errors and add test case.
X-SVN-Rev: 26128
2009-06-17 22:11:57 +00:00
Andy Heninger
cf141fb997 ICU-6926 Fix svn properties and text file line endings
X-SVN-Rev: 26112
2009-06-16 05:56:50 +00:00
Andy Heninger
d9bc692358 ICU-6998 Compiler warning fixes
X-SVN-Rev: 26109
2009-06-16 00:57:23 +00:00
Michael Ow
c7db033e9f ICU-6955 Update BOCU-1 data driven conversion test.
X-SVN-Rev: 26105
2009-06-15 21:28:03 +00:00
Michael Ow
421a82ef41 ICU-6955 Add code coverage test case for BOCU-1 in data driven test.
X-SVN-Rev: 26104
2009-06-15 19:46:54 +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
6b1f9ef27c ICU-6905 Make intltest pass without any data.
X-SVN-Rev: 26096
2009-06-12 19:34:21 +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
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
Michael Ow
c160905800 ICU-4790 Fix uconfig error.
X-SVN-Rev: 25985
2009-05-05 02:03:27 +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
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
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
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
John Emmons
9f6245828b ICU-6492 Add override based constructors for SimpleDateFormat
X-SVN-Rev: 25435
2009-02-18 13:29:17 +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
Xiaomei Ji
45071a142b ICU-6433 from branch to trunk for API slush
X-SVN-Rev: 25399
2009-02-12 22:55:29 +00:00
Steven R. Loomis
5b3ae62bfd ICU-6727 fix failures in strict mode, add make check
X-SVN-Rev: 25393
2009-02-10 19:31:24 +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
Michael Ow
f94144a976 ICU-3933 Remove unused files and code and update project files and makefiles to reflect this change. Update man page. Add files mode functionality to pkgdata. Clean up code.
X-SVN-Rev: 25383
2009-02-06 17:42:16 +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
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
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
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
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
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
Eric Mader
9b8a829f2a ICU-6697 Updated samples, test/perf subtree project files. Fixed a bug in reader.c while I was in the neighborhood...
X-SVN-Rev: 25301
2009-01-23 03:48:42 +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
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
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
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
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
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
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Jason Spieth
eaab373af7 ICU-6592 Integrated patch
X-SVN-Rev: 25036
2008-12-02 19:45:13 +00:00
Michael Ow
aa19a5bae0 ICU-3933 Use icu-config when -O option is not given.
X-SVN-Rev: 25022
2008-12-01 21:57:14 +00:00
Michael Ow
112c1493df ICU-3933 Fix installation of the data library.
X-SVN-Rev: 25020
2008-12-01 20:49:08 +00:00
Michael Ow
a54f83b603 ICU-6412 Add svn:ignore property to Makefile.
X-SVN-Rev: 25003
2008-11-24 20:10:12 +00:00
Michael Ow
09813cbf3d ICU-3933 Merge pkgdata update from branch to trunk.
X-SVN-Rev: 25002
2008-11-24 20:04:52 +00:00
Michael Ow
cdefbe48c1 ICU-6637 Ignore stream test when iostream is disabled.
X-SVN-Rev: 24991
2008-11-21 20:47:36 +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
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
Steven R. Loomis
46fb1b9b1f ICU-6610 don't use macros as argument for U_STRING_INIT (fix and doc)
X-SVN-Rev: 24912
2008-10-31 01:17:27 +00:00
Michael Ow
d867f8f664 ICU-6589 If old iostream is being used, display message instead of log error for failed bit flag test result.
X-SVN-Rev: 24904
2008-10-28 14:59:04 +00:00
Yoshito Umaoka
3879197e6f ICU-6415 ICU4C timezone 2008i
X-SVN-Rev: 24894
2008-10-27 19:28:41 +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
Xiaomei Ji
6280be2fa5 ICU-6303 change FIXME to TODO
X-SVN-Rev: 24860
2008-10-22 06:06:56 +00:00
Michael Ow
622526558d ICU-6589 Fix the TestStreamEOF error logging issue and use UChar* instead of *char for proper default codepage issues especially on EBCDIC platforms.
X-SVN-Rev: 24844
2008-10-17 19:57:37 +00:00
Markus Scherer
92488b771d ICU-5691 fix comments/order in conversion.txt
X-SVN-Rev: 24825
2008-10-16 00:32:27 +00:00
Markus Scherer
add67e15d5 ICU-5691 fix 2022 & HZ to really include the offending trail byte exactly if it is not a starter
X-SVN-Rev: 24824
2008-10-16 00:24:42 +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
Markus Scherer
c801506d5d ICU-5691 stop illegal HZ tilde sequences before the first byte that could start a new character
X-SVN-Rev: 24773
2008-10-10 16:30:28 +00:00
Markus Scherer
b6b3273af0 ICU-5691 stop illegal ISO-2022 escape/shift sequences before the first byte that could start a new character
X-SVN-Rev: 24769
2008-10-10 06:00:27 +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
Steven R. Loomis
7f89a4be9d ICU-6557 fix c/c++ confusion
X-SVN-Rev: 24711
2008-10-03 08:08:33 +00:00