Commit Graph

20286 Commits

Author SHA1 Message Date
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
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
627e666a35 ICU-6125 Reduce writable memory so that more of the data can be shared between processes.
X-SVN-Rev: 23178
2008-01-06 07:46:45 +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
36eaa60b6c ICU-6018 fix RelativeDate for Java, update DataDrivenFormatTest and test data
X-SVN-Rev: 23176
2008-01-05 01:05:53 +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
2318f11693 ICU-6123 On HP-UX, zh_HK.big5 uses a different charmap from zh_TW.big5
X-SVN-Rev: 23174
2008-01-04 17:34:02 +00:00
George Rhoten
c05bd41d42 ICU-6118 Export less internal API.
X-SVN-Rev: 23173
2008-01-04 08:45:10 +00:00
George Rhoten
49763cd5c8 ICU-5386 Rehide debugging functions
X-SVN-Rev: 23172
2008-01-04 08:42:53 +00:00
Andrew J Macheret
ef074de118 ICU-6117 I oopsed and flipped the behavior of the encoder for writing of BOMs when making my changes, so I flipped that back (so that UTF-32 now outputs a BOM and BE and LE do not). Also changed the names of some of the booleans (flipping them to reflect the name change where necessary) and took out calls to implReset in the constructors.
X-SVN-Rev: 23168
2008-01-04 02:36:22 +00:00
Andrew J Macheret
5cd61ec504 ICU-6117 Reverted one test for UTF-32 that I was wrong to change, and commented others I have changed. Also fixed a warning in the new TestSurrogateBehavior test.
X-SVN-Rev: 23167
2008-01-04 02:26:00 +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
Steven R. Loomis
f5997fb476 ICU-6122 Fake Time support
X-SVN-Rev: 23165
2008-01-04 01:05:15 +00:00
Michael Ow
f404915fab ICU-5385 Use thaidict.ctd when creating thai break iterator and update corresponding test.
X-SVN-Rev: 23161
2008-01-03 18:48:06 +00:00
George Rhoten
977716d034 ICU-5955 Move variable to bss section by initializing it to 0
X-SVN-Rev: 23160
2008-01-03 10:10:15 +00:00
George Rhoten
271c9f4f42 ICU-6112 Initialize variable properly when using performance tests
X-SVN-Rev: 23159
2008-01-03 10:09:12 +00:00
George Rhoten
dd845e9520 ICU-5955 Mark data const
X-SVN-Rev: 23158
2008-01-03 10:07:47 +00:00
George Rhoten
13c6adb8cb ICU-6112 Eliminate the __common section in the __DATA segment on Mac OS X
X-SVN-Rev: 23157
2008-01-03 08:33:25 +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