Commit Graph

20355 Commits

Author SHA1 Message Date
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
Michael Ow
80d1db6517 ICU-6132 Check for null pointer and add goto label at the end to remove all allocated memory in the event of an error.
X-SVN-Rev: 23226
2008-01-14 20:04:33 +00:00
Michael Ow
d6daed3088 ICU-6132 Check memory leak and null pointers rbbiscan.cpp.
X-SVN-Rev: 23225
2008-01-14 19:26:43 +00:00
Michael Ow
1aef673644 ICU-6132 Ensure that factories and fLanguageBreakEngines are created before dereferencing.
X-SVN-Rev: 23224
2008-01-14 18:52:26 +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
Michael Ow
7bdbf4cd39 ICU-6132 Check for malloc failure before strcpy in u_setDataDirectory and *getDefaultLocaleID.
X-SVN-Rev: 23222
2008-01-14 18:27:21 +00:00
Michael Ow
c4aa0659fb ICU-6132 When checking firstTZTransition, it was accidentally assigned NULL instead of testing for NULL.
X-SVN-Rev: 23221
2008-01-14 18:19:44 +00:00
Michael Ow
e1398c194a ICU-6132 Add memory allocation check in Olson Timezone code.
X-SVN-Rev: 23220
2008-01-14 16:45:52 +00:00
Yoshito Umaoka
70939d3152 ICU-4943 Added some constructors in ChineseCalendar to make it consistent with other Calendar implementation class.
X-SVN-Rev: 23219
2008-01-14 15:27:46 +00:00
Michael Ow
fa02813466 ICU-6132 Revert changes to nfrule causing test failures on ICC.
X-SVN-Rev: 23218
2008-01-13 19:10:05 +00:00
Michael Ow
7a0fc85860 ICU-4384 Fix iotest error on ICC and AIX 5.2.
X-SVN-Rev: 23217
2008-01-13 06:50:29 +00:00
Yoshito Umaoka
849c401c9b ICU-5698 Set maximum limit for digits used for creating BigInteger/BigDecimal in DecimalFormat to prevent the parse method to trigger OutOfMemoryException. Also added test case for some extreme cases.
X-SVN-Rev: 23216
2008-01-12 07:45:14 +00:00
Michael Ow
b33fe49157 ICU-4384 Fix AIX build error message.
X-SVN-Rev: 23215
2008-01-12 04:09:40 +00:00
Michael Ow
0df22a86c7 ICU-6132 Add status parameter to prefixLength and to check for memory allocation failure and check memory allocation failure in other pparts of nfrule.
X-SVN-Rev: 23214
2008-01-11 23:20:03 +00:00
Michael Ow
b7a7050b03 ICU-6132 Check buf for null in debgging code.
X-SVN-Rev: 23213
2008-01-11 22:38:26 +00:00
Michael Ow
19ccfa37de ICU-6132 Check for fStuff being null in various locations.
X-SVN-Rev: 23212
2008-01-11 22:28:37 +00:00
Michael Ow
2b9c52e17f ICU-6132 Pointers for RBNF and Formattable are check for null.
X-SVN-Rev: 23211
2008-01-11 22:17:28 +00:00
Michael Ow
10ad732dbf ICU-6132 Make sure that operator == does not dereference unit if it is null.
X-SVN-Rev: 23210
2008-01-11 22:02:07 +00:00
Michael Ow
3edc99506c ICU-6132 Check for memory allocation failures.
X-SVN-Rev: 23209
2008-01-11 20:56:55 +00:00
Michael Ow
72d0694032 ICU-6132 Add status to moonAge and various other null pointer checks.
X-SVN-Rev: 23208
2008-01-11 20:32:46 +00:00
Michael Ow
1350baacc2 ICU-6132 Add translit and replacer null pointer check.
X-SVN-Rev: 23207
2008-01-11 19:55:29 +00:00
Michael Ow
ab11db3686 ICU-6132 Add various error checks for fString.
X-SVN-Rev: 23206
2008-01-11 19:42:41 +00:00
Michael Ow
d357fc8b07 ICU-6132 Add memory allocation error checking in createZoneStrings().
X-SVN-Rev: 23205
2008-01-11 19:07:49 +00:00
Michael Ow
853d42f9a4 ICU-6132 Add check for dereferencing of internal null pointers fSymbols and fRoundingIncrement.
X-SVN-Rev: 23204
2008-01-11 18:44:41 +00:00
Andrew J Macheret
8efc03e857 ICU-6128 got rid of some java 5+ syntax (foreach)
X-SVN-Rev: 23203
2008-01-10 23:02:56 +00:00
Andrew J Macheret
1688a41eb1 ICU-6128 cleaned up some hz stuff -- more was ported than i realized
X-SVN-Rev: 23202
2008-01-10 20:20:05 +00:00
Andrew J Macheret
ef23eaf578 ICU-6128 ported HZ and a test for it from icu4c. had to port some stuff from converter extensions as well. also accidently code-formatted all of CharsetMBCS *runs and screams*
X-SVN-Rev: 23201
2008-01-10 02:37:02 +00:00
Michael Ow
653f0ded15 ICU-6132 Check dereferencing null pointers, fCalendar and fNumberFormat.
X-SVN-Rev: 23200
2008-01-09 23:39:39 +00:00
Michael Ow
0b6146f394 ICU-6132 Change status error code.
X-SVN-Rev: 23199
2008-01-09 23:18:58 +00:00
Michael Ow
9105daf5dc ICU-6132 Change error code for null pointer.
X-SVN-Rev: 23198
2008-01-09 23:16:56 +00:00
Michael Ow
eb896f7b9e ICU-6132 Check for fmt null pointer.
X-SVN-Rev: 23197
2008-01-09 22:58:45 +00:00
Michael Ow
a9d9611f99 ICU-6132 Check for memory allocation error in CompoundTransliterator.
X-SVN-Rev: 23196
2008-01-09 21:00:11 +00:00
Michael Ow
7636e40123 ICU-6132 Check for memory allocation error in ChoiceFormat.
X-SVN-Rev: 23195
2008-01-09 20:36:55 +00:00
Michael Ow
d97bd85518 ICU-6132 Check for dereferencing of null pointers in calendar code.
X-SVN-Rev: 23194
2008-01-09 20:25:21 +00:00
Eric Mader
2ec39c5999 ICU-6104 update stale copyright notice.
X-SVN-Rev: 23193
2008-01-09 20:18:29 +00:00
Eric Mader
f79c045066 ICU-6118 update stale copyright date.
X-SVN-Rev: 23192
2008-01-09 20:17:07 +00:00
Eric Mader
44edf66fe6 ICU-6013 can't mix declarations and code in C.
X-SVN-Rev: 23191
2008-01-09 18:20:25 +00:00
Michael Ow
97a208abfe ICU-6132 Check for null pointer in clone() before dereferencing.
X-SVN-Rev: 23190
2008-01-09 17:30:59 +00:00
Michael Ow
08c3d75a2c ICU-6132 Check for ICULocaleService null pointer after getService call.
X-SVN-Rev: 23189
2008-01-09 05:42:43 +00:00
Michael Ow
1d33bc7268 ICU-6132 Check for null pointer in AnyTransliterator constructors.
X-SVN-Rev: 23188
2008-01-09 04:40:16 +00:00
Eric Mader
eeaec865a4 ICU-4384 Remove C++ comments from C code.
X-SVN-Rev: 23187
2008-01-09 00:54:11 +00:00
Lloyd Honomichl
954b20fce6 ICU-6013 Added checks for buffer overflows
X-SVN-Rev: 23186
2008-01-09 00:04:19 +00:00
Michael Ow
c80e40dcb9 ICU-4384 Handle malloc error issue in new parsing code.
X-SVN-Rev: 23185
2008-01-08 23:42:53 +00:00
Yoshito Umaoka
b0900e7924 ICU-6089 Support FieldPosition created with DateFormat.Field in SimpleDateFormat.format properly. Also added test cases for verifying the behavior.
X-SVN-Rev: 23184
2008-01-08 22:50:46 +00:00
Michael Ow
e6bd9614f4 ICU-4384 Update the comments in *snprintf* declarations to reflect the change in the return value.
X-SVN-Rev: 23183
2008-01-08 21:58:51 +00:00
George Rhoten
9b82688642 ICU-6125 Eliminate a few kilobytes of unused bits in constant data structures.
X-SVN-Rev: 23182
2008-01-08 09:45:15 +00:00
George Rhoten
1d64a7d5b4 ICU-6125 Mark more data constant.
X-SVN-Rev: 23181
2008-01-08 03:46:30 +00:00
George Rhoten
88117f9c2f ICU-6126 Handle STROKE and PINYIN variants more consistently.
X-SVN-Rev: 23180
2008-01-08 00:42:19 +00:00