Commit Graph

2488 Commits

Author SHA1 Message Date
Xiaomei Ji
8d6be178da ICU-6309 interval format clean up after consolidate skeleton consts
X-SVN-Rev: 24072
2008-05-29 19:23:52 +00:00
Jason Spieth
838f8d88bb ICU-2826 C API signature and implementation changes
X-SVN-Rev: 24035
2008-05-28 20:15:45 +00:00
Steven R. Loomis
ca28c6219a ICU-6157 fix for VC++
X-SVN-Rev: 24031
2008-05-28 16:58:33 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00
Yoshito Umaoka
45c80ec7d7 ICU-5970 2008c into ICU4C trunk
X-SVN-Rev: 23992
2008-05-27 16:51:03 +00:00
Yoshito Umaoka
a81b58ef9c ICU-5420 Fixed a compiler error on Cygwin/gcc.
X-SVN-Rev: 23990
2008-05-27 16:24:55 +00:00
Eric Mader
fb06489407 ICU-5420 Return [0, 0] in SimpleSearch if there are no CEs in the pattern.
X-SVN-Rev: 23979
2008-05-23 18:35:24 +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
Steven R. Loomis
90c5643557 ICU-6098 update version to 4.0, bump a timebombed test
X-SVN-Rev: 23934
2008-05-19 17:28:22 +00:00
Yoshito Umaoka
4e15257201 ICU-6256 Fix some GMT format problems revealed by the new locale data.
X-SVN-Rev: 23916
2008-05-16 19:50:26 +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
Andy Heninger
eecf0b1bae ICU-4009 Port Any-BreakInternal transliterator from Java
X-SVN-Rev: 23901
2008-05-15 04:53:21 +00:00
Jason Spieth
c3871d70af ICU-6088 Use hex value on character comparisons
X-SVN-Rev: 23866
2008-05-02 19:01:04 +00:00
Michael Ow
b75669b15b ICU-5504 Set the start position to -1 when iterating over hashtable elements. Correct the test number label in icusvtst.cpp.
X-SVN-Rev: 23847
2008-04-28 17:58:21 +00:00
Michael Ow
30ef273329 ICU-2826 Add new line at the end of the file to avoid compiler warnings.
X-SVN-Rev: 23844
2008-04-25 19:59:14 +00:00
Steven R. Loomis
00fed79227 ICU-6263 print aggregate test report. Also fix some svn ignores.
X-SVN-Rev: 23840
2008-04-25 17:02:32 +00:00
Jason Spieth
fde46fe892 ICU-2826 Correct Copyright date
X-SVN-Rev: 23824
2008-04-23 22:03:46 +00:00
Claire Ho
22368976c3 ICU-5794 Add tests for forLocale().
X-SVN-Rev: 23817
2008-04-21 21:25:23 +00:00
Claire Ho
cd79d31f28 ICU-5794 1. Missing assignment op in PluralFormat. 2. Incorrect init in getKeywords. 3. Always returns TRUE in isKeyword() if the input is OTHER.
X-SVN-Rev: 23796
2008-04-17 01:33:23 +00:00
Michael Ow
b02865cecf ICU-2498 Make intltest pass w/o data.
X-SVN-Rev: 23784
2008-04-10 23:19:16 +00:00
Yoshito Umaoka
a55d75d400 ICU-6216 Fixed a VTIMEZONE parsing problem in ICU4C.
X-SVN-Rev: 23780
2008-04-10 03:41:22 +00:00
Steven R. Loomis
10b591004d ICU-6098 ICU4C version to 3.9.3
X-SVN-Rev: 23778
2008-04-09 21:13:18 +00:00
Yoshito Umaoka
32c3313145 ICU-5845 Calendar 'actual' limit test ported from J to C. Also ported bug fixes related to calendar limits implementation.
X-SVN-Rev: 23775
2008-04-09 18:26:42 +00:00
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
Jason Spieth
004a6a2271 ICU-6088 Fix i5OS testcase errors
X-SVN-Rev: 23683
2008-03-26 18:45:50 +00:00
Yoshito Umaoka
9971f8f5f5 ICU-4571 Updated EthiopicCalendar's constructor to specify era mode. New calendar keyword ethiopic-amete-alem to create an instance of EthiopicCalendar with Amete Alem era only. Modified the test case to cover ethiopic-amete-alem.
X-SVN-Rev: 23665
2008-03-24 22:21:21 +00:00
Yoshito Umaoka
ac7d853b91 ICU-4571 Merging Coptic/Ethiopic calendar work from yoshito's work branch to the trunk.
X-SVN-Rev: 23657
2008-03-22 02:58:07 +00:00
Steven R. Loomis
85e9292e1a ICU-6098 Update ICU4C to 3.9.2 and move translit timebombs
X-SVN-Rev: 23608
2008-03-17 21:58:50 +00:00
George Rhoten
d1551dee4e ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23540
2008-03-07 19:40:46 +00:00
Yoshito Umaoka
2219f2dd70 ICU-6201 Initialize millisecond field in calendars used by test4096231 to avoid intermittent test failure on Windows.
X-SVN-Rev: 23519
2008-03-03 21:19:36 +00:00
George Rhoten
fe7e42eace ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23481
2008-02-25 21:21:47 +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
Claire Ho
f785553c68 ICU-6172 fixed the duplicate time pattern.
X-SVN-Rev: 23397
2008-02-08 07:10:28 +00:00
George Rhoten
01ad058ec8 ICU-5966 Fix some compiler warnings
X-SVN-Rev: 23365
2008-02-07 17:36:15 +00:00
George Rhoten
4be82b37e9 ICU-5966 Fix some Intel compiler warnings
X-SVN-Rev: 23364
2008-02-07 17:32:07 +00:00
George Rhoten
c72d3c93e8 ICU-5966 Remove the Visual C++ 2008 linker warning about Windows 98 optimization option. It wasn't needed that much anyway.
X-SVN-Rev: 23362
2008-02-07 10:05:26 +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
Andrew J Macheret
7a0b18985e ICU-5491 fixed a problem with negative multipliers, added tests for it
X-SVN-Rev: 23351
2008-02-05 04:25:48 +00:00
Michael Ow
573400e72a ICU-5684 Add test case for parsing 'Y' and 'e'.
X-SVN-Rev: 23305
2008-01-24 21:19:51 +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
5391e72e09 ICU-6153 Fix for Windows versus non-Windows differences.
X-SVN-Rev: 23285
2008-01-22 00:11:43 +00:00
George Rhoten
a74869abf6 ICU-5955 Fix a few crashes under error conditions.
X-SVN-Rev: 23277
2008-01-21 17:35:02 +00:00
George Rhoten
e8e7c73d8a ICU-6153 Prevent crash for large ChoiceFormat values by using the correct printf specification.
X-SVN-Rev: 23276
2008-01-21 17:27:53 +00:00
Andrew J Macheret
6c2161e7bd ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23228
2008-01-14 20:10:54 +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
Steven R. Loomis
2ea08731e3 ICU-6018 remove test verbosity
X-SVN-Rev: 23175
2008-01-04 20:11:50 +00:00
George Rhoten
c05bd41d42 ICU-6118 Export less internal API.
X-SVN-Rev: 23173
2008-01-04 08:45:10 +00:00
Steven R. Loomis
0921f9727a ICU-6018 relative date and test failures
X-SVN-Rev: 23166
2008-01-04 01:21:37 +00:00
Claire Ho
307a3f8307 ICU-6104 fixed the inconsistent behavior of DateTimePatternGen between ICU4C and ICU4J.
X-SVN-Rev: 23156
2008-01-03 01:40:16 +00:00
George Rhoten
7490278152 ICU-6118 Export less internal API.
X-SVN-Rev: 23155
2008-01-02 23:53:26 +00:00
George Rhoten
8a5b6a411b ICU-6116 Readd LocaleAliasTest
X-SVN-Rev: 23151
2008-01-02 20:39:11 +00:00
Yoshito Umaoka
d5307ba937 ICU-5970 Merging tzdata 2007k into ICU4C trunk, with one necessary test data update.
X-SVN-Rev: 23150
2008-01-02 20:37:12 +00:00
George Rhoten
8081ce1d2b ICU-5794 Various fixes for the following items.
1) Pass the locale on for the PluralFormat constructor
2) Perform normal ICU error code handling so that parse errors aren't discarded.
3) Remove more C++ static initialization.
4) Remove spaces from test names so that they can be called from the command line.
5) Fix various compiler warnings.

X-SVN-Rev: 23141
2007-12-29 05:51:50 +00:00
Claire Ho
368dcc71a7 ICU-6110 1. Fixed the date/time order issue. 2. Added more test cases.
X-SVN-Rev: 23127
2007-12-22 05:30:33 +00:00
George Rhoten
7ecc972c39 ICU-6076 Prevent a double mutex lock when the following happens.
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.

This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.

X-SVN-Rev: 23107
2007-12-18 01:31:11 +00:00
George Rhoten
075829e0f3 ICU-5794 Fix for HP-UX, which didn't like objects declared in an array like
this.

X-SVN-Rev: 23101
2007-12-17 21:10:47 +00:00
Claire Ho
c11cd154da ICU-5794 merge from feature branch.
X-SVN-Rev: 23095
2007-12-17 01:39:55 +00:00
George Rhoten
deda12eb38 ICU-5990 Fix a memory leak.
X-SVN-Rev: 23090
2007-12-15 04:16:47 +00:00
George Rhoten
6112b5685d ICU-6076 Fix some realloc issues.
X-SVN-Rev: 23086
2007-12-14 09:23:07 +00:00
Yoshito Umaoka
4cd394b8da ICU-5990 Fixed a bug in the test case enabled for 3.9.1. status was not initialized to U_ZERO_ERROR properly.
X-SVN-Rev: 23081
2007-12-13 23:56:02 +00:00
Yoshito Umaoka
2e87f7e798 ICU-5990 Remove an unreferenced variable used by the timebomb in the previous version.
X-SVN-Rev: 23080
2007-12-13 22:28:06 +00:00
Yoshito Umaoka
0219cb81d9 ICU-5990 Updated the timezone test case and removed timebomb. Localized GMT format is available for bg locale
X-SVN-Rev: 23079
2007-12-13 21:41:21 +00:00
George Rhoten
09759f76f5 ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23078
2007-12-13 21:37:23 +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
278ac82268 ICU-5955 Fix a memory leak.
X-SVN-Rev: 23040
2007-12-07 02:15:17 +00:00
George Rhoten
6fa9a969b8 ICU-5955 Fix a memory leak
X-SVN-Rev: 23038
2007-12-07 01:19:38 +00:00
George Rhoten
8e5fa8c4d8 ICU-5955 Fix memory leak
X-SVN-Rev: 23035
2007-12-06 18:33:45 +00:00
George Rhoten
16606cd531 ICU-5955 Fix a memory leak and a compiler warning.
X-SVN-Rev: 23033
2007-12-06 17:12:29 +00:00
Yoshito Umaoka
18224fd078 ICU-5990 Fix memory leak issues
X-SVN-Rev: 23018
2007-12-05 16:00:18 +00:00
Yoshito Umaoka
9380f65f4a ICU-5990 Updated DateFormatRoundTrip test to support zone string format before 1970 properly
X-SVN-Rev: 22982
2007-11-29 19:28:51 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
George Rhoten
bc4a8b72c1 ICU-6001 Fix callback
X-SVN-Rev: 22906
2007-11-08 21:06:10 +00:00
George Rhoten
c4849a6107 ICU-6010 ISO-3166 update
X-SVN-Rev: 22884
2007-11-04 00:06:32 +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
49868a5a68 ICU-6001 fix ucnv_getUnicodeSet(LMBCS)
X-SVN-Rev: 22850
2007-10-25 05:17:43 +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
Markus Scherer
31b85e745d ICU-6001 UCNV_ROUNDTRIP_AND_FALLBACK_SET for ucnv_getUnicodeSet(); improve set filtering; fix some bugs
X-SVN-Rev: 22847
2007-10-24 21:15:41 +00:00
Doug Felt
fb2431bbdd ICU-6000 fix for RBNF in ICU4C
X-SVN-Rev: 22845
2007-10-24 00:38:03 +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
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
Yoshito Umaoka
8a4005e165 ICU-5971 Fix a test failure in TestFebruary. The test for Olson time zone America/Sao_Paulo is no longer valid with tzdata 2007h
X-SVN-Rev: 22726
2007-10-01 20:22:47 +00:00
John Emmons
1f0933a1df ICU-5965 Update metazone transition info to be GMT
X-SVN-Rev: 22723
2007-10-01 15:00:26 +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
John Emmons
5841b2c731 ICU-5910 Add test for TestTimeZoneDisplayName
X-SVN-Rev: 22638
2007-09-06 21:22:41 +00:00
George Rhoten
c8bb832ad8 ICU-5919 Fixes for old iostream usage on HP-UX
X-SVN-Rev: 22634
2007-09-06 18:00:08 +00:00
George Rhoten
a8e2903338 ICU-5905 Fix svn properties
X-SVN-Rev: 22612
2007-09-01 07:22:23 +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
Markus Scherer
172c5af054 ICU-5882 revert changes: ticket 5869 needs to be either fixed or rolled back, and the original test code in csdetest.cpp helps expose 5869's problem
X-SVN-Rev: 22602
2007-08-31 18:06:46 +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
John Emmons
45f5c60bb7 ICU-5104 Reverting mistaken change to dtfmtrtts.cpp
X-SVN-Rev: 22570
2007-08-29 19:45:43 +00:00
John Emmons
2949a8fd76 ICU-5104 Add test for Portuguese number spellout
X-SVN-Rev: 22569
2007-08-29 19:42:49 +00:00
George Rhoten
a904086007 ICU-5343 Code formatting fixes.
X-SVN-Rev: 22563
2007-08-29 07:09:37 +00:00
Claire Ho
e48c68df67 ICU-5787 more code cleanup.
X-SVN-Rev: 22534
2007-08-26 20:10:45 +00:00
Eric Mader
4cc1a9181c ICU-5882 forgot to call ucnv_close() on the converter...
X-SVN-Rev: 22523
2007-08-24 19:13:00 +00:00
Eric Mader
4d34e9654f ICU-5882 use ucnv_getMinCharSize() to allocate space for trailing null character.
X-SVN-Rev: 22522
2007-08-24 19:04:53 +00:00
Steven R. Loomis
02f8bbd8b2 ICU-2895 relative date testing and fix
X-SVN-Rev: 22493
2007-08-23 20:14:07 +00:00
Eric Mader
6a6f3feb6b ICU-5871 Fix crashes found running intltest w/o ICU data.
X-SVN-Rev: 22477
2007-08-23 01:19:39 +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
Michael Ow
c9e968fbba ICU-5343 Port over TestRounding from ICU4J to ICU4C.
X-SVN-Rev: 22473
2007-08-22 19:58:25 +00:00
George Rhoten
ad98d31c53 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22461
2007-08-21 23:02:50 +00:00