Commit Graph

3784 Commits

Author SHA1 Message Date
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Michael Ow
97f2fecc68 ICU-6778 Update ICU4C IBM420 and IBM424 CharsetDetector with changes made to ICU4J.
X-SVN-Rev: 25763
2009-04-13 21:32:21 +00:00
John Emmons
1a390c1bfa ICU-6771 CLDR 1.7 Integration - release-1-7-d01
X-SVN-Rev: 25750
2009-04-10 07:47:09 +00:00
Yoshito Umaoka
c9396f762e ICU-6831 Fixed localized GMT parsing problem reproduced with the new CLDR 1.7 data.
X-SVN-Rev: 25743
2009-04-09 03:55:40 +00:00
Michael Ow
90318f8895 ICU-6554 Delete/close objects or pointers to avoid memory leaks.
X-SVN-Rev: 25725
2009-04-02 20:29:06 +00:00
Andy Heninger
59fe26088c ICU-4790 update to API documentation comments
X-SVN-Rev: 25724
2009-04-02 17:56:08 +00:00
Steven R. Loomis
99283aed44 ICU-6799 more warning fixes
X-SVN-Rev: 25722
2009-04-02 07:34:37 +00:00
Andy Heninger
3587c5f037 ICU-6799 Compiler warnings fix
X-SVN-Rev: 25720
2009-04-02 06:27:39 +00:00
Andy Heninger
8344b4d047 ICU-6799 fix compiler warnings.
X-SVN-Rev: 25719
2009-04-02 06:15:45 +00:00
Andy Heninger
34727b59c1 ICU-4790 remove 'position' parameter from areConfusable functions
X-SVN-Rev: 25718
2009-04-02 06:08:36 +00:00
Michael Ow
6e910600d8 ICU-4790 Use uprv_malloc instead of malloc.
X-SVN-Rev: 25715
2009-04-01 20:46:30 +00:00
Yoshito Umaoka
e88550b04d ICU-6820 Insert colon as hour/minute/second delimitter in custom time zone ID format.
X-SVN-Rev: 25710
2009-04-01 17:13:40 +00:00
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +00:00
Steven R. Loomis
0d8cf9c5c5 ICU-4790 fix typo in U_EXPORT -> U_EXPORT2
X-SVN-Rev: 25707
2009-04-01 04:57:22 +00:00
Andy Heninger
89aa66303d ICU-4790 spoof detection work
X-SVN-Rev: 25701
2009-04-01 01:09:49 +00:00
Peter Edberg
7187ff5002 ICU-6645 Lock around changes to gUString data
X-SVN-Rev: 25700
2009-04-01 00:19:26 +00:00
Michael Ow
26f9de0065 ICU-6778 Port IBM420 and IBM424 CharsetDetector to ICU4C.
X-SVN-Rev: 25696
2009-03-31 15:39:00 +00:00
Andy Heninger
bb2f7cdcb2 ICU-4790 spoof detection, more testing, fix leak in tests
X-SVN-Rev: 25682
2009-03-30 23:05:55 +00:00
Yoshito Umaoka
fc67192e07 ICU-6814 Updated useDaylightTime to return TRUE when DST is used at the beginning of the current year. Updated TimeZoneTest to make some test cases to check the current tzdata version and current year.
X-SVN-Rev: 25681
2009-03-30 20:55:05 +00:00
Michael Ow
9e716413b2 ICU-3378 Use constants in uloc.h.
X-SVN-Rev: 25678
2009-03-30 18:51:03 +00:00
John Emmons
cc2bd1fb69 ICU-6817 Updated RBNF rules from CLDR
X-SVN-Rev: 25675
2009-03-30 15:00:49 +00:00
Andy Heninger
23e83afc25 ICU-4790 spoof work in progress
X-SVN-Rev: 25674
2009-03-30 05:08:00 +00:00
Yoshito Umaoka
ded04eb47c ICU-6482 Use calendarPreferenceData in supplementalData to decide the default calendar type instead of getFunctionalEquivalent. Also aligned the implementation more like ICU4J's.
X-SVN-Rev: 25671
2009-03-29 05:13:44 +00:00
Andy Heninger
c89045b0d6 ICU-6799 swat compiler warnings
X-SVN-Rev: 25661
2009-03-27 00:37:55 +00:00
Andy Heninger
c567c8c1b1 ICU-6813 parameter validation to uregex_appendReplacement()
X-SVN-Rev: 25660
2009-03-26 23:04:40 +00:00
Jason Spieth
a1a235b15e ICU-6726 Remove unneeded lower bound check in ICU4C
X-SVN-Rev: 25657
2009-03-26 19:06:50 +00:00
Steven R. Loomis
2ee407a70e ICU-5078 remove duplicate 'that'
X-SVN-Rev: 25656
2009-03-26 15:56:47 +00:00
Jason Spieth
b0c73cc54b ICU-6726 Integrate changes back into ICU4C trunk
X-SVN-Rev: 25653
2009-03-25 20:25:39 +00:00
Yoshito Umaoka
9d0666f840 ICU-6661 ucal_getKeywordValuesForLocale to use calendarPreference data from CLDR. Updated supplementalData.txt generated from the CLDR CVS head version of supplementalData.xml (1.205).
X-SVN-Rev: 25652
2009-03-25 17:59:48 +00:00
Yoshito Umaoka
be66679036 ICU-6315 Parsing generic GMT format with UT and standalone GMT/UT/UTC support for ICU4C.
X-SVN-Rev: 25650
2009-03-25 05:02:30 +00:00
Yoshito Umaoka
f8efff95be ICU-5699 Updated out of date US DST rule descriptions in API doc.
X-SVN-Rev: 25642
2009-03-21 08:21:33 +00:00
Jason Spieth
fbc5170a41 ICU-6703 Fallback to default calendar when unknown specific calendar is requested.
X-SVN-Rev: 25637
2009-03-20 19:06:29 +00:00
Peter Edberg
edea4db881 ICU-6800 Support 'j' in requested skeletons, adjust availableFormats & tests accordingly
X-SVN-Rev: 25636
2009-03-20 00:08:24 +00:00
Steven R. Loomis
714d7d9808 ICU-6804 Move @draft to @stable, regen api report
X-SVN-Rev: 25631
2009-03-19 06:45:04 +00:00
Steven R. Loomis
1fcbaff0ba ICU-6804 @draft to @stable
X-SVN-Rev: 25626
2009-03-19 04:03:31 +00:00
Steven R. Loomis
0a5b5e9880 ICU-6797 more doxygen cleanup
X-SVN-Rev: 25623
2009-03-19 02:01:37 +00:00
Andy Heninger
2a788397fd ICU-2515 Make uenum_openStringEnumeration() public, rename to uenum_openFromStringEnumeration()
X-SVN-Rev: 25619
2009-03-18 20:23:40 +00:00
Michael Ow
4568b3579a ICU-6322 Fix compiler warning concerning assigning of negative values to unsigned int.
X-SVN-Rev: 25612
2009-03-17 21:16:08 +00:00
Andy Heninger
dcac3e0304 ICU-4790 fix API parameters comments on uspoof_openFromSource
X-SVN-Rev: 25605
2009-03-17 06:11:04 +00:00
Steven R. Loomis
8e85f80a2a ICU-6797 raft of doxygen fixes for milestone:4.1.4
X-SVN-Rev: 25600
2009-03-17 01:47:25 +00:00
Yoshito Umaoka
e8f967a5fc ICU-6726 Fixed the date format test failures.
X-SVN-Rev: 25596
2009-03-16 22:25:05 +00:00
Steven R. Loomis
ff0c25c4a0 ICU-6571 fix bug in ulocdata_getCLDRVersion
X-SVN-Rev: 25594
2009-03-16 20:45:02 +00:00
Jason Spieth
99ca0b9eac ICU-6726 Changes to dateTimePatterns lengths and default glue pattern usage
X-SVN-Rev: 25592
2009-03-16 15:23:11 +00:00
Andy Heninger
b6df6d78ec ICU-4790 fix incorrect version number in all @draft comments.
X-SVN-Rev: 25591
2009-03-15 17:12:36 +00:00
Markus Scherer
ab81668cd3 ICU-6729 add Collator::compare(UCharIterator) and Collator::compareUTF8(StringPiece)
X-SVN-Rev: 25585
2009-03-13 23:38:43 +00:00
John Emmons
2b28056905 ICU-6785 New numsys APIs should be draft 4.2
X-SVN-Rev: 25579
2009-03-13 17:14:57 +00:00
John Emmons
59e662ea7c ICU-6770 CLDR 1.7 integration snapshot - phase 1
X-SVN-Rev: 25576
2009-03-13 03:21:29 +00:00
Michael Ow
7abead0378 ICU-6412 Fix redefinition of INFINITY.
X-SVN-Rev: 25574
2009-03-13 03:11:47 +00:00
Peter Edberg
16d52812ca ICU-6777 Fix off-by-1 buffer size in ucol_prv_getSpecialCE for DIGIT_TAG & long digit strings
X-SVN-Rev: 25569
2009-03-12 20:21:35 +00:00
Peter Edberg
dfd1678de7 ICU-6645 Add comment explaining USTRING_ALLOC_START
X-SVN-Rev: 25545
2009-03-11 04:21:22 +00:00
Peter Edberg
20ddfafeb2 ICU-6645 Prebuild more canonical tzid table data into data file
X-SVN-Rev: 25543
2009-03-10 21:52:57 +00:00
Michael Ow
e43914fcda ICU-6433 Change function parameter to int32_t* due to compilation error on certain platforms.
X-SVN-Rev: 25542
2009-03-10 21:43:12 +00:00
Xiaomei Ji
1f2dcc4fb2 ICU-6433 currency parsing, case sensitive against symbol and ISO, case insensitive against name; parse against plural pattern using names only
X-SVN-Rev: 25540
2009-03-10 20:53:27 +00:00
Michael Ow
88cde4c236 ICU-6412 Avoid multiple definition of macro MIN. Is an issue on certain platforms.
X-SVN-Rev: 25538
2009-03-10 20:26:08 +00:00
Andy Heninger
9715eae02c ICU-4790 spoof impl merged to trunk.
X-SVN-Rev: 25534
2009-03-09 23:40:15 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +00:00
Xiaomei Ji
6ed81b63d3 ICU-6433 improve currency parsing, fix parsing bug on non-empty suffix, fix plural format bug on non-empty negagtive numberpattern
X-SVN-Rev: 25497
2009-02-28 02:07:55 +00:00
Michael Ow
109b0472a5 ICU-6412 When indenting use 4 spaces instead of regular tab.
X-SVN-Rev: 25494
2009-02-27 22:39:38 +00:00
Claire Ho
7c98254385 ICU-6736 merge APIs for currencySpacing from branch to trunk.
X-SVN-Rev: 25472
2009-02-24 00:50:46 +00:00
John Emmons
ec9921c61c ICU-6750 Allow aliases in numbering system descriptions
X-SVN-Rev: 25469
2009-02-23 22:41:41 +00:00
John Emmons
e729683a89 ICU-6492 Fix crash when creating a NS with a bogus override
X-SVN-Rev: 25461
2009-02-21 15:09:03 +00:00
Peter Edberg
a7e808a7e0 ICU-6747 for hashtables, change Hashtable with UnicodeString keys to UHashtable with UChar string keys, -85K
X-SVN-Rev: 25459
2009-02-21 06:40:31 +00:00
Peter Edberg
5927c7bedb ICU-6745 ceToJD needs to handle months out of range 0-12 (e.g. from add, set)
X-SVN-Rev: 25458
2009-02-21 03:59:16 +00:00
Claire Ho
5d17555c7e ICU-6735 merge new localeDisplayPattern APIs from branch to trunk.
X-SVN-Rev: 25457
2009-02-21 00:31:21 +00:00
Markus Scherer
97ea1827e7 ICU-6678 add uset_openEmpty()
X-SVN-Rev: 25451
2009-02-19 23:36:58 +00:00
Markus Scherer
1bdabd9519 ICU-6677 use UnicodeString::fromUTF32() in CollData code, see initial ticket description
X-SVN-Rev: 25450
2009-02-19 23:06:03 +00:00
Peter Edberg
64f350c92a ICU-6734 unum_parse does not report parse errors for rule-based number formatters
X-SVN-Rev: 25442
2009-02-19 08:41:08 +00:00
John Emmons
9f6245828b ICU-6492 Add override based constructors for SimpleDateFormat
X-SVN-Rev: 25435
2009-02-18 13:29:17 +00:00
Yoshito Umaoka
0d0f1dce49 ICU-3378 Checking in API headers for getKeywordValuesForLocale with empty implementation for 4.2M3.
X-SVN-Rev: 25407
2009-02-14 02:32:41 +00:00
Steven R. Loomis
dd4971d760 ICU-6613 fix udat crashers. See also ICU-6737
X-SVN-Rev: 25405
2009-02-14 02:29:08 +00:00
Andy Heninger
5013ce6d65 ICU-4790 add spoof detection header into the trunk. Code will follow later
X-SVN-Rev: 25403
2009-02-14 01:11:42 +00:00
Xiaomei Ji
45071a142b ICU-6433 from branch to trunk for API slush
X-SVN-Rev: 25399
2009-02-12 22:55:29 +00:00
John Emmons
fe57727649 ICU-6492 Merge Hebrew calendar changes to trunk
X-SVN-Rev: 25392
2009-02-09 18:11:52 +00:00
Claire Ho
bb25d466b5 ICU-6586 code fixes after review.
X-SVN-Rev: 25374
2009-02-05 01:03:16 +00:00
Eric Mader
13a9d2c3ec ICU-6717 return quaternary value as CE for strengths QUATERNARY, IDENTICAL. Re-enable TestSearchForNull.
X-SVN-Rev: 25368
2009-02-03 19:50:39 +00:00
Peter Edberg
ae418ed994 ICU-6702 Enable relative date formatters with non-relative timeStyles
X-SVN-Rev: 25351
2009-01-30 10:46:17 +00:00
Steven R. Loomis
f5a1df14ce ICU-6571 move the API to ulocdata
X-SVN-Rev: 25347
2009-01-29 20:31:37 +00:00
Jason Spieth
23ed627d99 ICU-6338 Handle integer suffix when parsing numeric date field - SimpleDateFormat impl
X-SVN-Rev: 25345
2009-01-29 18:30:16 +00:00
Jason Spieth
d2b8f35eff ICU-6338 Handle integer suffix when parsing numeric date field - SimpleDateFormat header
X-SVN-Rev: 25343
2009-01-29 18:19:24 +00:00
Peter Edberg
f12b1180ab ICU-4121 254 digits max for CODAN collation element (additional digits are separate element)
X-SVN-Rev: 25336
2009-01-29 07:44:27 +00:00
Yoshito Umaoka
f682a39582 ICU-6420 Fixed calendar/date symbols mismatch problem for C.
X-SVN-Rev: 25309
2009-01-23 23:15:42 +00:00
John Emmons
c6efa90f2d ICU-6694 Fix resource bundle loading in numbering systems
X-SVN-Rev: 25308
2009-01-23 22:51:46 +00:00
John Emmons
af79a4c70f ICU-6694 Fix to delete internal NumberingSystems when they are no longer needed
X-SVN-Rev: 25306
2009-01-23 18:23:05 +00:00
John Emmons
07e008ff60 ICU-6694 Fix resource bundle not getting closed error in numbering systems
X-SVN-Rev: 25305
2009-01-23 17:48:27 +00:00
John Emmons
468ca36b11 ICU-6694 Move setting of zeroDigit from NummberFormat to DecimalFormatSymbols per Yoshito's suggestion
X-SVN-Rev: 25300
2009-01-23 00:53:11 +00:00
Eric Mader
98e2009c00 ICU-6694 fix compile problem w/ VS 2008.
X-SVN-Rev: 25287
2009-01-22 18:13:05 +00:00
John Emmons
6070262c2f ICU-6694 Implementation of numbering systems and the @numbers keyword
X-SVN-Rev: 25285
2009-01-22 04:46:35 +00:00
Eric Mader
146306ccc8 ICU-6659 Fix custom build steps for bms.h, bmsearch.h, colldata.h
X-SVN-Rev: 25283
2009-01-22 01:00:30 +00:00
Eric Mader
5f73103b5a ICU-6659 Merge changes from branches/eric/boyer-moore
X-SVN-Rev: 25282
2009-01-22 00:24:48 +00:00
Peter Edberg
b0fa61d425 ICU-5702 Fix availableFormats fallback for aliased locales
X-SVN-Rev: 25258
2009-01-16 01:18:05 +00:00
Andy Heninger
73724078aa ICU-6679 Visual Studio project files upgrade to version 2008
X-SVN-Rev: 25256
2009-01-15 01:50:06 +00:00
Jason Spieth
de7d1f06de ICU-6354 Set default rounding increment, C implementation
X-SVN-Rev: 25241
2009-01-13 16:58:35 +00:00
Yoshito Umaoka
1b5ba9ed42 ICU-6602 Construct a generic location string with a substring of its tzid for an unknown time zone except ones starting with Etc/. Updated test case to check such time zones also round trip with pattern VVVV.
X-SVN-Rev: 25240
2009-01-13 04:22:37 +00:00
Andy Heninger
04c57ff523 ICU-6656 URegex_replaceAll(), fix incorrect size return value when output buffer is too small
X-SVN-Rev: 25221
2009-01-08 06:55:22 +00:00
Yoshito Umaoka
a996a898e0 ICU-6669 Corrected the condition used for checking DST in time zone transition implementation in SimpleTimeZone in ICU4C. Also provided a test case.
X-SVN-Rev: 25186
2009-01-02 21:22:01 +00:00
Peter Edberg
cec9f47ade ICU-5702 Fix fallback for availableFormats
X-SVN-Rev: 25166
2008-12-19 20:10:03 +00:00
John Emmons
7d370d115d ICU-6654 Integrate RBNF rules from CLDR
X-SVN-Rev: 25090
2008-12-12 01:04:38 +00:00
Peter Edberg
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Peter Edberg
bd48f81ef1 ICU-6642 Lazier initialization of ZoneMeta tables
X-SVN-Rev: 25012
2008-11-26 22:24:51 +00:00
Andy Heninger
6565d71ae3 ICU-6641 fix compilation error with gcc 4.4
X-SVN-Rev: 25001
2008-11-24 19:24:13 +00:00
Peter Edberg
6c12fab16d ICU-5702 Make DateTimePatternGenerator:initData get the availableFormats for the correct
calendar (not always gregorian), and add some necessary availableFormats entries.

X-SVN-Rev: 24978
2008-11-19 04:19:02 +00:00
Peter Edberg
1e521d134d ICU-6626 Make DateTimePatternGenerator:initData use the skeletons specified for availableFormats,
eliminate CJK months hack, use skeletons to improve adjustFieldTypes behavior, add some necessary
availableFormats entries, and fix expected test results now that getBestPattern is more correct.

X-SVN-Rev: 24976
2008-11-18 18:27:40 +00:00
Steven R. Loomis
2a70d1d602 ICU-6628 ignore @collation=default`
X-SVN-Rev: 24974
2008-11-17 21:46:15 +00:00
Steven R. Loomis
d52ac24d1e ICU-6628 prevent crash in ucol_open
X-SVN-Rev: 24972
2008-11-17 20:27:25 +00:00
Steven R. Loomis
63849800d4 ICU-6617 some haiku support. update config.guess and cleanup other test code.
X-SVN-Rev: 24942
2008-11-08 02:04:15 +00:00
Peter Edberg
4510d290cd ICU-6615 define UCAL_DEFAULT, make UCAL_GREGORIAN work correctly in ucal_open
X-SVN-Rev: 24935
2008-11-07 04:50:24 +00:00
Peter Edberg
d53d0406af ICU-6614 Add ucal_getType()
X-SVN-Rev: 24931
2008-11-06 06:49:30 +00:00
Yoshito Umaoka
a54768cf9d ICU-6597 Fix a DST display name bug.
X-SVN-Rev: 24890
2008-10-27 15:22:18 +00:00
Xiaomei Ji
a8aff4fc7b ICU-6503 move createPatternInstance from DateFormat to DateIntervalFormat
X-SVN-Rev: 24884
2008-10-25 00:31:55 +00:00
Peter Edberg
7364736f03 ICU-6585 Formats with c,cc should use local day of week (and ee should have zero pad)
X-SVN-Rev: 24869
2008-10-24 03:36:26 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Xiaomei Ji
6280be2fa5 ICU-6303 change FIXME to TODO
X-SVN-Rev: 24860
2008-10-22 06:06:56 +00:00
Peter Edberg
dea1e8f6fe ICU-5726 Make parse work for eee-eeeee, EEEE, c-cc; add tests.
X-SVN-Rev: 24814
2008-10-15 08:08:04 +00:00
Michael Ow
85121155a5 ICU-5944 Remove unneeded free function and use struct and static array.
X-SVN-Rev: 24803
2008-10-14 21:46:58 +00:00
Peter Edberg
a57e83d1fb ICU-5726 Make format work for eee-eeeee (UDAT_DOW_LOCAL_FIELD); add & fix tests
X-SVN-Rev: 24752
2008-10-08 08:23:48 +00:00
Eric Mader
57e86d3127 ICU-6576 Check code points for UCOL_IDENTICAL. Recompute processed pattern CEs if strength changes from < quaternary to >= quaternary or visa versa.
X-SVN-Rev: 24749
2008-10-07 23:37:42 +00:00
Andy Heninger
7b405b40af ICU-6567 Fix some compiler warnings
X-SVN-Rev: 24715
2008-10-03 20:30:55 +00:00
Peter Edberg
1e9adc5dc1 ICU-6072 Add DateFormatSymbols support for NarrowEras, use it to format & parse with GGGGG
X-SVN-Rev: 24709
2008-10-03 07:47:57 +00:00
Michael Ow
f904dc9003 ICU-6554 Add releasing of allocated memory when uprv_tzname is called.
X-SVN-Rev: 24698
2008-10-01 21:17:55 +00:00
Steven R. Loomis
6c1e80795b ICU-6557 fix linkage issue.
X-SVN-Rev: 24695
2008-10-01 19:23:06 +00:00
Michael Ow
f92998e519 ICU-6554 Remove previous free from timezone.cpp and use static array in TestOpenVsOpenRules() capitst.
X-SVN-Rev: 24693
2008-10-01 16:54:07 +00:00
Michael Ow
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Steven R. Loomis
c68132d733 ICU-6552 down to 16 errors/warnings in doxygen
X-SVN-Rev: 24687
2008-10-01 01:24:46 +00:00
Yoshito Umaoka
de92282fee ICU-6207 Cleaned up unused code. Minor improvements.
X-SVN-Rev: 24682
2008-09-30 19:18:59 +00:00
Steven R. Loomis
0e7646b347 ICU-6552 reduce a lot of doxygen errs, improve output docs
X-SVN-Rev: 24668
2008-09-27 01:12:32 +00:00
Steven R. Loomis
2145eb11be ICU-6551 reduce use of common words in rename.
X-SVN-Rev: 24652
2008-09-25 20:24:14 +00:00
John Emmons
34345f0371 ICU-6512 Fix dependency information for coll/root.txt to ucadata - Move ucadata and invuca to coll
X-SVN-Rev: 24616
2008-09-22 17:16:32 +00:00
Xiaomei Ji
fe4e67b5a6 ICU-6311 full and abbreviated simple duration format support, release to trunk
X-SVN-Rev: 24609
2008-09-19 19:05:37 +00:00
Michael Ow
b000d9e80b ICU-6207 Add wintzimpl.o to Makefile.in in i18n and make certain functions static.
X-SVN-Rev: 24596
2008-09-18 22:04:24 +00:00
Michael Ow
eac717e1df ICU-6207 Disable getting windows timezone information from static tables. Use resource bundles and TimeZone and Calendar API to get needed timezone information. Create a new file in i18n to allow access to TimeZone and Calendar API. Update subsequent files to use new wintzimpl.h API.
X-SVN-Rev: 24594
2008-09-18 21:13:52 +00:00
Yoshito Umaoka
b3744287df ICU-4611 Fix Japanese calendar calculation problem. Changed internal APIs to get default month/date of a calendar without updating calendar fields.
X-SVN-Rev: 24574
2008-09-15 21:24:11 +00:00
Xiaomei Ji
ff17b981a5 ICU-6503 save date time pattern generator as private member, minimize data time pattern generator instantiation times
X-SVN-Rev: 24573
2008-09-15 21:20:19 +00:00
Michael Ow
1215abdc6d ICU-6307 Merge update of Visual Studio project and solution files with addition of x64 platform build option. Update readme.html for Windows build change.
X-SVN-Rev: 24487
2008-08-12 04:41:41 +00:00
Michael Ow
95ccfc636d ICU-2929 Include the minor UCA version when ucol_getVersion is called.
X-SVN-Rev: 24469
2008-08-08 15:04:18 +00:00
Yoshito Umaoka
c3398882b4 ICU-6476 Fixed a bug in DateTimePatternGenerator and updated some test cases. The fix allow us to replace most of yyyy in the pattern resources with y.
X-SVN-Rev: 24465
2008-08-07 17:06:38 +00:00
Steven R. Loomis
97bb5f74b7 ICU-6416 move ICU version number for win32 libraries, to 41 from 40
X-SVN-Rev: 24458
2008-08-06 23:31:25 +00:00
Andy Heninger
7b5e523d8f ICU-6488 fix compiler warning
X-SVN-Rev: 24454
2008-08-06 21:14:53 +00:00
Andy Heninger
d13d3b6d4d ICU-6488 mutex cleanup in timezone code
X-SVN-Rev: 24452
2008-08-06 21:01:19 +00:00
Andy Heninger
1de383df48 ICU-6479 thread safety in collation initialization
X-SVN-Rev: 24448
2008-08-06 17:57:45 +00:00
Andy Heninger
38b7c3e8a7 ICU-6481 fix threading issues in calendar initialization code
X-SVN-Rev: 24445
2008-08-05 22:19:05 +00:00
Michael Ow
3d1a4a3fce ICU-6307 Undo previous commit. Due to unexpected and unforeseen build failure.
X-SVN-Rev: 24444
2008-08-05 22:15:46 +00:00
Michael Ow
e20dbc5d8a ICU-6307 Add platform x64 to Visual Studio solution. Build directory will now reflect this change with x86 for 32 bit and x64 for 64 bit. lib64 and bin64 have also been added for x64 platform.
X-SVN-Rev: 24443
2008-08-05 21:08:59 +00:00
Andy Heninger
0c2a587a9c ICU-6480 clean up UMTX_CHECK usage in lazy init
X-SVN-Rev: 24439
2008-08-05 00:09:13 +00:00
Andy Heninger
cd83d25daf ICU-6472 Clean some compiler warnings and other fluff
X-SVN-Rev: 24430
2008-08-01 01:51:21 +00:00
Steven R. Loomis
fa50d4a3b2 ICU-6435 fix bad 4.0 tags. Re-do r23962 as stable 3.8 instead of stable 4.0.
X-SVN-Rev: 24395
2008-07-21 18:57:26 +00:00
Markus Scherer
b60730c0e2 ICU-6414 Optimize CharacterNode and TextTrieMap in zstrfmt
X-SVN-Rev: 24345
2008-07-03 16:03:59 +00:00
Andy Heninger
b422a026dd ICU-6418 Fix incorrect init of Break Transliterator, which is part of Thai-Latin
X-SVN-Rev: 24342
2008-07-03 07:13:04 +00:00
Steven R. Loomis
3bb050aba0 ICU-6404 last header changes
X-SVN-Rev: 24318
2008-06-28 07:08:51 +00:00
Steven R. Loomis
d3d779e429 ICU-6402 fixes for IBM i.
X-SVN-Rev: 24317
2008-06-28 07:02:26 +00:00
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