Commit Graph

20402 Commits

Author SHA1 Message Date
Michael Ow
32d24c4fca ICU-6151 Add out of bound check for target CharBuffer in decodeLoop.
X-SVN-Rev: 23283
2008-01-21 22:53:55 +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
Yoshito Umaoka
06b6c7f668 ICU-5561 Added a new API TimeZone#getCanonicalID and its test case in ICU4J. Also cleaned up some code in ZoneMeta related to the new API implementation.
X-SVN-Rev: 23279
2008-01-21 20:07:15 +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
George Rhoten
4999616984 ICU-6090 Remove broken compiler warnings.
X-SVN-Rev: 23275
2008-01-20 19:11:49 +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
8e6b5ca8f1 ICU-6132 Add memory check in ucbuf.c.
X-SVN-Rev: 23271
2008-01-19 00:30:28 +00:00
Michael Ow
02df5f103d ICU-6132 Add null pointer check and memory leak avoidance measures to rbbinode.cpp and rbbirb.cpp.
X-SVN-Rev: 23270
2008-01-19 00:09:54 +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
d9bc53599e ICU-6132 Move declaration of variables to beginning of method.
X-SVN-Rev: 23261
2008-01-17 19:18:03 +00:00
Michael Ow
15b23ccd3f ICU-6132 Check for memory allocation error in setText(UText).
X-SVN-Rev: 23260
2008-01-17 18:49:28 +00:00
Michael Ow
6c61aa48a8 ICU-6132 Move declaration of tempstr to beginning of function.
X-SVN-Rev: 23259
2008-01-17 18:07:16 +00:00
Michael Ow
752767bf9d ICU-6132 Add return NULL for memory allocation error in ures_getVersionNumber.
X-SVN-Rev: 23258
2008-01-17 17:58: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
fc445e22ef ICU-6132 Add check after new for memory allocation failure in util.cpp.
X-SVN-Rev: 23255
2008-01-16 23:19:25 +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
5e72fa288d ICU-6132 Add code to check for memory allocation error and memory leaks in udata.c, uloc.c, and ufile.c.
X-SVN-Rev: 23252
2008-01-16 22:24:05 +00:00
Yoshito Umaoka
cd54ac79e7 ICU-6148 Promoted getString() to @draft. Fixed and updated the code samples in JavaDoc, with getString().
X-SVN-Rev: 23250
2008-01-16 21:58:41 +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
Andrew J Macheret
d6d5a2e31d ICU-6117 Moved UTF32BE, UTF32LE, UTF16BE, UTF16LE, and CESU8 into their own individual .java files
X-SVN-Rev: 23247
2008-01-16 19:00:06 +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
Yoshito Umaoka
2363fc3235 ICU-5160 Added a test case for verifying the threading problem resolved by this ticket.
X-SVN-Rev: 23238
2008-01-15 18:36:50 +00:00
Yoshito Umaoka
6bbf2b68e5 ICU-5160 Changed from synchronized(buffer) to synchronized(this). When buffer is re-allocated, synchronized(buffer) may not work properly.
X-SVN-Rev: 23237
2008-01-15 18:35:48 +00:00
Michael Ow
d717772bbd ICU-6132 If locale could not be created, return default one.
X-SVN-Rev: 23236
2008-01-14 23:30:51 +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
Andrew J Macheret
5d4a3a7589 ICU-6117 Whoops, created some problems, so I made them ok. Also changed some underflow-overflow checks around for the sake of performance, and reverted a test that I shouldn't have changed some time ago.
X-SVN-Rev: 23232
2008-01-14 21:50:17 +00:00
Andrew J Macheret
35ec4512fc ICU-6117 Synched up my changes in CharsetUTF16 and 32, put the BE and LE stub classes into the parent class files in the same way CharsetUTF8 and CharsetCESU8 are done, added old fromUnicodeStatus behavior in the encoders, and put back @author tags
X-SVN-Rev: 23231
2008-01-14 20:36:10 +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
c5e68bd1f8 ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23229
2008-01-14 20:25:22 +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
46eb0f1212 ICU-6132 Add memory allocation check to rbbiset.cpp.
X-SVN-Rev: 23227
2008-01-14 20:10:23 +00:00