Commit Graph

3784 Commits

Author SHA1 Message Date
Claire Ho
0f3bf04d8c ICU-6374 Change status from ICU4.2 to ICU4.0 for supporting double type
X-SVN-Rev: 24310
2008-06-27 03:33:14 +00:00
Claire Ho
9e010c8ebe ICU-6374 Support decimal fractions in PluralRules:select()
X-SVN-Rev: 24299
2008-06-26 17:51:59 +00:00
David Bertoni
9ea0a3d95d ICU-6149 Fixed typos in comments.
X-SVN-Rev: 24285
2008-06-25 00:42:29 +00:00
Claire Ho
1d28513708 ICU-6366 added error checking.
X-SVN-Rev: 24261
2008-06-20 23:47:59 +00:00
Steven R. Loomis
1a359a2fe6 ICU-6344 disable search if break iteration is on
X-SVN-Rev: 24260
2008-06-20 22:53:25 +00:00
Steven R. Loomis
6b25b2f485 ICU-6367 whitespace again. If UWhiteSpace is skipped in the input text, skip it also in the pattern.
X-SVN-Rev: 24247
2008-06-20 00:43:45 +00:00
Steven R. Loomis
a00a971eea ICU-6297 fixup doxygen tags
X-SVN-Rev: 24246
2008-06-20 00:42:38 +00:00
Xiaomei Ji
74ade133f7 ICU-6157 change per review
X-SVN-Rev: 24244
2008-06-19 22:05:36 +00:00
Claire Ho
2ede5a4790 ICU-6366 Access locale plural rules from resource bundle.
X-SVN-Rev: 24242
2008-06-19 20:23:49 +00:00
Michael Ow
52aead68b4 ICU-6334 Fix API Doc examples.
X-SVN-Rev: 24237
2008-06-19 16:22:45 +00:00
Xiaomei Ji
f61432db45 ICU-6157 after review
X-SVN-Rev: 24228
2008-06-18 21:07:30 +00:00
Andy Heninger
3f894f5616 ICU-6360 fix problem with U_USING_ICU_NAMESPACES=0 build
X-SVN-Rev: 24226
2008-06-18 19:57:54 +00:00
Claire Ho
81ac0f67a6 ICU-6356 Fixed the coredump for c tests running without data files.
X-SVN-Rev: 24211
2008-06-17 22:27:18 +00:00
Xiaomei Ji
0ad3aff9b2 ICU-6157 update after 1st round code review
X-SVN-Rev: 24200
2008-06-16 22:32:36 +00:00
Steven R. Loomis
d59b5c5e4c ICU-6344 uconfigtest / hdrtest fixes
X-SVN-Rev: 24157
2008-06-11 21:52:29 +00:00
Claire Ho
3b9c7131aa ICU-5468 Array beyound write in ucol_getSortKey()
X-SVN-Rev: 24155
2008-06-11 21:37:03 +00:00
Claire Ho
49dca38bb9 ICU-6341 incorrect getBestPattern result for narrow date format.
X-SVN-Rev: 24151
2008-06-11 16:31:33 +00:00
Michael Ow
030cb40618 ICU-5955 Free offsetBuffer in setText before it is reinitialized.
X-SVN-Rev: 24138
2008-06-10 14:11:50 +00:00
Steven R. Loomis
c1bca30b6d ICU-6157 header includes fixes
X-SVN-Rev: 24132
2008-06-10 01:26:42 +00:00
Michael Ow
c5664786eb ICU-5955 Change declaration of inline function to static.
X-SVN-Rev: 24131
2008-06-09 22:10:40 +00:00
Yoshito Umaoka
7c178f621e ICU-4732 Default century support in Persian calendar.
X-SVN-Rev: 24130
2008-06-09 21:37:46 +00:00
Michael Ow
c504eafdc8 ICU-5955 Add freeOffsetBuffer function to make sure that previously allocated offsetBuffer is freed to avoid memory leaks. Add deleter method in ssearch.cpp to remove hashtable objects. Delete various objects in intltest after it is no longer needed.
X-SVN-Rev: 24129
2008-06-09 21:18:46 +00:00
Andy Heninger
4635ea3a9c ICU-6321 TimeZone::getDisplayName(), move bug fixes from Java to C++
X-SVN-Rev: 24126
2008-06-09 03:46:34 +00:00
John Emmons
1ee6fd5b02 ICU-6256 Integrate 1.6 data - 2nd run
X-SVN-Rev: 24124
2008-06-07 20:46:42 +00:00
Steven R. Loomis
5130b1e429 ICU-5420 fix some namespace/linkage issues
X-SVN-Rev: 24122
2008-06-06 21:51:25 +00:00
Steven R. Loomis
70fe0d0560 ICU-6157 fix for solaris linkage
X-SVN-Rev: 24120
2008-06-06 21:42:54 +00:00
Steven R. Loomis
2339b2ed30 ICU-6157 fix for solaris linkage
X-SVN-Rev: 24119
2008-06-06 21:04:15 +00:00
Michael Ow
8d8b77b563 ICU-5955 Add deleter for TimeZoneRule.
X-SVN-Rev: 24116
2008-06-06 18:44:54 +00:00
Steven R. Loomis
5aaacb9233 ICU-6157 remove ASCIIism
X-SVN-Rev: 24083
2008-05-30 01:38:04 +00:00
Steven R. Loomis
65ea8e11d6 ICU-6309 update example skeletons from Java src/com/ibm/icu/text/DateFormat.java with UDAT_ prefix
X-SVN-Rev: 24073
2008-05-29 20:27:01 +00:00
Xiaomei Ji
8d6be178da ICU-6309 interval format clean up after consolidate skeleton consts
X-SVN-Rev: 24072
2008-05-29 19:23:52 +00:00
Steven R. Loomis
a5d6b9619c ICU-6297 fixup doxygen tags
X-SVN-Rev: 24046
2008-05-28 21:20:51 +00:00
Jason Spieth
838f8d88bb ICU-2826 C API signature and implementation changes
X-SVN-Rev: 24035
2008-05-28 20:15:45 +00:00
Steven R. Loomis
a41fff060d ICU-6157 fix the fix, for VC++ to also work on gcc
X-SVN-Rev: 24032
2008-05-28 17:17:06 +00:00
Steven R. Loomis
ca28c6219a ICU-6157 fix for VC++
X-SVN-Rev: 24031
2008-05-28 16:58:33 +00:00
Peter Edberg
342953342c ICU-5568 Add ucal_clone()
X-SVN-Rev: 24014
2008-05-28 04:53:32 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00
Eric Mader
ea4a1a7b48 ICU-5420 ucol_IGetPrevCE: always reset flags when finished w/ side buffer; fix a couple of signed/unsigned problems.
X-SVN-Rev: 23982
2008-05-26 19:18:33 +00:00
Eric Mader
9011fe483f ICU-5420 merge changes from branches/eric/string-search r.23303 - r.23976
X-SVN-Rev: 23977
2008-05-23 04:22:28 +00:00
Steven R. Loomis
c2ae3e30a4 ICU-6297 move @draft to @stable
X-SVN-Rev: 23962
2008-05-21 23:27:14 +00:00
Steven R. Loomis
8bfc121f97 ICU-6297 doxygen fixes (partial)
X-SVN-Rev: 23959
2008-05-21 21:34:54 +00:00
Steven R. Loomis
0a711393b1 ICU-6098 update version in project files
X-SVN-Rev: 23944
2008-05-20 18:51:08 +00:00
Yoshito Umaoka
4e15257201 ICU-6256 Fix some GMT format problems revealed by the new locale data.
X-SVN-Rev: 23916
2008-05-16 19:50:26 +00:00
John Emmons
695f6fa9c3 ICU-6256 CLDR 1.6 integration - 1st snapshot
X-SVN-Rev: 23911
2008-05-16 15:01:02 +00:00
David Bertoni
5d50abf277 ICU-4009 Added new files to VS project file.
X-SVN-Rev: 23906
2008-05-15 17:28:34 +00:00
Andy Heninger
755ae4c7c2 ICU-4009 Translit, fix Linux build of brktrans
X-SVN-Rev: 23903
2008-05-15 05:11:08 +00:00
Andy Heninger
dbadbd711a ICU-4009 Port Any-BreakInternal transliterator from Java
X-SVN-Rev: 23902
2008-05-15 04:54:19 +00:00
Andy Heninger
eecf0b1bae ICU-4009 Port Any-BreakInternal transliterator from Java
X-SVN-Rev: 23901
2008-05-15 04:53:21 +00:00
Claire Ho
dd03825a4d ICU-5696 Fixed performance degredation for collation.
X-SVN-Rev: 23858
2008-05-01 01:18:54 +00:00
Steven R. Loomis
4aa07df910 ICU-6240 assorted C bugs
X-SVN-Rev: 23841
2008-04-25 17:29:35 +00:00
Steven R. Loomis
6d39fb1708 ICU-4447 add test for y/yy/yyy/yyyy/yyyyy
X-SVN-Rev: 23832
2008-04-25 01:13:33 +00:00
Jason Spieth
0dffb9ff54 ICU-6088 More complete overflow fix
X-SVN-Rev: 23827
2008-04-24 20:42:46 +00:00
Jason Spieth
fde46fe892 ICU-2826 Correct Copyright date
X-SVN-Rev: 23824
2008-04-23 22:03:46 +00:00
Jason Spieth
e67739dfd5 ICU-6088 Fix testcase overflow
X-SVN-Rev: 23823
2008-04-23 20:45:14 +00:00
Claire Ho
a5c9c6e123 ICU-6255 move static variables below U_NAMESPACE_BEGIN.
X-SVN-Rev: 23822
2008-04-23 16:14:27 +00:00
Michael Ow
97d87b962d ICU-5794 Fix a possible infinite loop in plurrule.cpp.
X-SVN-Rev: 23815
2008-04-21 17:48:32 +00:00
Kedar Rajwade
cbd785db50 ICU-5966 Fixed some compiler warnings
X-SVN-Rev: 23806
2008-04-17 20:52:04 +00:00
Michael Ow
debf923a89 ICU-6140 Ensure proper checking of Hiragana and Katakana common codepoints and add test for this.
X-SVN-Rev: 23797
2008-04-17 05:19:19 +00:00
Claire Ho
cd79d31f28 ICU-5794 1. Missing assignment op in PluralFormat. 2. Incorrect init in getKeywords. 3. Always returns TRUE in isKeyword() if the input is OTHER.
X-SVN-Rev: 23796
2008-04-17 01:33:23 +00:00
Michael Ow
f92dfb834c ICU-6140 Undo previous commit.
X-SVN-Rev: 23789
2008-04-12 21:56:41 +00:00
Michael Ow
26e1e30df4 ICU-6140 Compare using sort keys on hiragana and (shifted is on or quaternary strength).
X-SVN-Rev: 23788
2008-04-11 19:27:21 +00:00
Yoshito Umaoka
a55d75d400 ICU-6216 Fixed a VTIMEZONE parsing problem in ICU4C.
X-SVN-Rev: 23780
2008-04-10 03:41:22 +00:00
Yoshito Umaoka
32c3313145 ICU-5845 Calendar 'actual' limit test ported from J to C. Also ported bug fixes related to calendar limits implementation.
X-SVN-Rev: 23775
2008-04-09 18:26:42 +00:00
Michael Ow
89d5749692 ICU-6140 Use sort key comparison when hiragana is turned on.
X-SVN-Rev: 23764
2008-04-04 23:59:12 +00:00
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
Michael Ow
1e0b45a68a ICU-5955 Remove unneeded object from PluralRules::forLocale().
X-SVN-Rev: 23733
2008-04-02 23:03:55 +00:00
Jason Spieth
004a6a2271 ICU-6088 Fix i5OS testcase errors
X-SVN-Rev: 23683
2008-03-26 18:45:50 +00:00
Yoshito Umaoka
419e52f952 ICU-5561 Updated canonical ID mapping table creation code to support the case - new canonical ID in Olson tzdata, which replaces previous canonical ID, but CLDR does not have the alias info.
X-SVN-Rev: 23676
2008-03-25 20:39:55 +00:00
Yoshito Umaoka
9971f8f5f5 ICU-4571 Updated EthiopicCalendar's constructor to specify era mode. New calendar keyword ethiopic-amete-alem to create an instance of EthiopicCalendar with Amete Alem era only. Modified the test case to cover ethiopic-amete-alem.
X-SVN-Rev: 23665
2008-03-24 22:21:21 +00:00
Yoshito Umaoka
ac7d853b91 ICU-4571 Merging Coptic/Ethiopic calendar work from yoshito's work branch to the trunk.
X-SVN-Rev: 23657
2008-03-22 02:58:07 +00:00
Michael Ow
3b646b385c ICU-6152 Add memory check for new UnicodeString.
X-SVN-Rev: 23609
2008-03-17 23:10:28 +00:00
George Rhoten
4162dd185d ICU-6208 Refactor collation initialization code so that ucol_openBinary works in more conditions.
X-SVN-Rev: 23558
2008-03-12 06:24:36 +00:00
George Rhoten
60a75139f7 ICU-6205 Allow UCONFIG_NO_CONVERSION to work in the library code.
X-SVN-Rev: 23544
2008-03-10 20:09:55 +00:00
George Rhoten
d7d3b0eaa7 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23542
2008-03-07 22:35:49 +00:00
George Rhoten
d1551dee4e ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23540
2008-03-07 19:40:46 +00:00
George Rhoten
d1b51942ad ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23485
2008-02-26 08:40:20 +00:00
George Rhoten
fe7e42eace ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23481
2008-02-25 21:21:47 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
George Rhoten
6d5e7e7226 ICU-6188 ucol_getSortKey should return 0 upon memory allocation error.
X-SVN-Rev: 23478
2008-02-23 07:21:00 +00:00
Andy Heninger
5e550c04ac ICU-6149 Merge regexp resource limit functions into the trunk
X-SVN-Rev: 23467
2008-02-20 03:08:44 +00:00
George Rhoten
ba02cd8038 ICU-6188 Improve error handling for ucol_getSortKey when memory allocation fails.
X-SVN-Rev: 23464
2008-02-19 20:10:55 +00:00
George Rhoten
5a8942d749 ICU-6076 Fix allocation failure recovery problems.
X-SVN-Rev: 23460
2008-02-19 07:53:15 +00:00
George Rhoten
fa8aa3884b ICU-6076 Partially undo last change until further discussion.
X-SVN-Rev: 23453
2008-02-18 00:46:38 +00:00
George Rhoten
acd8f28273 ICU-6076 Make sure that we objects are fully initialized for deletion, and
that we don't leak memory after an allocation failure.

X-SVN-Rev: 23450
2008-02-17 18:26:39 +00:00
George Rhoten
08f1a884b5 ICU-6076 Improve the error recovery handling from changeset 23414.
X-SVN-Rev: 23447
2008-02-17 06:50:59 +00:00
George Rhoten
df20c5147e ICU-6076 Fix some problems while testing ICU error recovery from out of memory conditions, like proper error reporting, not crashing, not leaking memory from when an allocation failure happens.
X-SVN-Rev: 23446
2008-02-16 22:58:32 +00:00
George Rhoten
8412d727f4 ICU-6076 Check one allocation at a time, and don't double free memory.
X-SVN-Rev: 23443
2008-02-16 12:08:07 +00:00
George Rhoten
2a483025d9 ICU-6183 Fix some rare UCA initialization problems
X-SVN-Rev: 23437
2008-02-15 22:41:39 +00:00
George Rhoten
57faac963c ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23433
2008-02-14 04:39:06 +00:00
George Rhoten
e7ccc2b315 ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23431
2008-02-14 03:34:27 +00:00
George Rhoten
5547bb21de ICU-6176 Fix some Coverity warnings in the unlikely event that a date/time format isn't simple in the future.
X-SVN-Rev: 23430
2008-02-14 02:43:33 +00:00
George Rhoten
928d6152bc ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
George Rhoten
2bc412e598 ICU-6076 Use window failure testing instead of max size testing. This allows you to skip some hash table failures. Hash tables grow by powers of 2.
X-SVN-Rev: 23409
2008-02-10 20:17:14 +00:00
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
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
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
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
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
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
1d33bc7268 ICU-6132 Check for null pointer in AnyTransliterator constructors.
X-SVN-Rev: 23188
2008-01-09 04:40:16 +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
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
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
George Rhoten
dd845e9520 ICU-5955 Mark data const
X-SVN-Rev: 23158
2008-01-03 10:07:47 +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
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
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
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
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
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
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
c2d667f950 ICU-5990 Slightly reduce the cache further.
X-SVN-Rev: 23092
2007-12-15 11:21:16 +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
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
09759f76f5 ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23078
2007-12-13 21:37:23 +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
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
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
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
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
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
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
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
Andrew J Macheret
f018a43611 ICU-4081 Ported tests and fixed problems revealed by tests
X-SVN-Rev: 22894
2007-11-06 22:26:06 +00:00
Andrew J Macheret
4fc941c249 ICU-4081 Fixed warnings
X-SVN-Rev: 22892
2007-11-06 20:09:52 +00:00
Michael Ow
823b13cee5 ICU-5993 Eliminate infinite loop when search pattern is single combining diactrical.
X-SVN-Rev: 22891
2007-11-06 20:00:35 +00:00
Claire Ho
13ec3d524f ICU-5913 Need to add the rules somewhere else. Withdraw the previous changes first.
X-SVN-Rev: 22886
2007-11-06 02:28:36 +00:00
Claire Ho
88f2f061d7 ICU-5913 fixed bug in discontinuous contractions.
X-SVN-Rev: 22876
2007-10-31 05:32:26 +00:00
Michael Ow
c66829fdad ICU-4081 Add chinese calender to Makefile.in.
X-SVN-Rev: 22855
2007-10-25 22:53:36 +00:00
Michael Ow
3b76a8e2fb ICU-5950 Added test case and added internal breakiterator to hold the character breakiterator.
X-SVN-Rev: 22854
2007-10-25 22:02:54 +00:00
Andrew J Macheret
f8339df718 ICU-4081 Ported Chinese calendar from icu4j. Mostly working.
X-SVN-Rev: 22853
2007-10-25 20:26:34 +00:00
Doug Felt
fb2431bbdd ICU-6000 fix for RBNF in ICU4C
X-SVN-Rev: 22845
2007-10-24 00:38:03 +00:00
Michael Ow
3f617517e7 ICU-5024 Check for cases where getCE() should be used in hasAccentAfterMatch.
X-SVN-Rev: 22840
2007-10-23 19:13:33 +00:00
Michael Ow
db658067b7 ICU-5024 Remove getCE call on the last collation element check in the function hasAccentsAfterMatch.
X-SVN-Rev: 22827
2007-10-19 22:14:46 +00:00
Michael Ow
90b5316a76 ICU-4038 Added the fix on ICU4C to ICU4J StringSearch.
X-SVN-Rev: 22826
2007-10-19 21:16:09 +00:00
Michael Ow
9831a64be7 ICU-4038 Restore the last found ce so that shifting forward or backward is done properly with the correct ce.
X-SVN-Rev: 22821
2007-10-19 19:04:25 +00:00
George Rhoten
05e65a675a ICU-5994 Make sure that the public headers are copied to the include directory
X-SVN-Rev: 22819
2007-10-18 23:48:13 +00:00
Michael Ow
9ddca92223 ICU-5950 Added member to struct USearch to keep track of whether a breakiterator is given by the user.
X-SVN-Rev: 22818
2007-10-18 22:35:50 +00:00
Michael Ow
7c1d2e0b40 ICU-5950 Implement breakiterator to check for accents after character match when using primary strength searches. Also, accents in the pattern are ignored when using primary strength searches. TestIgnorable test cases has been altered to test for accent after character matches.
X-SVN-Rev: 22817
2007-10-18 22:29:39 +00:00
George Rhoten
dc5e7b7a29 ICU-5994 Make sure that the public headers are copied to the include directory
X-SVN-Rev: 22800
2007-10-16 05:29:03 +00:00
George Rhoten
9d21e44d93 ICU-5847 Fix copyright change.
X-SVN-Rev: 22737
2007-10-02 21:24:38 +00:00
John Emmons
1f0933a1df ICU-5965 Update metazone transition info to be GMT
X-SVN-Rev: 22723
2007-10-01 15:00:26 +00:00
Deborah Goldsmith
a8649df443 ICU-5847 Add support for U_ICU_VERSION_BUILDLEVEL_NUM
X-SVN-Rev: 22716
2007-09-27 00:05:18 +00:00
John Emmons
3cd078fd3e ICU-5934 Fix parsing problem found in J, keep C in sync
X-SVN-Rev: 22714
2007-09-25 20:46:03 +00:00
George Rhoten
a21a0d8f00 ICU-5955 Prevent a highly unlikely memory leak.
X-SVN-Rev: 22712
2007-09-24 16:05:53 +00:00
Andy Heninger
52cc4ee6bf ICU-5350 more decimal format rounding mode fixes
X-SVN-Rev: 22645
2007-09-08 01:00:27 +00:00
George Rhoten
b1fca97b2f ICU-5919 Fixes for old iostream usage on an older HP-UX machine.
X-SVN-Rev: 22636
2007-09-06 19:21:55 +00:00
George Rhoten
c8bb832ad8 ICU-5919 Fixes for old iostream usage on HP-UX
X-SVN-Rev: 22634
2007-09-06 18:00:08 +00:00
John Emmons
2b9ae318ed ICU-5910 Force use of standard string when DST not observed
X-SVN-Rev: 22622
2007-09-05 18:47:57 +00:00
George Rhoten
8c086e2c98 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22604
2007-08-31 18:19:41 +00:00
George Rhoten
42efe10c62 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22594
2007-08-31 05:20:56 +00:00
George Rhoten
f3084b1f1b ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22592
2007-08-31 04:58:52 +00:00
George Rhoten
cb9049cb25 ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22583
2007-08-30 23:48:56 +00:00
George Rhoten
bee56b37b7 ICU-5808 Declare a UTF-16 string when available instead of converting a string.
X-SVN-Rev: 22564
2007-08-29 08:09:55 +00:00
George Rhoten
b668dd2d7d ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22562
2007-08-29 06:49:58 +00:00
George Rhoten
e3e7425e43 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22561
2007-08-29 06:13:07 +00:00
Claire Ho
eedbe63b1b ICU-5787 fixed Beam warnings
X-SVN-Rev: 22559
2007-08-29 05:44:57 +00:00
George Rhoten
967b65a458 ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22558
2007-08-29 02:57:42 +00:00
Yoshito Umaoka
da2e965252 ICU-5454 Changed API status from @stable to @draft for hasSameRules in RuleBasedTimeZone and VTimeZone.
X-SVN-Rev: 22545
2007-08-27 17:32:46 +00:00
Claire Ho
e48c68df67 ICU-5787 more code cleanup.
X-SVN-Rev: 22534
2007-08-26 20:10:45 +00:00
Michael Ow
c2f58bb5a5 ICU-5357 Added draft label for DateTimePatternGenerator destructor.
X-SVN-Rev: 22528
2007-08-24 23:36:45 +00:00
Michael Ow
9beac7ae26 ICU-5357 Added header information for API change report.
X-SVN-Rev: 22516
2007-08-24 17:55:03 +00:00
Markus Scherer
8047649893 ICU-5678 ULOCDATA_ES_COUNT=3 should be =2
X-SVN-Rev: 22514
2007-08-24 16:48:45 +00:00
Steven R. Loomis
02f8bbd8b2 ICU-2895 relative date testing and fix
X-SVN-Rev: 22493
2007-08-23 20:14:07 +00:00
Claire Ho
12dd691583 ICU-5787 code cleanup.
X-SVN-Rev: 22485
2007-08-23 05:48:44 +00:00
Eric Mader
6a6f3feb6b ICU-5871 Fix crashes found running intltest w/o ICU data.
X-SVN-Rev: 22477
2007-08-23 01:19:39 +00:00
Claire Ho
762a820053 ICU-5787 a crash in dtptngen.cpp :line 1526.
X-SVN-Rev: 22475
2007-08-22 21:57:11 +00:00
George Rhoten
b2ed1cbea5 ICU-5856 Promote @draft API to @stable for ICU 3.8 release, and make sure that the existing API is labeled correctly.
X-SVN-Rev: 22456
2007-08-21 20:45:05 +00:00
John Emmons
96dbf4b17d ICU-5861 Implement new date formatting symbols from tr35
X-SVN-Rev: 22451
2007-08-21 16:57:21 +00:00
George Rhoten
9ce90e2c18 ICU-5856 Promote @draft API to @stable for ICU 3.8 release, and make sure that the existing API is labeled correctly.
X-SVN-Rev: 22422
2007-08-19 08:59:28 +00:00
George Rhoten
a0088597b1 ICU-5852 Improve ability to round denormalized IEEE754 numbers and improve debug output.
X-SVN-Rev: 22417
2007-08-17 05:27:19 +00:00
Yoshito Umaoka
f4a7861584 ICU-4567 Removed unnecessary virtual method implementations in Taiwan/Buddhist calendar.
X-SVN-Rev: 22415
2007-08-17 03:38:53 +00:00
Eric Mader
2552d04edc ICU-5808 use invariant UnicodeString constructors so that code compiles even if UCONFIG_NO_CONVERSION is set.
X-SVN-Rev: 22414
2007-08-17 01:41:57 +00:00
Yoshito Umaoka
f7f687e073 ICU-4567 Updated TaiwanCalendar to use a Gregorian year in EXTENDED_YEAR. As a result, some override methods are no longer required. Also, use 1970 as the default value of EXTENDED_YEAR in all GregorianCalendar subclasses
X-SVN-Rev: 22411
2007-08-16 22:10:16 +00:00
Steven R. Loomis
398b2aafc0 ICU-4567 taiwan calendar for C/C++
X-SVN-Rev: 22403
2007-08-16 18:40:18 +00:00
George Rhoten
babb54cb90 ICU-5454 Fix for UCONFIG_NO_CONVERSION
X-SVN-Rev: 22383
2007-08-14 20:45:46 +00:00
Yoshito Umaoka
5619137130 ICU-3704 Fix DAY_OF_WEEK_IN_MONTH least maximum value in GregorianCalendar. Also merged field limit bug fixes from ICU4J to ICU4C.
X-SVN-Rev: 22379
2007-08-14 18:31:26 +00:00
Yoshito Umaoka
537017f806 ICU-4408 Use a Gregorian year for EXTENDED_YEAR in BuddhistCalendar to make it consistent with ICU4J and other GregorianCalendar subclasses. As a results, monthLength and a couple of methods used by monthLength are no longer needed.
X-SVN-Rev: 22378
2007-08-14 18:25:52 +00:00
Steven R. Loomis
7951431096 ICU-4567 TW calendar data
X-SVN-Rev: 22376
2007-08-13 23:48:00 +00:00
John Emmons
fc4edcf11f ICU-5708 Fix aliasing logic
X-SVN-Rev: 22363
2007-08-13 16:09:51 +00:00
George Rhoten
883d7d0e07 ICU-5787 The char type is unsigned on AIX. Use the platform independent
type int8_t. Also fix some warnings.

X-SVN-Rev: 22353
2007-08-11 20:32:54 +00:00
Claire Ho
916b1d5ec4 ICU-5787 use static const string to read resource tag
X-SVN-Rev: 22352
2007-08-11 20:03:10 +00:00
Eric Mader
a3b08a4e2b ICU-5808 fixes for uconfigtest.
X-SVN-Rev: 22349
2007-08-10 23:31:48 +00:00
George Rhoten
059d96e0e8 ICU-5575 Fix last change by making the static function a proper C callback.
X-SVN-Rev: 22328
2007-08-09 02:14:36 +00:00
George Rhoten
0781890fa8 ICU-5821 Fix for i5/OS
X-SVN-Rev: 22325
2007-08-09 00:04:00 +00:00
George Rhoten
50b14d2beb ICU-5575 Don't export static function for urename.h
X-SVN-Rev: 22323
2007-08-08 20:00:37 +00:00
George Rhoten
096748976d ICU-3778 Use a codepage specific char * instead of UTF-8 for the version string.
X-SVN-Rev: 22319
2007-08-08 18:38:20 +00:00
Yoshito Umaoka
979a520c59 ICU-5454 Increase the code coverage for ICU4C. Fixed a bug in VTimeZone operator=.
X-SVN-Rev: 22318
2007-08-08 17:14:55 +00:00
George Rhoten
af41197335 ICU-5787 Fix memory leak.
X-SVN-Rev: 22316
2007-08-08 09:01:18 +00:00
Claire Ho
c9f5e38fb9 ICU-5787 Added operator!= .
X-SVN-Rev: 22313
2007-08-08 01:07:23 +00:00
Yoshito Umaoka
0de5cefde3 ICU-5454 Ported additional time zone test cases from ICU4J. Also fixed some bugs found by the new test cases.
X-SVN-Rev: 22311
2007-08-08 00:57:05 +00:00
Claire Ho
f6a2f2a082 ICU-5787 1. Added test cases. 2. Fixed bug in == operator.
X-SVN-Rev: 22306
2007-08-07 23:16:36 +00:00
George Rhoten
9991e6a097 ICU-5708 Fix a memory leak
X-SVN-Rev: 22305
2007-08-07 20:23:09 +00:00
George Rhoten
4bb6b2f380 ICU-5708 Fix a memory leak.
X-SVN-Rev: 22301
2007-08-07 09:23:46 +00:00
George Rhoten
0977182319 ICU-5708 Fix a memory leak.
X-SVN-Rev: 22300
2007-08-07 09:01:12 +00:00
Claire Ho
3a6f874106 ICU-5787 fixed the warnings from VC++.
X-SVN-Rev: 22296
2007-08-07 06:13:19 +00:00
Claire Ho
887eafb2c8 ICU-5787 1. Added test cases. 2. code clean up.
X-SVN-Rev: 22295
2007-08-07 03:14:19 +00:00
George Rhoten
790e49dca8 ICU-5787 Fix for i5/OS
X-SVN-Rev: 22292
2007-08-06 23:09:29 +00:00
John Emmons
ae617cbd3b ICU-5787 Minor code cleanup
X-SVN-Rev: 22287
2007-08-06 21:25:31 +00:00
John Emmons
fc28f366f6 ICU-5708 Generic time zone support - clean up code
X-SVN-Rev: 22286
2007-08-06 21:12:34 +00:00
John Emmons
a2d03cc0fb ICU-5708 Generic time zone support
X-SVN-Rev: 22283
2007-08-06 15:17:35 +00:00
George Rhoten
3727ad903b ICU-5787 Minor code cleanup.
X-SVN-Rev: 22282
2007-08-04 14:19:29 +00:00
George Rhoten
5c98f3a1fc ICU-5787 Allow UCONFIG_NO_CONVERSION=1 to work.
X-SVN-Rev: 22277
2007-08-04 04:13:16 +00:00
George Rhoten
3cf8f114a3 ICU-5787 Still trying to narrow down AIX failure and memory leaks.
X-SVN-Rev: 22276
2007-08-04 03:14:19 +00:00
George Rhoten
0035458602 ICU-5787 Internal API does not need to derive from UObject. UMemory should be used instead and the API not exported. This reduces the amount of required testing.
X-SVN-Rev: 22275
2007-08-04 02:53:37 +00:00
George Rhoten
40bb1dfddb ICU-5787 Check point check in to fix the following errors.
Memory leaks. Portability errors. Compiler warnings. etc.
Still trying to narrow down AIX failure.

X-SVN-Rev: 22274
2007-08-04 02:44:11 +00:00
George Rhoten
9623bf94e7 ICU-5357 Fix doxygen warnings.
X-SVN-Rev: 22265
2007-08-03 23:52:19 +00:00
George Rhoten
02ed088beb ICU-5822 Fix undocumented TimeZoneTransition constructors
X-SVN-Rev: 22263
2007-08-03 22:43:10 +00:00
Claire Ho
efe2014ed1 ICU-5787 merge from feature branch revision 22024:22252.
X-SVN-Rev: 22260
2007-08-03 18:43:04 +00:00
George Rhoten
84e3cd3b3e ICU-5808 Fix for UCONFIG_NO_FORMATTING
X-SVN-Rev: 22217
2007-07-31 07:12:45 +00:00
George Rhoten
fa57cb2544 ICU-5575 Update to version 3.8.
X-SVN-Rev: 22197
2007-07-28 03:41:30 +00:00
George Rhoten
28ce35b674 ICU-4935 Consolidate conflicting definitions of UCaseMapFull
X-SVN-Rev: 22194
2007-07-27 23:59:25 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
George Rhoten
397ffe6f76 ICU-5445 operator= does not have a check for the source and destination
addresses being non-identical

X-SVN-Rev: 22136
2007-07-25 03:58:02 +00:00
George Rhoten
9cc45516bd ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22130
2007-07-24 22:25:48 +00:00
Yoshito Umaoka
fb68bb6add ICU-5559 Normalize time zone ID using RFC822 format in the result TimeZone when it is created by TimeZone#createTimeZone with custom ID.
X-SVN-Rev: 22129
2007-07-24 21:37:19 +00:00
George Rhoten
2435b965b7 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22127
2007-07-24 21:21:49 +00:00
George Rhoten
b5e9f17cdd ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22120
2007-07-24 08:30:41 +00:00
Eric Mader
621fd73d0b ICU-5376 use unsigned value for IternatedChar.charValue.
X-SVN-Rev: 22118
2007-07-23 23:53:34 +00:00
George Rhoten
f1b9a527b7 ICU-5715 Use supplementalData instead of CurrencyData
X-SVN-Rev: 22098
2007-07-22 22:19:10 +00:00
Yoshito Umaoka
23e6471728 ICU-3778 Changed not to cache the status code which is set when accessing tzdata version string
X-SVN-Rev: 22069
2007-07-20 02:46:47 +00:00
Yoshito Umaoka
0651c49b65 ICU-3778 Added getTZDataVersion for C and C++
X-SVN-Rev: 22063
2007-07-19 22:29:51 +00:00
Deborah Goldsmith
41c0301502 ICU-5733 deprecate misspelled name, add replacement
X-SVN-Rev: 22034
2007-07-18 18:51:32 +00:00
George Rhoten
3ea75f4cae ICU-5545 Synchronize DecimalFormat::setMultiplier with ICU4J.
X-SVN-Rev: 22023
2007-07-17 22:39:44 +00:00
George Rhoten
dbb58ee5cb ICU-5581 Fix formatting crash after setting a prefix or suffix of a currency format.
X-SVN-Rev: 22019
2007-07-17 21:46:59 +00:00
Eric Mader
da2d29fbc1 ICU-4082 Initial checkin of Indian Calendar.
X-SVN-Rev: 22016
2007-07-17 21:15:22 +00:00
Steven R. Loomis
3bb6d90678 ICU-4567 update for code coverage
X-SVN-Rev: 22012
2007-07-17 17:48:27 +00:00
Yoshito Umaoka
b7957f5521 ICU-5454 Resolve the HP compiler warning
X-SVN-Rev: 22010
2007-07-17 14:41:03 +00:00
Yoshito Umaoka
5a13e65149 ICU-5454 Use the AnnualTimeZoneRule constructor which adopts DateTimeRule
X-SVN-Rev: 22002
2007-07-16 21:40:40 +00:00
George Rhoten
eb3f3bc9c0 ICU-5454 Fix some new memory leaks.
X-SVN-Rev: 21983
2007-07-14 07:04:17 +00:00
George Rhoten
57f9ad80e7 ICU-5454 Fix some new memory leaks.
X-SVN-Rev: 21981
2007-07-14 03:58:14 +00:00
Andy Heninger
2d8fa82c26 ICU-5617 Update set of characters that are ignored for the purposes of finding word boundaries, for simple (not UAX 29) \b boundaries.
X-SVN-Rev: 21973
2007-07-13 22:12:31 +00:00
George Rhoten
0347fcbe3d ICU-5764 Fix static library installation on Windows.
X-SVN-Rev: 21965
2007-07-13 17:59:16 +00:00
George Rhoten
9bc3cbe26e ICU-5764 Cygwin's ar currently doesn't handle win64, and GNU make's implicit rules are incompatible with gmake -j2. This is the first attempt to fix these issues.
X-SVN-Rev: 21959
2007-07-13 08:10:41 +00:00
Steven R. Loomis
01a0744b62 ICU-4567 Taiwan calendar testing.. data driven calendar test.. enum generation and programmatic access
X-SVN-Rev: 21955
2007-07-12 21:53:20 +00:00
George Rhoten
f7f26df030 ICU-5486 Currency update for Ghana and Venezuela.
X-SVN-Rev: 21920
2007-07-05 23:00:06 +00:00
Yoshito Umaoka
da04d51d69 ICU-5454 Close resource bundle properly in VTimeZone::createVTimeZoneByID. Also resolve a strict compiler warning in tzrulets.cpp
X-SVN-Rev: 21915
2007-07-05 21:43:03 +00:00
Yoshito Umaoka
e0e1ccd5a4 ICU-5454 Fix some compiler warnings
X-SVN-Rev: 21912
2007-07-05 17:17:59 +00:00
Yoshito Umaoka
d87b4bbd63 ICU-5454 Updated argument type in operator== in VTimeZone class.
X-SVN-Rev: 21888
2007-07-02 15:43:40 +00:00
Yoshito Umaoka
5c3732d32b ICU-5454 Update argument of operator== in RuleBasedTimeZone, InitialTimeZoneRule, AnnualTimeZoneRule and TimeArrayTimeZoneRule to match their super class.
X-SVN-Rev: 21886
2007-07-02 14:56:08 +00:00
Steven R. Loomis
9f4a4ce5e0 ICU-4567 initial taiwan calendar support
X-SVN-Rev: 21854
2007-06-29 16:56:34 +00:00
George Rhoten
78c96b07fa ICU-5454 Fix newline settings for new code.
X-SVN-Rev: 21851
2007-06-29 16:27:12 +00:00
Yoshito Umaoka
b340ff12f6 ICU-5454 Merging ICU4C RuleBasedTimeZone/TimeZoneRule/VTimeZone implementation into trunk
X-SVN-Rev: 21845
2007-06-29 03:10:43 +00:00
George Rhoten
a1834196b3 ICU-5410 Move nfsubs.h private subclasses to nfsubs.cpp to get more accurate PureCoverage result.
Also use standard ICU rtti by using UOBJECT_DEFINE_RTTI_IMPLEMENTATION.

X-SVN-Rev: 21828
2007-06-27 00:59:42 +00:00
George Rhoten
38c8b3690a ICU-5410 Improve code coverage by removing dead code.
X-SVN-Rev: 21821
2007-06-25 20:20:40 +00:00
George Rhoten
fdc039a8bd ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 21817
2007-06-24 04:15:38 +00:00
George Rhoten
fd263f86cf ICU-5279 Hide DigitList
X-SVN-Rev: 21816
2007-06-24 03:19:59 +00:00
John Emmons
83c612fed0 ICU-5486 CLDR 1.5 pre-vetting merge for M2
X-SVN-Rev: 21815
2007-06-22 23:57:38 +00:00
George Rhoten
ac329166b4 ICU-5427 Reduce regex static memory consumption by 35%
X-SVN-Rev: 21805
2007-06-22 01:06:31 +00:00
George Rhoten
f13803e5d5 ICU-4988 Remove browse information from release builds to fix some packaging issues.
X-SVN-Rev: 21761
2007-06-16 02:17:43 +00:00
George Rhoten
c3f935855f ICU-5745 Improve performance of translit/TransliteratorTest/TestInstantiation
X-SVN-Rev: 21757
2007-06-15 23:32:12 +00:00
George Rhoten
e9a3130705 ICU-5410 Improve code coverage by turning a stack array into a static const array.
X-SVN-Rev: 21749
2007-06-15 17:21:17 +00:00
George Rhoten
0da8673589 ICU-5427 Fix some memory leaks, simplify initialization, and follow desired policy stated in ticket 2796.
X-SVN-Rev: 21743
2007-06-15 02:35:33 +00:00
George Rhoten
12f27aa4b9 ICU-5486 Update Malta and Cyprus to the Euro
X-SVN-Rev: 21741
2007-06-14 21:12:46 +00:00
George Rhoten
0307b1b225 ICU-5410 Fix some indention format problems.
X-SVN-Rev: 21738
2007-06-14 20:30:52 +00:00
George Rhoten
107b1a15d0 ICU-5410 We shouldn't export functions just to do code coverage.
X-SVN-Rev: 21734
2007-06-14 19:03:30 +00:00
George Rhoten
b51f7c7357 ICU-5410 Improve code coverage by removing unused/unuseable code.
X-SVN-Rev: 21730
2007-06-14 01:37:11 +00:00
George Rhoten
cf3401426a ICU-5410 Improve code coverage.
X-SVN-Rev: 21729
2007-06-14 01:30:51 +00:00
George Rhoten
fc532c8ac1 ICU-5743 Stop crashing when the default collator keyword is unsupported. Also add some other code coverage tests.
X-SVN-Rev: 21728
2007-06-13 22:53:28 +00:00
Markus Scherer
a314ab91e3 ICU-5445 use <> for system headers
X-SVN-Rev: 21724
2007-06-13 20:27:13 +00:00
George Rhoten
4169039b77 ICU-5410 Improve code coverage by consolidating hard to test code.
X-SVN-Rev: 21723
2007-06-13 19:45:02 +00:00
George Rhoten
8991008eb9 ICU-5410 Improve code coverage.
X-SVN-Rev: 21721
2007-06-13 19:03:09 +00:00
George Rhoten
c8918350a4 ICU-5410 Improve code coverage by removing unused/unuseable code.
X-SVN-Rev: 21719
2007-06-12 21:44:55 +00:00
George Rhoten
fc9cf24a18 ICU-5741 Test and fix cloning of Win32NumberFormat and Win32DateFormat
X-SVN-Rev: 21708
2007-06-12 05:20:11 +00:00
George Rhoten
93351fd30c ICU-5357 Fix broken HTTP links in documentation.
X-SVN-Rev: 21699
2007-06-11 19:14:47 +00:00
George Rhoten
b874dd50a1 ICU-5410 Remove untested code as per the agreed policy stated in ticket #2972.
X-SVN-Rev: 21697
2007-06-11 18:52:53 +00:00
George Rhoten
854bc0fa02 ICU-5410 Remove untested code as per the agreed policy stated in ticket #2972.
X-SVN-Rev: 21695
2007-06-11 18:42:29 +00:00
George Rhoten
2f55b1b39f ICU-5410 Improve code coverage by removing unused/unuseable code.
X-SVN-Rev: 21693
2007-06-11 17:37:31 +00:00
George Rhoten
ff56edb93b ICU-5279 Hide RuleBasedTransliterator
X-SVN-Rev: 21691
2007-06-11 15:15:47 +00:00
George Rhoten
6cc5994f9f ICU-5279 Hide more internal API.
X-SVN-Rev: 21687
2007-06-11 02:32:47 +00:00
George Rhoten
28e08c0c3c ICU-5410 Undo check-in for i18n project.
X-SVN-Rev: 21680
2007-06-08 22:39:49 +00:00
George Rhoten
2cff43895e ICU-5410 Remove unused/untestable code
X-SVN-Rev: 21679
2007-06-08 22:31:20 +00:00
John Emmons
f612461fd1 ICU-5711 Allow RLM in date formats
X-SVN-Rev: 21667
2007-06-08 01:45:02 +00:00
George Rhoten
738ea1c274 ICU-5410 Improve code coverage.
X-SVN-Rev: 21664
2007-06-07 22:05:26 +00:00
George Rhoten
debbc013c6 ICU-5566 Update Sudan currency
X-SVN-Rev: 21657
2007-06-07 00:43:14 +00:00
George Rhoten
871ce36286 ICU-5305 Allow ICU to build when U_USING_ICU_NAMESPACE is 0
X-SVN-Rev: 21656
2007-06-07 00:41:21 +00:00
Deborah Goldsmith
5369d809be ICU-5350 Fix decimal rounding
X-SVN-Rev: 21647
2007-06-06 01:17:15 +00:00
Deborah Goldsmith
4a36c3820b ICU-5554 Fix non-integral formatting for Z
X-SVN-Rev: 21633
2007-06-05 03:17:58 +00:00
George Rhoten
26a0e7ebd5 ICU-5279 Hide -fvisibility=hidden from icu-config users.
Also try a different fix for the Intel compiler, which seems to work differently
from an interactive shell.
This option is not needed for tools or tests.

X-SVN-Rev: 21623
2007-06-04 05:52:08 +00:00
George Rhoten
fad658d66d ICU-5279 Reduce the set of exported functions.
X-SVN-Rev: 21621
2007-06-03 06:08:46 +00:00
John Emmons
8988a12e7b ICU-5676 clean up supplementalBundle - make local
X-SVN-Rev: 21611
2007-05-31 23:13:56 +00:00
John Emmons
faee4af533 ICU-5676 Use supplemental data for resolving parsed metazone data
X-SVN-Rev: 21567
2007-05-21 21:07:01 +00:00
Steven R. Loomis
189539dedb ICU-2895 fix for warnings
X-SVN-Rev: 21390
2007-04-10 22:57:25 +00:00
Steven R. Loomis
f7ee9393c3 ICU-2895 fix for msvc
X-SVN-Rev: 21383
2007-04-09 23:11:21 +00:00
Steven R. Loomis
5d4f7e2492 ICU-2895 Relative Date Format
X-SVN-Rev: 21382
2007-04-09 22:54:03 +00:00
Steven R. Loomis
d48f7af250 ICU-2895 Relative Dates
X-SVN-Rev: 21381
2007-04-09 22:29:57 +00:00
Deborah Goldsmith
50126ab1cd ICU-5666 Stop wrapping in month calculations
X-SVN-Rev: 21342
2007-04-02 20:57:34 +00:00
George Rhoten
76777cbf3e ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 21318
2007-03-26 16:03:30 +00:00
Steven R. Loomis
114486b002 ICU-5655 Integrate Mehran Mehr's Persian Calendar support
X-SVN-Rev: 21293
2007-03-19 17:33:20 +00:00
George Rhoten
0f83de2c3f ICU-5445 Fix some compiler warnings
X-SVN-Rev: 21283
2007-03-17 06:13:14 +00:00
George Rhoten
117d3302e6 ICU-5445 Fix some compiler warnings
X-SVN-Rev: 21282
2007-03-17 06:07:31 +00:00
George Rhoten
a0d0218ded ICU-5566 Fix a typo
X-SVN-Rev: 21262
2007-03-15 15:38:56 +00:00
George Rhoten
37181631cb ICU-5566 Fix comment typo
X-SVN-Rev: 21260
2007-03-15 07:00:43 +00:00
George Rhoten
4a76d92dd2 ICU-5566 Fix memory leaks.
X-SVN-Rev: 21259
2007-03-15 07:00:02 +00:00
George Rhoten
5d2448808c ICU-5566 Fix a potential double mutex lock.
X-SVN-Rev: 21257
2007-03-14 21:47:04 +00:00
George Rhoten
7b1b840ef1 ICU-5566 Fix some memory leaks.
X-SVN-Rev: 21256
2007-03-14 21:35:13 +00:00
George Rhoten
4ce697b02c ICU-5566 Fix some buffer overflow problems in new code. Add fixes when UCONFIG_NO_CONVERSION=1. Fix compiler warning.
X-SVN-Rev: 21255
2007-03-14 18:50:23 +00:00
John Emmons
a17d2a5a77 ICU-5566 Fix metazone logic so the mz mappings are outside zoneStrings
X-SVN-Rev: 21247
2007-03-14 15:32:59 +00:00
George Rhoten
4e735beddd ICU-5566 Temporary fix. The resource bundle lookup no longer hangs/crashes any more.
X-SVN-Rev: 21234
2007-03-13 06:25:50 +00:00
Eric Mader
9818e3785e ICU-5643 ucurrGetName: se uresb_getByKeyWithFallback to lookup Currency code. Add tests for fallback and default warnings, and for unknown currency code.
X-SVN-Rev: 21228
2007-03-12 19:53:42 +00:00
John Emmons
83c6a2b2b4 ICU-5566 Port metazone functionality to ICU4C
X-SVN-Rev: 21220
2007-03-10 18:07:01 +00:00
George Rhoten
36fc5d2137 ICU-5566 Fix some test failures due to CLDR update.
X-SVN-Rev: 21157
2007-03-05 18:26:53 +00:00
Vladimir Weinstein
7b86e2823b ICU-5625 Fix parsing of number only timezone offsets.
X-SVN-Rev: 21147
2007-03-02 06:57:40 +00:00
George Rhoten
4706047498 ICU-5101 Test and prevent code from crashing when prefix and suffix are changed on a currency format. The prefix and suffix are still not settable when a currency is used, and the applyPattern must still be used when using currency formats.
X-SVN-Rev: 21145
2007-03-02 00:28:09 +00:00
George Rhoten
a558657ad5 ICU-5602 Fix a compiler warning from last change.
X-SVN-Rev: 21135
2007-02-27 08:55:40 +00:00
George Rhoten
7d227b0bd2 ICU-5619 Fix Windows test failure when the timezone is GMT+5:45, and fix a documentation typo.
X-SVN-Rev: 21119
2007-02-26 07:59:55 +00:00
Eric Mader
3dbd215bdb ICU-5555 handleGetMonthLength needs to check for out of range months.
X-SVN-Rev: 21092
2007-02-23 19:27:50 +00:00
Yoshito Umaoka
7bf2a108f8 ICU-5597 Updated the previous changes based on George's review comments
X-SVN-Rev: 21088
2007-02-23 04:35:31 +00:00
Yoshito Umaoka
fe62e13597 ICU-5597 Remove localized date time pattern characters from ICU locale data and update ICU4C DateFormatSymbols to use the base pattern
X-SVN-Rev: 21087
2007-02-22 23:44:11 +00:00
George Rhoten
b847cd9089 ICU-5602 Test and fix French secondary buffer reallocation crash.
X-SVN-Rev: 21041
2007-02-16 19:06:24 +00:00
George Rhoten
fd995106cc ICU-5575 Update to version 3.7.1
X-SVN-Rev: 20994
2007-01-31 01:37:28 +00:00
George Rhoten
b3cdbd8f8d ICU-5552 Compiler optimization fixes for some versions of gcc. This patch allows the regular expression tests to pass.
X-SVN-Rev: 20846
2007-01-03 23:06:36 +00:00
George Rhoten
202e0f66a7 ICU-5445 Fix some compiler warnings
X-SVN-Rev: 20809
2006-12-19 06:06:30 +00:00
George Rhoten
3e9764f769 ICU-4988 Convert project files from MSVC 2003 to MSVC 2005.
No need to use =1

X-SVN-Rev: 20785
2006-12-13 04:41:02 +00:00
George Rhoten
79c80dea96 ICU-4988 Convert project files from MSVC 2003 to MSVC 2005.
Hide warnings about standard C functions being deprecated.
Optimize a few things for the new environment.
Allow project files to work on FAT32 directories.

X-SVN-Rev: 20772
2006-12-13 01:44:54 +00:00
Steven R. Loomis
fcb6fa3e01 ICU-2401 clean up .cvsignore files
X-SVN-Rev: 20757
2006-12-06 19:19:06 +00:00
George Rhoten
3c9ac0863a ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
X-SVN-Rev: 20691
2006-11-28 07:34:13 +00:00
George Rhoten
dc327679cf ICU-5426 Give a wider margin for growth of the collation trie.
X-SVN-Rev: 20678
2006-11-22 23:14:11 +00:00
George Rhoten
596bee3007 ICU-5410 Comment out unused code.
X-SVN-Rev: 20673
2006-11-16 20:32:23 +00:00
George Rhoten
13f3bd0a24 ICU-5410 Improve code coverage, and fix some logically impossible code to call.
X-SVN-Rev: 20671
2006-11-16 19:38:37 +00:00
George Rhoten
6ea0cd2f7d ICU-5410 Improve code coverage through refactorization
X-SVN-Rev: 20667
2006-11-15 23:21:25 +00:00
George Rhoten
1d283c8c87 ICU-5410 Remove untestable/unneeded private code that can't be tested from the API
X-SVN-Rev: 20666
2006-11-15 22:53:12 +00:00
Markus Scherer
fcd1805872 ICU-5490 add UDateTimeScale for Unix time with microseconds granularity
X-SVN-Rev: 20625
2006-11-02 17:33:51 +00:00
Markus Scherer
512f4c4ed7 ICU-5470 fix time zone calculations for late February, taking leap years into account
X-SVN-Rev: 20590
2006-10-24 19:57:32 +00:00
George Rhoten
2a4844cd2c ICU-5411 Fix unitialized memory reference.
X-SVN-Rev: 20530
2006-10-12 04:42:02 +00:00
George Rhoten
51d7d31296 ICU-5426 Don't leak memory on status failure.
X-SVN-Rev: 20529
2006-10-12 02:34:13 +00:00
George Rhoten
0d09a5ecdf ICU-5426 Report an error when utrie_open fails due to mallocing too much.
X-SVN-Rev: 20528
2006-10-12 02:28:59 +00:00
George Rhoten
0554859f94 ICU-5426 Reduce size of ucol_openRules mallocs (less than 1/4th the size)
X-SVN-Rev: 20527
2006-10-12 02:25:36 +00:00
George Rhoten
9607bd959b ICU-5426 This utrie_open allocates more than 4MB. At least check that the allocation worked.
X-SVN-Rev: 20522
2006-10-11 08:23:53 +00:00
George Rhoten
fe98934f24 ICU-5440 Return the correct list of supported locales for collation.
X-SVN-Rev: 20520
2006-10-10 15:44:51 +00:00
George Rhoten
760e4c2a65 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 20504
2006-10-06 18:08:06 +00:00
George Rhoten
ef584abc21 ICU-5440 Return the correct list of supported locales for collation.
X-SVN-Rev: 20484
2006-10-04 06:05:30 +00:00
George Rhoten
c87734cd4e ICU-5427 Fix copying of uninitialized data between real data items.
X-SVN-Rev: 20431
2006-09-28 17:39:21 +00:00
George Rhoten
0b89d022a0 ICU-5410 Improve test code coverage by commenting out functions that can never be used.
X-SVN-Rev: 20387
2006-09-22 18:38:46 +00:00
George Rhoten
ec2dd31072 ICU-5410 Don't put the deprecated internalSet function in a public header as inline.
Test that the deprecated enums aren't used.
This change makes it easier to view untested deprecated code.

X-SVN-Rev: 20375
2006-09-21 01:40:29 +00:00
George Rhoten
511415c0a6 ICU-5410 Improve code coverage by simplifying boolean expression
X-SVN-Rev: 20374
2006-09-21 01:26:20 +00:00
George Rhoten
8cb0256a8d ICU-5371 Visual Studio 6 fixes.
X-SVN-Rev: 20277
2006-09-08 16:48:31 +00:00
George Rhoten
fdf9a9dbc2 ICU-5349 Use UMTX_CHECK when it's helpful.
X-SVN-Rev: 20271
2006-09-08 04:10:40 +00:00
George Rhoten
5988c8fbae ICU-5349 Use umutex.h instead of mutex.h
X-SVN-Rev: 20270
2006-09-08 04:03:08 +00:00
George Rhoten
b5781126c8 ICU-5349 Use UMTX_CHECK when it's helpful.
X-SVN-Rev: 20269
2006-09-08 04:02:23 +00:00
George Rhoten
7ec2eeb77a ICU-5349 Don't use mutex.h when umutex.h also works.
X-SVN-Rev: 20266
2006-09-08 03:41:10 +00:00
George Rhoten
188452c09b ICU-5349 mutex.h isn't needed in these files.
X-SVN-Rev: 20265
2006-09-08 03:40:11 +00:00
Vladimir Weinstein
e4a00d8bc1 ICU-5367 fix handling of implicit expansions on indirect resets
X-SVN-Rev: 20253
2006-09-07 20:10:54 +00:00
George Rhoten
79659b49ff ICU-5304 Fix typo from last checkin.
X-SVN-Rev: 20248
2006-09-05 20:51:54 +00:00
George Rhoten
54b3663247 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE in public headers
X-SVN-Rev: 20247
2006-09-04 17:15:14 +00:00
George Rhoten
53e8758805 ICU-5304 Improve namespace and mutex usage.
X-SVN-Rev: 20246
2006-09-04 17:01:02 +00:00
George Rhoten
fb9d074a03 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE in public headers
X-SVN-Rev: 20245
2006-09-04 16:53:17 +00:00