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
Claire Ho
f785553c68
ICU-6172 fixed the duplicate time pattern.
...
X-SVN-Rev: 23397
2008-02-08 07:10:28 +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
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