Commit Graph

17522 Commits

Author SHA1 Message Date
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Doug Felt
f51066e066 ICU-8448 update docs for list syntax
X-SVN-Rev: 30023
2011-05-04 17:07:24 +00:00
Markus Scherer
7a70bd8645 ICU-8197 undo bad fix from ticket #7039 because extract(..., uint32_t dstSize, ...) uses U_MAX_PTR(target) which is hopefully fixed for all platforms now (see ticket #8096)
X-SVN-Rev: 30022
2011-05-04 15:56:03 +00:00
Markus Scherer
9d4af09bea ICU-8096 make U_MAX_PTR(base) conform to C++ standard where possible
X-SVN-Rev: 30021
2011-05-04 15:33:44 +00:00
Markus Scherer
af43054b4e ICU-7848 normalize-append will never modify first-suffix if second begins with a has-boundary-before character; leave safeMiddle empty in that case
X-SVN-Rev: 30020
2011-05-04 13:44:04 +00:00
Peter Edberg
7aaca9b950 ICU-8329 Roll in Khmer dictionary word break code from George, data from Nathan/sbbic.org
X-SVN-Rev: 30019
2011-05-04 13:25:37 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Markus Scherer
56b28bd292 ICU-7848 make normalize-append restore the middle string section (the relevant suffix of the first string) when something goes wrong (especially C buffer overflow)
X-SVN-Rev: 30014
2011-05-04 05:50:20 +00:00
Steven R. Loomis
3d44c5dc4b ICU-8171 fix warnings, or at least move them into POSIX portions of code
X-SVN-Rev: 30012
2011-05-04 04:07:45 +00:00
Yoshito Umaoka
a0b723bb79 ICU-8342 A minor fix for EBCDIC platforms - replacing '/' with ':' for resource bundle key.
X-SVN-Rev: 30010
2011-05-04 02:35:20 +00:00
Stuart Gill
0f8827be69 ICU-8295 fix compiler warning in C++ collator reordering API
X-SVN-Rev: 30005
2011-05-04 00:06:12 +00:00
Steven R. Loomis
388f165e13 ICU-7659 fix U_CC and U_CXX
X-SVN-Rev: 30004
2011-05-04 00:02:26 +00:00
Markus Scherer
781391999e ICU-8173 fix the Normalizer2::getDecomposition(c) docs
X-SVN-Rev: 30003
2011-05-03 23:59:31 +00:00
Peter Edberg
5d14eefc25 ICU-8467 Add C wrappers for some PluralRules functionality
X-SVN-Rev: 30001
2011-05-03 23:23:26 +00:00
Markus Scherer
b6ec20193a ICU-8171 fix warning in ucol_res.cpp/isAcceptableUCA()
X-SVN-Rev: 30000
2011-05-03 22:32:26 +00:00
Markus Scherer
31b3ddce42 ICU-8171 add const to char *tag in genrb/reslist
X-SVN-Rev: 29999
2011-05-03 22:26:26 +00:00
Markus Scherer
b20de12a95 ICU-8124 fix USCRIPT_ API constant tags
X-SVN-Rev: 29997
2011-05-03 22:15:31 +00:00
Peter Edberg
b0a2b3ad5c ICU-8470 Oops, fix test name in log message
X-SVN-Rev: 29996
2011-05-03 22:14:49 +00:00
Steven R. Loomis
84da6cfda0 ICU-8350 missed one
X-SVN-Rev: 29994
2011-05-03 21:22:02 +00:00
Markus Scherer
74e96609b2 ICU-8350 better ASCII/EBCDIC fix
X-SVN-Rev: 29992
2011-05-03 20:34:28 +00:00
Andy Heninger
b040e0649f ICU-8516 Add AlphabeticIndex to UOBjectTest
X-SVN-Rev: 29990
2011-05-03 20:14:49 +00:00
Steven R. Loomis
61bdf314c6 ICU-8350 terminate the buffer.
X-SVN-Rev: 29989
2011-05-03 19:48:42 +00:00
Peter Edberg
3745b313f3 ICU-8470 Add C wrappers for some DateIntervalFormat functionality
X-SVN-Rev: 29988
2011-05-03 19:33:19 +00:00
Steven R. Loomis
64a323a8e2 ICU-8350 fix another asciism
X-SVN-Rev: 29987
2011-05-03 18:16:18 +00:00
Michael Ow
2c18392ced ICU-7945 Add BCP47 Unicode attribute test case
X-SVN-Rev: 29986
2011-05-03 17:17:27 +00:00
Steven R. Loomis
932bcbef14 ICU-8350 fix ASCIIsm
X-SVN-Rev: 29985
2011-05-03 16:55:27 +00:00
Yoshito Umaoka
4d7569c743 ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00
Steven R. Loomis
607f78619b ICU-8466 fix unescaped \u
X-SVN-Rev: 29983
2011-05-03 14:33:43 +00:00
Peter Edberg
04435370a7 ICU-8466 Oops, that hyphen in copied text was really an en dash, fix to use \u notation
X-SVN-Rev: 29977
2011-05-03 06:32:11 +00:00
Peter Edberg
d67f95f797 ICU-8466 Add get/adopt/setTimeZone to DateIntervalFormat, as in DateFormat
X-SVN-Rev: 29976
2011-05-03 05:44:58 +00:00
Markus Scherer
2bb81c0eca ICU-8079 set the correct UErrorCode
X-SVN-Rev: 29975
2011-05-03 04:11:32 +00:00
Steven R. Loomis
b88cd9bca9 ICU-8350 zOS fixes round one
X-SVN-Rev: 29973
2011-05-03 03:40:34 +00:00
Steven R. Loomis
f8aae2e64a ICU-6015 fixups for this round. More platform bug fixes will go into #8350
X-SVN-Rev: 29972
2011-05-03 03:38:37 +00:00
Markus Scherer
2021d92a62 ICU-8079 rewrite/simplify sort key buffer/memory management, fixes overflow & length counting bugs
X-SVN-Rev: 29968
2011-05-03 00:29:45 +00:00
Peter Edberg
b4653c9f9f ICU-8397 Add ucal_getFieldDifference, C wrapper for Calendar::fieldDifference(...)
X-SVN-Rev: 29966
2011-05-02 23:42:11 +00:00
Peter Edberg
2fdfe20655 ICU-8237 Add RelativeDateFormat::getDateFormatSymbols, use in udat_getSymbols/countSymbols
X-SVN-Rev: 29964
2011-05-02 23:14:32 +00:00
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +00:00
Michael Ow
4981242b47 ICU-8505 Add missing header file in some performance tests.
X-SVN-Rev: 29956
2011-05-02 17:07:00 +00:00
Michael Ow
4dc0689cab ICU-8273 Delete object before creating a new one in PluralFormat copy assignment operator.
X-SVN-Rev: 29951
2011-05-02 05:58:17 +00:00
Andy Heninger
e19f8e0591 ICU-5297 Charset detector confidence, use natural log, removes gratuitous difference between C++ and Java versions.
X-SVN-Rev: 29932
2011-04-29 22:44:44 +00:00
Michael Ow
aa67d1675a ICU-7577 Fix solaris studio 64 bit option detection.
X-SVN-Rev: 29931
2011-04-29 18:58:48 +00:00
Markus Scherer
8322425f05 ICU-8051 remove comments about start parameter from +=(srcText) and append(srcText) docs
X-SVN-Rev: 29930
2011-04-29 18:54:10 +00:00
Markus Scherer
0765a860a0 ICU-8053 add link to the LDML spec, C.11 Language Plural Rules
X-SVN-Rev: 29928
2011-04-29 18:04:45 +00:00
Andy Heninger
be5efb8d44 ICU-7083 Make RBBI create from compiled rules public.
X-SVN-Rev: 29926
2011-04-29 17:49:01 +00:00
Steven R. Loomis
8a69ab8bba ICU-8154 update defines and add regression test
X-SVN-Rev: 29925
2011-04-29 17:39:36 +00:00
Markus Scherer
bb9af46cfe ICU-8432 test & document that PluralRules::getSamples() returns count<=destCapacity
X-SVN-Rev: 29924
2011-04-29 16:42:34 +00:00
Steven R. Loomis
5d6b488406 ICU-8493 update test a little.
X-SVN-Rev: 29921
2011-04-29 00:30:37 +00:00
Markus Scherer
70ad6b4a74 ICU-7386 merge NumberFormat::EStyles into UNumberFormatStyles & improve NumberFormat::makeInstance() memory management
X-SVN-Rev: 29920
2011-04-29 00:00:47 +00:00
Steven R. Loomis
239da64700 ICU-8493 fix warnings for hpux gcc
X-SVN-Rev: 29919
2011-04-28 21:25:40 +00:00
Markus Scherer
a84df9c29c ICU-7387 fix dates & versions
X-SVN-Rev: 29918
2011-04-28 17:31:44 +00:00
Claire Ho
83d13b22aa ICU-7387 Changed TimeUnitFormat::EStyle should bto C enum.
X-SVN-Rev: 29916
2011-04-28 16:42:58 +00:00
Markus Scherer
6c49e812c0 ICU-8432 fix PluralRules memory management & a couple of minor issues
X-SVN-Rev: 29914
2011-04-28 13:35:56 +00:00
Markus Scherer
e25457f07a ICU-8499 change PluralRules::NO_UNIQUE_VALUE into #define UPLRULES_NO_UNIQUE_VALUE
X-SVN-Rev: 29911
2011-04-27 20:04:06 +00:00
Steven R. Loomis
dfaf3a12d6 ICU-8493 fix Genccode assembler for hpux gcc
X-SVN-Rev: 29907
2011-04-27 01:06:22 +00:00
Michael Ow
79a56cbc69 ICU-8461 Remove old comments regarding missing subtag in ISO-639-2
X-SVN-Rev: 29906
2011-04-26 22:23:29 +00:00
Michael Ow
eb6c36ce48 ICU-8461 Fix mapping for gd_GB
X-SVN-Rev: 29905
2011-04-26 22:21:34 +00:00
Michael Ow
47def3c1d9 ICU-8461 Remove unneeded comments in the table.
X-SVN-Rev: 29904
2011-04-26 21:20:17 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
Markus Scherer
3962c68aa2 ICU-8319 do not use UNICODE_STRING_SIMPLE with a multi-line string literal
X-SVN-Rev: 29896
2011-04-26 04:01:09 +00:00
Yoshito Umaoka
9e06615866 ICU-8289 tzdata2011g to ICU4C trunk
X-SVN-Rev: 29894
2011-04-26 01:40:04 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Michael Ow
73c400496f ICU-8482 Close collator, break iterator, and search iterator after use.
X-SVN-Rev: 29877
2011-04-24 23:30:19 +00:00
Yoshito Umaoka
1d6d6c6354 ICU-8366 Fixed a compilation problem on some platforms - deleting extra comma at the end of enum list.
X-SVN-Rev: 29875
2011-04-24 04:04:33 +00:00
John Emmons
8b4b42780a ICU-8473 Updated data for territory containment APIs
X-SVN-Rev: 29873
2011-04-23 23:47:40 +00:00
Michael Ow
90edb92874 ICU-8366 Include missing header file in caltest
X-SVN-Rev: 29872
2011-04-23 22:11:25 +00:00
Yoshito Umaoka
56ef4e7f1a ICU-8366 Added ISO8601 calendar type support.
X-SVN-Rev: 29868
2011-04-23 16:35:30 +00:00
Michael Ow
c1537677f8 ICU-8427 Use the needed version of gb18030 and update test data
X-SVN-Rev: 29863
2011-04-22 23:58:47 +00:00
Michael Ow
6206b7369d ICU-8427 Update gb18030 range in ucnvmbcs.c
X-SVN-Rev: 29858
2011-04-22 23:06:09 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Andy Heninger
2861a47a86 ICU-7029 Add test case for this ticket.
X-SVN-Rev: 29846
2011-04-21 23:19:40 +00:00
Andy Heninger
f777c14042 ICU-8444 Remove PATTERN_IS_UTEXT from regex API.
X-SVN-Rev: 29845
2011-04-21 22:57:19 +00:00
Michael Ow
e4bda133f1 ICU-8487 Increase size of buffer for reading ucm file.
X-SVN-Rev: 29844
2011-04-21 21:10:13 +00:00
Andy Heninger
118efa19c6 ICU-8486 UText not checking for Bogus UnicodeStrings, causing crash in regular expressions.
X-SVN-Rev: 29840
2011-04-21 00:07:50 +00:00
Michael Ow
2adda1f394 ICU-8461 Update Windows LCID to locale ID mapping table
X-SVN-Rev: 29831
2011-04-19 17:57:54 +00:00
Michael Ow
07e984a6ad ICU-8273 Resize if needed buffer before copy
X-SVN-Rev: 29819
2011-04-18 17:15:14 +00:00
Michael Ow
b33c3a62d0 ICU-7945 Merge BCP47 update in branch into trunk
X-SVN-Rev: 29813
2011-04-17 22:41:14 +00:00
Andy Heninger
6d21ef8ca3 ICU-8305 doxygen cleanups for regular expression API.
X-SVN-Rev: 29812
2011-04-16 01:27:00 +00:00
Andy Heninger
8148726df2 ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Yoshito Umaoka
fcbdb50436 ICU-8289 tzdata2011f to ICU4C trunk
X-SVN-Rev: 29791
2011-04-14 05:55:29 +00:00
Yoshito Umaoka
520979e0f1 ICU-8415 Fixed the API doc problem in the previous change.
X-SVN-Rev: 29786
2011-04-13 07:06:15 +00:00
Stuart Gill
de5faa255e ICU-8468 add cloning of collator reordering information - also added test for duplicate reorder codes
X-SVN-Rev: 29779
2011-04-12 18:23:27 +00:00
Fredrik Roubert
380074d3e4 ICU-8192 GCC -Wshadow warning in stringpiece.h
X-SVN-Rev: 29778
2011-04-12 15:18:34 +00:00
Fredrik Roubert
6440a3a207 ICU-6743 UnicodeString::setTo(const UnicodeString& srcText) should work exactly like the assignment operator
X-SVN-Rev: 29777
2011-04-12 15:10:45 +00:00
Fredrik Roubert
c002104f3c ICU-7408 Normalizer::concatenate should take *const* left and right strings
X-SVN-Rev: 29776
2011-04-12 14:34:18 +00:00
John Emmons
93b1ceaeac ICU-8347 Data changes required for territory containment APIs
X-SVN-Rev: 29768
2011-04-11 16:22:18 +00:00
Doug Felt
45f8abf19f ICU-8262 reorg code for uloc_getDisplayName, add regression test
X-SVN-Rev: 29760
2011-04-08 20:06:36 +00:00
Peter Edberg
389c986a20 ICU-8445 Fix size of UCOL_CASE_MAX_BUFFER w.r.t UCOL_MAX_BUFFER; fix warning about collResult
X-SVN-Rev: 29756
2011-04-07 18:33:27 +00:00
Michael Ow
eed1a93ad3 ICU-8365 Merge changes in branch for CYGWINMSVC fix to trunk
X-SVN-Rev: 29755
2011-04-07 17:02:49 +00:00
Michael Ow
844149c7bc ICU-8093 Enable cleanup of isoCodes
X-SVN-Rev: 29753
2011-04-07 05:01:42 +00:00
Dragan Besevic
b95924297b ICU-7486 Removing test noise
X-SVN-Rev: 29750
2011-04-06 21:56:48 +00:00
Michael Ow
10eb036bd2 ICU-8093 Ensure trailing zero is added at end of UChar array
X-SVN-Rev: 29749
2011-04-06 21:45:44 +00:00
Michael Ow
728bcbbc42 ICU-8093 Fix memory corruption error in TestAvailableIsoCodes
X-SVN-Rev: 29747
2011-04-06 18:45:24 +00:00
Peter Edberg
73704aa064 ICU-8417 Add dtTypes[] entry for LOW_L
X-SVN-Rev: 29736
2011-04-05 05:41:43 +00:00
Peter Edberg
24ad6686f7 ICU-8409 Calendar::fieldDifference perf improvment, better limit for binary search
X-SVN-Rev: 29735
2011-04-05 05:26:13 +00:00
Dragan Besevic
c00813396a ICU-8093 Add API function call ucurr_isAvailable() and changes for tests and data.
X-SVN-Rev: 29727
2011-04-04 15:00:03 +00:00
Yoshito Umaoka
54165cb418 ICU-8289 tzdata2011e to ICU4C trunk
X-SVN-Rev: 29722
2011-04-01 18:46:19 +00:00
Michael Ow
d91a2126d4 ICU-8273 Delete PluralRule pointer after each use
X-SVN-Rev: 29720
2011-04-01 06:34:23 +00:00
Andy Heninger
e1632f515d ICU-8405 make StringPiece::set() public.
X-SVN-Rev: 29717
2011-03-31 18:43:40 +00:00
Andy Heninger
5481ac737a ICU-8421 uregex error checking fixes.
X-SVN-Rev: 29716
2011-03-31 18:33:28 +00:00
Doug Felt
ac61a7b5bc ICU-8320 fix problem with fonts that have bad feature lookup tables
X-SVN-Rev: 29711
2011-03-30 21:18:32 +00:00