Commit Graph

5008 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
George Rhoten
deda12eb38 ICU-5990 Fix a memory leak.
X-SVN-Rev: 23090
2007-12-15 04:16:47 +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
6112b5685d ICU-6076 Fix some realloc issues.
X-SVN-Rev: 23086
2007-12-14 09:23:07 +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
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
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
2c15ef3b5c ICU-6071 test and fix BMP-SBCS 1:2 and 2:1 conversions
X-SVN-Rev: 23041
2007-12-07 05:34:26 +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
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