Commit Graph

3961 Commits

Author SHA1 Message Date
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
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
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
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
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +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
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
Yoshito Umaoka
56ef4e7f1a ICU-8366 Added ISO8601 calendar type support.
X-SVN-Rev: 29868
2011-04-23 16:35:30 +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
f777c14042 ICU-8444 Remove PATTERN_IS_UTEXT from regex API.
X-SVN-Rev: 29845
2011-04-21 22:57:19 +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
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
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
844149c7bc ICU-8093 Enable cleanup of isoCodes
X-SVN-Rev: 29753
2011-04-07 05:01:42 +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
Andy Heninger
5481ac737a ICU-8421 uregex error checking fixes.
X-SVN-Rev: 29716
2011-03-31 18:33:28 +00:00
Doug Felt
8f82354952 ICU-8432 fix bad delete of arrays
X-SVN-Rev: 29710
2011-03-30 20:52:05 +00:00
Michael Ow
9a44c7e691 ICU-8430 Resolve namespace issue in HPUX
X-SVN-Rev: 29707
2011-03-29 21:21:25 +00:00
Andy Heninger
90412460c5 ICU-7158 Remove non-static UMTX objects from ICU4C
X-SVN-Rev: 29701
2011-03-29 00:32:11 +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
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
Yoshito Umaoka
f00dd1eccb ICU-8295 Fixed a linkage problem on MSVC introduced by r29671
X-SVN-Rev: 29675
2011-03-21 15:30:19 +00:00
Michael Ow
44cf03ad83 ICU-8295 Put UCOL_DEBUG define statement around printf calls
X-SVN-Rev: 29674
2011-03-19 04:34:31 +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
47108a4e65 ICU-8432 add icu4c implementation and tests
X-SVN-Rev: 29666
2011-03-17 21:36:03 +00:00
Michael Ow
641f38e783 ICU-8411 Remove non-ascii character from ICU4C source files
X-SVN-Rev: 29659
2011-03-16 01:48:20 +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
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
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
Peter Edberg
798d4db393 ICU-8290 Oops, replace some tabs that crept in.
X-SVN-Rev: 29517
2011-03-02 23:55:37 +00:00
Peter Edberg
70bb0c2d20 ICU-8225 Move U_NAMESPACE_BEGIN/END to just around funcs (not in .h files) that use collIterate
X-SVN-Rev: 29511
2011-03-02 19:29:03 +00:00
Dragan Besevic
21685ff673 ICU-8364 Check the return code when creating hashtable and return null in the case of failure
X-SVN-Rev: 29502
2011-03-01 20:55:43 +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
00da7d0eab ICU-8378 Fix off-by-one assertion test in spoof checker
X-SVN-Rev: 29485
2011-02-28 19:03:12 +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
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
Jungshik Shin
dc0dc6fd45 ICU-8355 fix compile failure with visual C++ with warning treated as error
X-SVN-Rev: 29449
2011-02-17 00:47:40 +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
Yoshito Umaoka
c5d01fb5d3 ICU-8266 Clarify the behavior of TimeZone::useDaylightTime() in the API doc.
X-SVN-Rev: 29396
2011-02-04 04:13:43 +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
Andy Heninger
a658867100 ICU-7399 various spoof detector cleanups
X-SVN-Rev: 29362
2011-01-25 23:38:42 +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
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
2daf3b0175 ICU-8273 Add check to avoid memcpy from and to the same address.
X-SVN-Rev: 29299
2011-01-13 23:15:02 +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
Fredrik Roubert
cc9d054eb7 ICU-8252 Estonian kroon (EEK) has been replaced by Euro (EUR).
X-SVN-Rev: 29258
2011-01-03 14:45:24 +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
30153c1400 ICU-8209 Update version number in ICU4C to 4.7.1
X-SVN-Rev: 29186
2010-12-10 20:32:03 +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
734b84401f ICU-7089 Recalculate time stamp array if stamp value is going to exceed limit in ICU4C calendar class.
X-SVN-Rev: 29162
2010-12-07 17:27:42 +00:00
Michael Ow
f67997b725 ICU-7089 Ensure that the time stamp used by ICU4C Calendar class does not exceed the documented limit.
X-SVN-Rev: 29154
2010-12-03 19:31:10 +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
Markus Scherer
fa4ce3e6ae ICU-8021 fix namespace problem from ucol_imp.h r28996
X-SVN-Rev: 29055
2010-11-16 21:46:24 +00:00
Peter Edberg
b9cfe4aa5b ICU-8155 Promote LocalPointer[Base]/LocalArray/U_DEFINE_LOCAL_OPEN_POINTER from @draft 4.4 to @stable
X-SVN-Rev: 29050
2010-11-15 19:40:24 +00:00
Peter Edberg
ebca744d84 ICU-8155 Promote more @draft 4.4 API to @stable, after asking on icu-core
X-SVN-Rev: 29037
2010-11-12 22:58:50 +00:00
Peter Edberg
3384286860 ICU-8155 Promote appropriate @draft 4.2 and 4.4 API to @stable
X-SVN-Rev: 29035
2010-11-12 06:03:28 +00:00
Peter Edberg
d9e5f6e1d8 ICU-8136 U_CAPI -> U_STABLE for 3 uspoof_ API
X-SVN-Rev: 29030
2010-11-12 00:41:43 +00:00
Umesh Nair
aae8e8df81 ICU-7023 Fix import for EBCDIC machines.
X-SVN-Rev: 29009
2010-11-05 23:43:11 +00:00
Stuart Gill
c8a64bd04e ICU-3984 update from code review and a collation reordering API test
X-SVN-Rev: 29007
2010-11-05 20:01:14 +00:00
Steven R. Loomis
45dcb95f0b ICU-3984 revert U_EXPORT2 changes in r29003 back to r28999 - see http://userguide.icu-project.org/dev/codingguidelines
X-SVN-Rev: 29005
2010-11-05 19:08:45 +00:00
Stuart Gill
4a9aeda18c ICU-3984 updates from code review
X-SVN-Rev: 29004
2010-11-05 18:43:45 +00:00
Steven R. Loomis
6a5f83ff80 ICU-3984 fix mismatched const int in r28999
X-SVN-Rev: 29003
2010-11-04 22:36:25 +00:00
Stuart Gill
b1a76e6a88 ICU-3984 updates based on code review and fix of memory leak during collation reordering rule parsing
X-SVN-Rev: 28999
2010-11-04 20:12:39 +00:00
Andy Heninger
a5bc9497c1 ICU-8122 Update urename.h for ICU 4.6
X-SVN-Rev: 28996
2010-11-04 00:37:10 +00:00
Stuart Gill
94239208a0 ICU-3984 fix a bug in the resource loading of collation reordering and rename script reordering to reordering codes
X-SVN-Rev: 28993
2010-11-03 02:41:22 +00:00
Umesh Nair
67bebde8b5 ICU-7023 Cleaning up code and fixing an error on AIX
X-SVN-Rev: 28991
2010-11-02 22:29:28 +00:00
Stuart Gill
5dd9ea7768 ICU-3984 update the uca file version, add support for reading/writing reordering from/to resources, update FractionalUCA.txt to a format for the genuca tool
X-SVN-Rev: 28975
2010-11-02 02:21:57 +00:00
Steven R. Loomis
2ac4a7f418 ICU-7023 Fix windows breakage that was on r28967
X-SVN-Rev: 28971
2010-11-02 00:24:11 +00:00
Umesh Nair
c9ae826bca ICU-7023 Supporting import in collation rules
X-SVN-Rev: 28967
2010-11-01 22:23:49 +00:00
Steven R. Loomis
08eafbc52f ICU-3984 add #ifdefs around printfs
X-SVN-Rev: 28966
2010-11-01 20:11:36 +00:00
Michael Grady
cfe1b1d92f ICU-8104 Move REGEXFINDPROGRESS_INTERRUPT macro out of regex.h into implementation
X-SVN-Rev: 28961
2010-10-30 21:49:29 +00:00
Stuart Gill
0c21fdf068 ICU-3984 changes to the collation reordering - API works same as rules and enhanced testing
X-SVN-Rev: 28960
2010-10-30 00:42:12 +00:00
Peter Edberg
e2b5a4245f ICU-8102 aack, fix the 4.6h that crept in
X-SVN-Rev: 28959
2010-10-29 21:12:04 +00:00
Peter Edberg
9ed097ba3d ICU-8102 @draft 4.4 -> @draft 4.6 for the unchanged @internal 4.4 functions
X-SVN-Rev: 28958
2010-10-29 21:09:53 +00:00
Stuart Gill
d8e214d7d7 ICU-3984 Fix Windows build issues
X-SVN-Rev: 28946
2010-10-28 20:28:40 +00:00
Andy Heninger
19dbe7e1cc ICU-8090 Transliterator, fix instantiation failures.
X-SVN-Rev: 28929
2010-10-27 23:35:12 +00:00
Umesh Nair
e3756f710b ICU-7015 Fixing some types and adding some conditional code for debugging.
X-SVN-Rev: 28928
2010-10-27 22:11:37 +00:00
Stuart Gill
110e2ceb05 ICU-3984 integrate collation reordering from branch - svn+ssh://source.icu-project.org/repos/icu/icu/branches/sgill/scriptreorder2 -r 28883:28924
X-SVN-Rev: 28926
2010-10-27 18:02:52 +00:00
Peter Edberg
c8765bfe77 ICU-8077 Remove isLenient/setLenient from Format, etc. (revert #7725)
X-SVN-Rev: 28916
2010-10-26 18:11:13 +00:00
Peter Edberg
511b73419f ICU-8072 Fix crash in genrb coll processing due to stale rulesToParse pointers in UColToken hashtable
X-SVN-Rev: 28898
2010-10-24 19:06:51 +00:00
Andy Heninger
a77332d75c ICU-7561 fixes to uspoof API docs, to make them build.
X-SVN-Rev: 28885
2010-10-20 23:12:46 +00:00
Peter Edberg
d841f7254d ICU-7992 DateTimePatternGenerator, fix matching for weekday name
X-SVN-Rev: 28884
2010-10-20 22:06:10 +00:00
Yoshito Umaoka
4e8f6e1ed2 ICU-7518 Workaround for 24:00 on a transition day problem. Use 23:59:59.999 as the transition time. iCal VTIMEZONE is not capable to handle such rule. Also a minor bug fix in BasicTimeZone::hasEquivalentTransitions which was found while updating the test case. This fix is equivalent to the ICU4J fix r28879.
X-SVN-Rev: 28880
2010-10-20 07:46:11 +00:00
Jinglun Li
a1f9c9d8f7 ICU-7952 ICU4C SelectFormat review feedback. Merge from branches/jinglun.
X-SVN-Rev: 28878
2010-10-20 02:36:31 +00:00