Commit Graph

5906 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
b33c3a62d0 ICU-7945 Merge BCP47 update in branch into trunk
X-SVN-Rev: 29813
2011-04-17 22:41:14 +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
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
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
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
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
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
5481ac737a ICU-8421 uregex error checking fixes.
X-SVN-Rev: 29716
2011-03-31 18:33:28 +00:00
Stuart Gill
a9354cbb6b ICU-8295 API for collation reordering - fix zeroing out of structure
X-SVN-Rev: 29692
2011-03-24 00:09:06 +00:00
Matitiahu Allouche
604bb8f344 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29686
2011-03-23 17:26:59 +00:00
Michael Ow
934d73b4ea ICU-8218 Fix symbol value check
X-SVN-Rev: 29683
2011-03-22 16:58:58 +00:00
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Steven R. Loomis
a4ca3b3227 ICU-8295 timebomb for breakage in r29671
X-SVN-Rev: 29678
2011-03-22 01:16:48 +00:00
Stuart Gill
b3ba6c0bf3 ICU-8295 API for collation reordering
X-SVN-Rev: 29671
2011-03-18 22:52:30 +00:00
Doug Felt
2cd87fc93e ICU-8432 make icu4c test more robust
X-SVN-Rev: 29667
2011-03-17 22:57:55 +00:00
Doug Felt
47108a4e65 ICU-8432 add icu4c implementation and tests
X-SVN-Rev: 29666
2011-03-17 21:36:03 +00:00
Stuart Gill
a948d36eb2 ICU-8414 remove spurious loop in test code
X-SVN-Rev: 29661
2011-03-16 17:58:55 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
Michael Ow
09e5025ee1 ICU-3660 Revert 29596 until after 4.7.1
X-SVN-Rev: 29601
2011-03-10 18:28:50 +00:00
Matitiahu Allouche
cd4a7ba1c6 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29596
2011-03-10 12:47:13 +00:00
Eric Mader
f244b0674d ICU-8407 IntlTestNumberFormat::testLocale() - don't do scientific test for en_US_POSIX
X-SVN-Rev: 29584
2011-03-09 17:17:19 +00:00
Steven R. Loomis
d4b01a15b9 ICU-8363 cleanup test (remove warnings)
X-SVN-Rev: 29569
2011-03-08 03:15:57 +00:00
Steven R. Loomis
6d2d792372 ICU-8363 use PCELength for buffer size
X-SVN-Rev: 29567
2011-03-08 03:04:44 +00:00
Eric Mader
206c946267 ICU-8407 Use a case-insensitive compare when matching the exponent symbol.
X-SVN-Rev: 29551
2011-03-07 20:02:28 +00:00
Michael Ow
c28a76be8b ICU-8273 Fix memory leak issue in timezone test.
X-SVN-Rev: 29538
2011-03-04 03:01:59 +00:00
Yoshito Umaoka
5701f7add9 ICU-8388 Fixed missing separator problem in uloc_minimizeSubtag/addLikelySubtag.
X-SVN-Rev: 29536
2011-03-04 00:32:02 +00:00
Markus Scherer
d55e005cf7 ICU-8167 move string tries to the common library and make API headers public
X-SVN-Rev: 29531
2011-03-03 21:56:36 +00:00
Michael Ow
4ff56e0dd5 ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
X-SVN-Rev: 29529
2011-03-03 19:29:57 +00:00
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +00:00
Andy Heninger
def8fdc070 ICU-7530 Add alphabetic index to windows projects
X-SVN-Rev: 29484
2011-02-27 18:55:17 +00:00
Andy Heninger
7b7f48eef8 ICU-7530 Alphabetic index, move from branch to trunk.
X-SVN-Rev: 29482
2011-02-25 22:21:30 +00:00
Andy Heninger
497e88ec1f ICU-8341 spoof skeleton computed using NFD, not NFKD
X-SVN-Rev: 29475
2011-02-24 22:55:07 +00:00
Peter Edberg
f0fe89f14c ICU-8290 (1) in ucol_IGetNextCE/ucol_IGetPrevCE, add iteration when an ignorable
element is produced from Hangul expansion so it loops again to process the first jamo
from the expansion before returning; (2) in ucol_prv_getSpecialPrevCE, when Hangul
are expanded, add offsets for the expansion chars (as in collPrevIterNormalize).

X-SVN-Rev: 29473
2011-02-24 19:02:08 +00:00
Andy Heninger
f6969597fc ICU-8367 spoof check, consider CJK as single script
X-SVN-Rev: 29469
2011-02-23 23:05:20 +00:00
Michael Ow
4892435224 ICU-8006 Add ucnv_isFixedWidth API and test.
X-SVN-Rev: 29467
2011-02-23 22:21:58 +00:00
Yoshito Umaoka
d7c7514920 ICU-8346 ICU4C TimeZone::createTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added UCAL_UNKNOWN_ZONE_ID.
X-SVN-Rev: 29462
2011-02-19 06:29:52 +00:00
Yoshito Umaoka
7c93a6eeac ICU-8279 TimeZone API - getRegion in ICU4C
X-SVN-Rev: 29459
2011-02-18 23:03:47 +00:00
John Emmons
4b8773457a ICU-8031 Support for parent locales
X-SVN-Rev: 29443
2011-02-16 13:46:19 +00:00
Peter Edberg
2c5bd3f343 ICU-8330 Fix ICU4C handling of 'S' (fractional seconds) in skeleton
X-SVN-Rev: 29421
2011-02-10 04:46:32 +00:00
Markus Scherer
086386bd9e ICU-8322 pack class UnicodeString layout to avoid padding
X-SVN-Rev: 29398
2011-02-04 19:54:58 +00:00
Yoshito Umaoka
74a4461b49 ICU-8303 Handling private-use only language tag properly in uloc_forLanguageTag and uloc_toLanguageTag.
X-SVN-Rev: 29393
2011-02-03 22:33:00 +00:00
Markus Scherer
d5599d7be9 ICU-8314 change Appendable into a base class, add UnicodeStringAppendable
X-SVN-Rev: 29392
2011-02-03 22:07:22 +00:00
Markus Scherer
d8ea46628b ICU-8314 Appendable interface, AppendableAdapter default impl & UnicodeString is-an Appendable
X-SVN-Rev: 29390
2011-02-03 05:28:01 +00:00
Markus Scherer
9cc27feeb4 ICU-8167 port trie API changes from Java
X-SVN-Rev: 29367
2011-01-27 21:41:03 +00:00
Stuart Gill
37bf7cf633 ICU-8277 change interpretation of Zzzz in the collation reordering codes
X-SVN-Rev: 29364
2011-01-27 20:50:53 +00:00
Andy Heninger
4a932a4dfc ICU-7795 Regular Expression refreshInputText added.
X-SVN-Rev: 29363
2011-01-27 01:12:12 +00:00
Peter Edberg
5224f25511 ICU-8267 ucstrTextExtract should use text pointer & offset for chunk, as set by ucstrTextAccess
X-SVN-Rev: 29356
2011-01-25 03:25:24 +00:00
Yoshito Umaoka
0d4c82b85a ICU-8057 Skip validating fields internally set by add method in non-lenient mode. The same changes were done in ICU4J.
X-SVN-Rev: 29338
2011-01-19 23:31:36 +00:00
Michael Ow
4eb3c19d23 ICU-8274 Do not run exhaustive mode round trip test for GB18030
X-SVN-Rev: 29331
2011-01-19 03:30:52 +00:00
John Emmons
f979283776 ICU-7755 Data changes to support removal of hard fallbacks to Gregorian calendar
X-SVN-Rev: 29323
2011-01-17 15:27:25 +00:00
Michael Ow
91c044bb32 ICU-8274 Udpate gdb18030 code page and add testcase in ICU4C
X-SVN-Rev: 29303
2011-01-14 17:46:13 +00:00
Markus Scherer
4ecd44cfd6 ICU-4701 faster .dat package data item name lookup; improved binary search tracks shared-prefix length
X-SVN-Rev: 29293
2011-01-12 23:51:40 +00:00
Andy Heninger
0ac84b2939 ICU-8199 Fix for failing decimal parse test on Windows.
X-SVN-Rev: 29292
2011-01-12 23:41:52 +00:00
Steven R. Loomis
5a86c076e8 ICU-8263 remove reference to pnames.icu in test. Fails under --with-data-packaging=archive and also fails under Win build.
X-SVN-Rev: 29285
2011-01-11 19:47:53 +00:00
Markus Scherer
f97ba58fe7 ICU-8167 minor test fixes
X-SVN-Rev: 29282
2011-01-10 23:55:17 +00:00
Markus Scherer
397d6f7372 ICU-8167 make trie iterators nested classes inside their tries
X-SVN-Rev: 29272
2011-01-06 18:40:26 +00:00
Markus Scherer
62306a038c ICU-8167 rename ByteTrie to BytesTrie, DictTrie to StringTrie, etc.
X-SVN-Rev: 29265
2011-01-05 21:05:47 +00:00
Andy Heninger
345c295b0f ICU-8199 Fix compilation errors on MacOSX introduced by previous commit of these files
X-SVN-Rev: 29260
2011-01-04 19:01:12 +00:00
Andy Heninger
7a2d96c7c8 ICU-8199 Fix use of out-of-scope object in DigitList, and related rounding problems in Formattable::getInt64
X-SVN-Rev: 29259
2011-01-04 07:42:32 +00:00
Markus Scherer
c04082d93c ICU-8105 hardcode Unicode property names data (formatVersion 2); includes new dictionary-type tries (ByteTrie & UCharTrie see ticket #8167); merge branches/markus/tries -r 29040:29249
X-SVN-Rev: 29252
2010-12-31 18:21:36 +00:00
Peter Edberg
bbb368c939 ICU-8238 Implement max subpart policy for UTF7 toUnicode, don't consume valid bytes after err
X-SVN-Rev: 29214
2010-12-16 17:35:01 +00:00
Claire Ho
4c38ef650d ICU-7385 changed ECurrencySpacing into a C enum.
X-SVN-Rev: 29212
2010-12-15 23:46:53 +00:00
Michael Ow
dd03794570 ICU-7959 Add compound text converter to ICU4C.
X-SVN-Rev: 29211
2010-12-15 23:38:28 +00:00
Michael Ow
22b88a2cf3 ICU-8209 Update the timebombs.
X-SVN-Rev: 29192
2010-12-10 22:21:51 +00:00
Michael Ow
3261e6d703 ICU-7089 Add test for Calendar class time stamp recalculation in ICU4C
X-SVN-Rev: 29164
2010-12-07 23:46:13 +00:00
Michael Ow
54c4dc59ca ICU-8083 Update locale test data.
X-SVN-Rev: 29158
2010-12-03 20:43:21 +00:00
Michael Ow
642c2f0f68 ICU-8083 Update locale test for r29153
X-SVN-Rev: 29157
2010-12-03 20:39:32 +00:00
Steven R. Loomis
96876653d9 ICU-8205 fix improper swap of uspoof, also add to swap test
X-SVN-Rev: 29139
2010-12-02 19:17:46 +00:00