Commit Graph

3317 Commits

Author SHA1 Message Date
Yoshito Umaoka
419e52f952 ICU-5561 Updated canonical ID mapping table creation code to support the case - new canonical ID in Olson tzdata, which replaces previous canonical ID, but CLDR does not have the alias info.
X-SVN-Rev: 23676
2008-03-25 20:39:55 +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
Michael Ow
3b646b385c ICU-6152 Add memory check for new UnicodeString.
X-SVN-Rev: 23609
2008-03-17 23:10:28 +00:00
George Rhoten
4162dd185d ICU-6208 Refactor collation initialization code so that ucol_openBinary works in more conditions.
X-SVN-Rev: 23558
2008-03-12 06:24:36 +00:00
George Rhoten
60a75139f7 ICU-6205 Allow UCONFIG_NO_CONVERSION to work in the library code.
X-SVN-Rev: 23544
2008-03-10 20:09:55 +00:00
George Rhoten
d7d3b0eaa7 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23542
2008-03-07 22:35:49 +00:00
George Rhoten
d1551dee4e ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23540
2008-03-07 19:40:46 +00:00
George Rhoten
d1b51942ad ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23485
2008-02-26 08:40:20 +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
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
George Rhoten
6d5e7e7226 ICU-6188 ucol_getSortKey should return 0 upon memory allocation error.
X-SVN-Rev: 23478
2008-02-23 07:21:00 +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
5a8942d749 ICU-6076 Fix allocation failure recovery problems.
X-SVN-Rev: 23460
2008-02-19 07:53:15 +00:00
George Rhoten
fa8aa3884b ICU-6076 Partially undo last change until further discussion.
X-SVN-Rev: 23453
2008-02-18 00:46:38 +00:00
George Rhoten
acd8f28273 ICU-6076 Make sure that we objects are fully initialized for deletion, and
that we don't leak memory after an allocation failure.

X-SVN-Rev: 23450
2008-02-17 18:26:39 +00:00
George Rhoten
08f1a884b5 ICU-6076 Improve the error recovery handling from changeset 23414.
X-SVN-Rev: 23447
2008-02-17 06:50:59 +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
8412d727f4 ICU-6076 Check one allocation at a time, and don't double free memory.
X-SVN-Rev: 23443
2008-02-16 12:08:07 +00:00
George Rhoten
2a483025d9 ICU-6183 Fix some rare UCA initialization problems
X-SVN-Rev: 23437
2008-02-15 22:41:39 +00:00
George Rhoten
57faac963c ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23433
2008-02-14 04:39:06 +00:00
George Rhoten
e7ccc2b315 ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23431
2008-02-14 03:34:27 +00:00
George Rhoten
5547bb21de ICU-6176 Fix some Coverity warnings in the unlikely event that a date/time format isn't simple in the future.
X-SVN-Rev: 23430
2008-02-14 02:43:33 +00:00
George Rhoten
928d6152bc ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23414
2008-02-13 09:35:50 +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
Michael Ow
d33e396670 ICU-6132 Compact the deletion of memory allocation error for array pointers in regexst.cpp.
X-SVN-Rev: 23405
2008-02-09 00:30:33 +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
134e6af66e ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23368
2008-02-07 18:52:57 +00:00
George Rhoten
1ba60ea83b ICU-5966 Fix some compiler warnings
X-SVN-Rev: 23366
2008-02-07 17:39:15 +00:00
George Rhoten
362ec45cca ICU-6125 Turn multiple consts into one enum.
X-SVN-Rev: 23361
2008-02-07 09:33: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
Claire Ho
f4fc45903a ICU-5794 modify the code not using mutex pool.
X-SVN-Rev: 23316
2008-01-25 18:54:43 +00:00
Michael Ow
b618ac2319 ICU-5684 Update API doc and add to NUMERIC_FORMAT_CHARS 'Y' and 'e'.
X-SVN-Rev: 23304
2008-01-24 20:58:00 +00:00
George Rhoten
5c86e2f7ae ICU-5955 SubFormat should derive from UMemory.
X-SVN-Rev: 23301
2008-01-24 03:51:26 +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
Claire Ho
fa5370e6b5 ICU-6152 fixed the memory leak.
X-SVN-Rev: 23294
2008-01-23 02:19:25 +00:00
George Rhoten
8ff289e527 ICU-5966 Fix some HP compiler warnings.
X-SVN-Rev: 23291
2008-01-22 21:15:14 +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
559e5f9f7c ICU-6153 Fix for Windows versus non-Windows differences.
X-SVN-Rev: 23282
2008-01-21 22:52:48 +00:00
George Rhoten
713f3b91a8 ICU-5794 Fix for non-Intel machines and fix Solaris compiler warnings.
X-SVN-Rev: 23281
2008-01-21 22:38:52 +00:00
George Rhoten
ec68039564 ICU-5794 Fix for non-Intel machines and fix Solaris compiler warnings.
X-SVN-Rev: 23280
2008-01-21 21:51:09 +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