Commit Graph

3291 Commits

Author SHA1 Message Date
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
Claire Ho
89fd440ebc ICU-5794 1. Fixed warnings. 2. Add mutex for hash table read. 3. Add more comments.
X-SVN-Rev: 23274
2008-01-20 02:30:30 +00:00
Michael Ow
fdf0256d94 ICU-6132 Add null pointer check in prefixLength and allIgnorable.
X-SVN-Rev: 23273
2008-01-20 01:39:16 +00:00
Michael Ow
44ee923138 ICU-6132 Add check in parseCurrency and registerFactory for null pointer.
X-SVN-Rev: 23267
2008-01-17 23:16:29 +00:00
Michael Ow
d4081eab27 ICU-6132 Set the retMatcher's status to the correct error code.
X-SVN-Rev: 23266
2008-01-17 22:57:16 +00:00
Michael Ow
f95265173e ICU-6132 Fixed misspelling of error code.
X-SVN-Rev: 23265
2008-01-17 22:51:54 +00:00
Michael Ow
7f7c4f490a ICU-6132 Add memory check in constructor and copy constructor.
X-SVN-Rev: 23264
2008-01-17 22:51:00 +00:00
Michael Ow
a7aefadebd ICU-6132 Change the return value for memory allocation error in ucol.cpp.
X-SVN-Rev: 23262
2008-01-17 19:39:02 +00:00
Michael Ow
a739349c53 ICU-6132 Check to make sure historicRules[typeIdx] is not null.
X-SVN-Rev: 23257
2008-01-17 17:48:47 +00:00
Michael Ow
a209799b48 ICU-6132 Add various memory allocation error checks to uprntf_p.c, uresbund.c, ustdio.c, and usearch.cpp.
X-SVN-Rev: 23254
2008-01-16 23:16:41 +00:00
Michael Ow
4667cbc378 ICU-6132 Check null pointer before dereferencing in unesctrn, unistr, and unum.
X-SVN-Rev: 23253
2008-01-16 22:58:59 +00:00
Michael Ow
50b0630a5a ICU-6132 Include memory allocation check in ucol_elm and ucol_res.
X-SVN-Rev: 23249
2008-01-16 20:35:24 +00:00
Michael Ow
9eb7ae3040 ICU-6132 Add memory allocation check in ucol, ucol_bld, and ucol_cnt.
X-SVN-Rev: 23248
2008-01-16 20:12:48 +00:00
Michael Ow
beff6fd707 ICU-6132 Use memory check to ensure null pointers are not dereference in tridpars.
X-SVN-Rev: 23246
2008-01-16 18:18:23 +00:00
Michael Ow
aa76d931cf ICU-6132 Add null pointer check before using in translit and transreg.
X-SVN-Rev: 23245
2008-01-16 18:01:51 +00:00
Michael Ow
9cb51f2e5d ICU-6132 Add proper checking of pointer before dereferencing in timezone and tblcoll.
X-SVN-Rev: 23244
2008-01-16 17:13:11 +00:00
Michael Ow
9dc2844cfb ICU-6132 Check for null pointer dereferencing in operator =.
X-SVN-Rev: 23243
2008-01-16 17:00:55 +00:00
Michael Ow
12751de177 ICU-6132 Fix test failure by separating null pointer check.
X-SVN-Rev: 23242
2008-01-16 17:00:08 +00:00
Michael Ow
fdadab877a ICU-6132 Add memory allocation error check to simpletz and smpdtfmt.
X-SVN-Rev: 23241
2008-01-16 16:45:14 +00:00
George Rhoten
79a5d8c208 ICU-4081 Remove tabs
X-SVN-Rev: 23240
2008-01-16 16:45:12 +00:00
Michael Ow
d7afd7c71d ICU-6132 Add check for memory allocation error in constructors and throughout search.cpp.
X-SVN-Rev: 23239
2008-01-15 23:43:10 +00:00
Michael Ow
5bdd0a03d1 ICU-6132 Check null pointer allocation and perform appropriate actions in regexst.cpp, remtrans.cpp, and repattrn.cpp.
X-SVN-Rev: 23235
2008-01-14 23:25:13 +00:00
Michael Ow
82033615bf ICU-6132 Add null pointer check to regexcmp.cpp
X-SVN-Rev: 23234
2008-01-14 22:39:03 +00:00
Michael Ow
eb21e23b10 ICU-6132 Enable handling of memory allocation errors in rbt_pars.cpp and rbt_rule.cpp.
X-SVN-Rev: 23233
2008-01-14 22:29:44 +00:00
Michael Ow
b32b3d69dc ICU-6132 Add memory check for rbnf, rbt, and rbt_data.
X-SVN-Rev: 23230
2008-01-14 20:27:51 +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
Michael Ow
be09c87ee3 ICU-6132 Check to make sure matcher is not dereference if it is null.
X-SVN-Rev: 23223
2008-01-14 18:38:36 +00:00