Michael Ow
2ed2733b76
ICU-6132 Add bogus state to UnicodeSet to indicate such errors as memory allocation error.
...
X-SVN-Rev: 23287
2008-01-22 17:46:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
George Rhoten
35aa7a6339
ICU-5794 Prevent an infinite loop.
...
X-SVN-Rev: 23153
2008-01-02 21:00:31 +00:00
George Rhoten
8a5b6a411b
ICU-6116 Readd LocaleAliasTest
...
X-SVN-Rev: 23151
2008-01-02 20:39:11 +00:00
Yoshito Umaoka
d5307ba937
ICU-5970 Merging tzdata 2007k into ICU4C trunk, with one necessary test data update.
...
X-SVN-Rev: 23150
2008-01-02 20:37:12 +00:00
Michael Ow
3fb75dd27a
ICU-6101 Use hasNext to check for end of iterator.
...
X-SVN-Rev: 23144
2007-12-31 20:25:48 +00:00
George Rhoten
85832f0f2d
ICU-6112 Don't export private symbols, and bind the symbols locally on
...
Solaris.
X-SVN-Rev: 23142
2007-12-30 00:26:21 +00:00
George Rhoten
8081ce1d2b
ICU-5794 Various fixes for the following items.
...
1) Pass the locale on for the PluralFormat constructor
2) Perform normal ICU error code handling so that parse errors aren't discarded.
3) Remove more C++ static initialization.
4) Remove spaces from test names so that they can be called from the command line.
5) Fix various compiler warnings.
X-SVN-Rev: 23141
2007-12-29 05:51:50 +00:00
George Rhoten
d89d165bfd
ICU-6112 Make ucol_contractionEndCP more like ucol_unsafeCP
...
X-SVN-Rev: 23139
2007-12-28 21:16:45 +00:00
George Rhoten
012debec5d
ICU-6112 Minor performance enhancement for strcoll with strings that have common prefixes. Turn a few constants into real constants. The more common switch cases should be checked sooner (surrogates aren't that common as shown by collperf). Move ucol_cloneBinary closer to the other clone methods for legibility reasons.
...
X-SVN-Rev: 23138
2007-12-28 20:08:41 +00:00
George Rhoten
da6bcd2c16
ICU-6112 Reset a converter about 20% faster. This is helpful when converting many small strings. In the overall scheme of things, it's not that significant since a reset is generally quick.
...
X-SVN-Rev: 23137
2007-12-28 19:59:17 +00:00
George Rhoten
10611e82fd
ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
...
X-SVN-Rev: 23136
2007-12-26 21:45:18 +00:00
George Rhoten
ce9333ff8e
ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
...
X-SVN-Rev: 23135
2007-12-26 21:44:39 +00:00
George Rhoten
3918c4f055
ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
...
X-SVN-Rev: 23134
2007-12-26 21:37:40 +00:00
George Rhoten
95265fc6ec
ICU-6024 Handle memory failure a little better.
...
X-SVN-Rev: 23133
2007-12-26 19:55:00 +00:00
George Rhoten
28d188c581
ICU-6024 Update comments to reflect new implementation.
...
X-SVN-Rev: 23132
2007-12-26 19:38:01 +00:00
George Rhoten
e3b500cb29
ICU-6024 Update comments to reflect new implementation.
...
X-SVN-Rev: 23131
2007-12-26 19:34:45 +00:00
George Rhoten
021daf4b4a
ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
...
X-SVN-Rev: 23130
2007-12-26 19:27:43 +00:00
George Rhoten
f53704dfc4
ICU-6004 Remove tabs from source code for easier code review.
...
X-SVN-Rev: 23129
2007-12-26 18:50:17 +00:00
Claire Ho
ff531c3e87
ICU-6110 renamed variables.
...
X-SVN-Rev: 23128
2007-12-22 06:29:24 +00:00
Claire Ho
368dcc71a7
ICU-6110 1. Fixed the date/time order issue. 2. Added more test cases.
...
X-SVN-Rev: 23127
2007-12-22 05:30:33 +00:00
Michael Ow
326689f2cb
ICU-6101 Fix Lenient UTF8 issue and add test for new supplemental character checking code.
...
X-SVN-Rev: 23122
2007-12-21 00:08:12 +00:00
Michael Ow
f2a8d7dd61
ICU-6101 Move the setting of variable from inside a macro call to outside.
...
X-SVN-Rev: 23116
2007-12-20 19:22:58 +00:00
Michael Ow
20a3dfbb35
ICU-6101 Remove redundant character iterator position test.
...
X-SVN-Rev: 23115
2007-12-20 17:35:04 +00:00
Michael Ow
50269e4bb7
ICU-6101 Add check for surrogate pair during test for discontiguous contraction.
...
X-SVN-Rev: 23114
2007-12-19 23:37:23 +00:00
George Rhoten
cc84d97266
ICU-6103 Don't use C++ static initialization
...
X-SVN-Rev: 23113
2007-12-19 22:39:09 +00:00
Claire Ho
f6900ac943
ICU-5794 Fixed static initialization problem.
...
X-SVN-Rev: 23111
2007-12-19 05:25:09 +00:00
George Rhoten
bebc001574
ICU-6076 Fix a memory leak on really bad failures.
...
X-SVN-Rev: 23109
2007-12-18 19:07:36 +00:00
George Rhoten
7ecc972c39
ICU-6076 Prevent a double mutex lock when the following happens.
...
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.
This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.
X-SVN-Rev: 23107
2007-12-18 01:31:11 +00:00
George Rhoten
344e2283d7
ICU-6076 Prevent a double mutex lock when the following happens.
...
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.
This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.
X-SVN-Rev: 23104
2007-12-18 01:19:16 +00:00
George Rhoten
5bb343c749
ICU-5955 Better bit packing of the hash table as reported by Purify.
...
X-SVN-Rev: 23102
2007-12-17 22:12:44 +00:00
George Rhoten
075829e0f3
ICU-5794 Fix for HP-UX, which didn't like objects declared in an array like
...
this.
X-SVN-Rev: 23101
2007-12-17 21:10:47 +00:00
George Rhoten
1f17b06512
ICU-5794 Fixes for Windows, build configuration and other issues.
...
X-SVN-Rev: 23100
2007-12-17 20:07:37 +00:00
George Rhoten
682f94570c
ICU-5794 Fixes for HP-UX
...
X-SVN-Rev: 23099
2007-12-17 19:35:31 +00:00
George Rhoten
dc0166c6ae
ICU-5794 Fixes for Windows, build configuration and other issues.
...
X-SVN-Rev: 23098
2007-12-17 19:30:03 +00:00
Claire Ho
c11cd154da
ICU-5794 merge from feature branch.
...
X-SVN-Rev: 23095
2007-12-17 01:39:55 +00:00
George Rhoten
2768704120
ICU-5955 Reduce test node size for easier valgrind heap analysis.
...
X-SVN-Rev: 23094
2007-12-16 01:20:13 +00:00
George Rhoten
c2d667f950
ICU-5990 Slightly reduce the cache further.
...
X-SVN-Rev: 23092
2007-12-15 11:21:16 +00:00
George Rhoten
04871ef43f
ICU-5955 valgrind's massif tool (heap profiler) shows this test using a lot of unnecesary heap.
...
Decrease amount of heap used, and allow future supplementary characters to be tested too.
X-SVN-Rev: 23091
2007-12-15 10:01:09 +00:00
George Rhoten
deda12eb38
ICU-5990 Fix a memory leak.
...
X-SVN-Rev: 23090
2007-12-15 04:16:47 +00:00
Michael Ow
d9958662e3
ICU-6024 Add dynamic buffer to collIterate to extend the size of CEs if needed to limit buffer overflow errors. CE buffer overflow cintltst test is changed to reflect this change.
...
X-SVN-Rev: 23089
2007-12-15 00:30:35 +00:00
George Rhoten
b29d3066db
ICU-6076 There is no need to use the internal malloc API.
...
X-SVN-Rev: 23088
2007-12-14 10:29:06 +00:00
George Rhoten
1725c5899a
ICU-6076 Fix some allocation issues.
...
X-SVN-Rev: 23087
2007-12-14 10:17:12 +00:00
George Rhoten
6112b5685d
ICU-6076 Fix some realloc issues.
...
X-SVN-Rev: 23086
2007-12-14 09:23:07 +00:00
Yoshito Umaoka
b2d926052e
ICU-5386 Fix a compilation problem in the previous revision - changed int to int32_t.
...
X-SVN-Rev: 23084
2007-12-14 03:53:20 +00:00
George Rhoten
9e018fe33b
ICU-6098 Update to ICU 3.9.1
...
X-SVN-Rev: 23083
2007-12-14 02:13:33 +00:00
George Rhoten
dc72952350
ICU-6076 Fix memory leak from new code for -m option
...
X-SVN-Rev: 23082
2007-12-14 00:46:21 +00:00
Yoshito Umaoka
4cd394b8da
ICU-5990 Fixed a bug in the test case enabled for 3.9.1. status was not initialized to U_ZERO_ERROR properly.
...
X-SVN-Rev: 23081
2007-12-13 23:56:02 +00:00
Yoshito Umaoka
2e87f7e798
ICU-5990 Remove an unreferenced variable used by the timebomb in the previous version.
...
X-SVN-Rev: 23080
2007-12-13 22:28:06 +00:00
Yoshito Umaoka
0219cb81d9
ICU-5990 Updated the timezone test case and removed timebomb. Localized GMT format is available for bg locale
...
X-SVN-Rev: 23079
2007-12-13 21:41:21 +00:00
George Rhoten
09759f76f5
ICU-6098 Update to ICU 3.9.1
...
X-SVN-Rev: 23078
2007-12-13 21:37:23 +00:00
George Rhoten
0e9dbb4a32
ICU-6093 Allow icupkg to check for %%DEPENDENCY items.
...
X-SVN-Rev: 23077
2007-12-13 03:00:29 +00:00
George Rhoten
84051fc883
ICU-5985 Make the gcc configuration build like xlC_r
...
X-SVN-Rev: 23073
2007-12-12 17:28:24 +00:00
George Rhoten
e87f0d6ca0
ICU-6088 The numeric keys are sorted last in structLocale on EBCDIC base machines. Account for those platforms too.
...
X-SVN-Rev: 23067
2007-12-11 22:54:43 +00:00
Andy Heninger
67e296e813
ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
...
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
George Rhoten
2659a41917
ICU-6076 Add -m test option for easier memory failure testing.
...
The number of allocations can now be determined so that people can be
notified of a memory leak sooner than later in a development cycle.
Only C based test frameworks are affected.
Some test fixes for when the memory is limited to 100K per allocation are also
added.
X-SVN-Rev: 23042
2007-12-07 10:49:34 +00:00
Markus Scherer
2c15ef3b5c
ICU-6071 test and fix BMP-SBCS 1:2 and 2:1 conversions
...
X-SVN-Rev: 23041
2007-12-07 05:34:26 +00:00
George Rhoten
278ac82268
ICU-5955 Fix a memory leak.
...
X-SVN-Rev: 23040
2007-12-07 02:15:17 +00:00
George Rhoten
6fa9a969b8
ICU-5955 Fix a memory leak
...
X-SVN-Rev: 23038
2007-12-07 01:19:38 +00:00
George Rhoten
8e5fa8c4d8
ICU-5955 Fix memory leak
...
X-SVN-Rev: 23035
2007-12-06 18:33:45 +00:00
Yoshito Umaoka
a184afed39
ICU-5990 Fixed some bugs in code supporting old metazone mapping data.
...
X-SVN-Rev: 23034
2007-12-06 17:21:28 +00:00
George Rhoten
16606cd531
ICU-5955 Fix a memory leak and a compiler warning.
...
X-SVN-Rev: 23033
2007-12-06 17:12:29 +00:00
George Rhoten
2297d8ce9c
ICU-5990 Allocate about 300K less and about 2,000 fewer allocations.
...
X-SVN-Rev: 23032
2007-12-06 06:02:02 +00:00
Yoshito Umaoka
40a1b853e2
ICU-5990 Use of a reference to a resource bundle string for tzid in meta-to-olson mapping table. Set NULL to the static global ZoneStringFormat cache. Added a code to prevent Purify to generate UMR warnings.
...
X-SVN-Rev: 23031
2007-12-06 03:28:08 +00:00
George Rhoten
15733e3e0e
ICU-5990 Convert fewer char * strings.
...
X-SVN-Rev: 23030
2007-12-06 01:14:09 +00:00
George Rhoten
9f5c0d840a
ICU-5990 Don't use charset conversion for invariant strings. Allocate less memory. Alias resource bundle string more frequently.
...
X-SVN-Rev: 23029
2007-12-06 00:46:41 +00:00
Steven R. Loomis
37a5cf7d49
ICU-6063 Really fix memory leak.
...
X-SVN-Rev: 23028
2007-12-05 23:57:11 +00:00
Steven R. Loomis
c6184cf96d
ICU-6063 fix memory leak. Also, rename a variable for clarity
...
X-SVN-Rev: 23025
2007-12-05 21:13:44 +00:00
Yoshito Umaoka
155de1eafe
ICU-5990 Fixed a memory leak problem in ZoneStringFormat cache.
...
X-SVN-Rev: 23024
2007-12-05 20:44:15 +00:00
Yoshito Umaoka
7ccc5b70ff
ICU-6051 Changed from Calendar.IS_LEAP_MONTH to ChineseCalendar.IS_LEAP_MONTH in the data drive test generation code.
...
X-SVN-Rev: 23023
2007-12-05 20:22:54 +00:00
Markus Scherer
efc935f2d3
ICU-6059 add test for u_strFromUTF8(E0 A5 9C)
...
X-SVN-Rev: 23020
2007-12-05 19:30:57 +00:00
George Rhoten
a8777a6f4e
ICU-5966 Fix some compiler warnings.
...
X-SVN-Rev: 23019
2007-12-05 16:44:08 +00:00
Yoshito Umaoka
18224fd078
ICU-5990 Fix memory leak issues
...
X-SVN-Rev: 23018
2007-12-05 16:00:18 +00:00
George Rhoten
0dda41de85
ICU-5966 Fix some compiler warnings.
...
X-SVN-Rev: 23017
2007-12-05 05:37:54 +00:00
John Emmons
d05a895ee1
ICU-6047 Integrate data change from CLDR 1566
...
X-SVN-Rev: 23014
2007-12-05 02:57:27 +00:00
George Rhoten
42b8c8fe7d
ICU-6054 Add comments on when remapPlatformDependentCodepage should be modified.
...
X-SVN-Rev: 23007
2007-12-04 16:44:36 +00:00
George Rhoten
1d1a2181e5
ICU-6054 Remap ambiguous EUC alias, and add sun_eu_greek alias.
...
X-SVN-Rev: 23006
2007-12-04 16:36:03 +00:00
Yoshito Umaoka
9521f5bc4c
ICU-5970 tzdata 2007j into ICU4C
...
X-SVN-Rev: 23003
2007-12-03 18:16:01 +00:00
George Rhoten
6fac6db1b4
ICU-5913 timebomb isn't needed
...
X-SVN-Rev: 22995
2007-11-30 20:24:58 +00:00
George Rhoten
b375764ea9
ICU-5913 Fix C++ comment in C code and fix timebomb
...
X-SVN-Rev: 22993
2007-11-30 20:02:21 +00:00
George Rhoten
1c53993fe7
ICU-5913 Use C comments instead of C++ comments.
...
X-SVN-Rev: 22992
2007-11-30 17:40:47 +00:00
Claire Ho
c6dab684b7
ICU-5913 FCD broken in vi/ro sorts.
...
X-SVN-Rev: 22988
2007-11-30 04:29:20 +00:00
John Emmons
9ec55174e8
ICU-6047 Integrate CLDR 1.5.1 data
...
X-SVN-Rev: 22987
2007-11-30 02:46:05 +00:00
Markus Scherer
2096b06370
ICU-5930 no U_NAMESPACE_BEGIN/END in C API headers
...
X-SVN-Rev: 22986
2007-11-29 23:23:51 +00:00
Yoshito Umaoka
6dbeb85bff
ICU-5970 Olson tzdata 2007i
...
X-SVN-Rev: 22985
2007-11-29 20:29:41 +00:00
Markus Scherer
b3db774efc
ICU-5930 make layout engine compile with -DU_USING_ICU_NAMESPACE=0
...
X-SVN-Rev: 22983
2007-11-29 19:52:22 +00:00
Yoshito Umaoka
9380f65f4a
ICU-5990 Updated DateFormatRoundTrip test to support zone string format before 1970 properly
...
X-SVN-Rev: 22982
2007-11-29 19:28:51 +00:00
Yoshito Umaoka
7e51ed7330
ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
...
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
George Rhoten
6490ed1ae8
ICU-6034 Prevent a mutex deadlock in case tzset really calls ICU under the covers.
...
X-SVN-Rev: 22960
2007-11-26 18:25:01 +00:00
Matitiahu Allouche
bd833a37f2
ICU-6032 fix the bug for ICU4C.
...
X-SVN-Rev: 22957
2007-11-22 15:52:32 +00:00
Michael Ow
ad499a6c4b
ICU-738 Eliminate extra space by offseting position argument by 1.
...
X-SVN-Rev: 22947
2007-11-16 21:03:01 +00:00
Eric Mader
b4afc1aece
ICU-6004 remove C++ comments.
...
X-SVN-Rev: 22943
2007-11-16 01:25:00 +00:00
Michael Ow
dd6609733d
ICU-738 Fix Linux malloc error.
...
X-SVN-Rev: 22942
2007-11-15 23:33:24 +00:00
Andrew J Macheret
b936324dea
ICU-6004 Tiny fix - Added end-lines to error messages
...
X-SVN-Rev: 22941
2007-11-15 23:19:14 +00:00
Andrew J Macheret
ec863e6f4e
ICU-6004 Added a test in cmsccoll.c
...
X-SVN-Rev: 22940
2007-11-15 23:09:40 +00:00
George Rhoten
af18df5289
ICU-5900 Fix logic issue with u_toSmallKana and u_toLargeKana
...
X-SVN-Rev: 22924
2007-11-14 18:06:11 +00:00
Andrew J Macheret
f23e13afaf
ICU-6004 Added a line so that the code that generates a partial key will ignore ignorables, just like the full key generator does
...
X-SVN-Rev: 22909
2007-11-09 20:32:16 +00:00
George Rhoten
bc4a8b72c1
ICU-6001 Fix callback
...
X-SVN-Rev: 22906
2007-11-08 21:06:10 +00:00
Michael Ow
a47509395b
ICU-738 Fix intialization warnings.
...
X-SVN-Rev: 22905
2007-11-08 18:16:15 +00:00
Michael Ow
3bab6dc25c
ICU-738 Add argument list to store va_list information when positional data is given.
...
X-SVN-Rev: 22904
2007-11-08 17:21:40 +00:00
Eric Mader
b97a0ed12e
ICU-5923 Remove stray C++ comment.
...
X-SVN-Rev: 22901
2007-11-08 00:20:57 +00:00
Eric Mader
f9c887d9a5
ICU-5923 Fix broken logical to physical mapping, improve test.
...
X-SVN-Rev: 22898
2007-11-07 00:37:48 +00:00
Michael Ow
f87c360920
ICU-738 Eliminate call to system sprintf in reordering test.
...
X-SVN-Rev: 22897
2007-11-07 00:30:22 +00:00
Andrew J Macheret
1f872827e3
ICU-4081 Ported more tests and fixed more problems revealed by tests
...
X-SVN-Rev: 22896
2007-11-07 00:07:35 +00:00