Commit Graph

4113 Commits

Author SHA1 Message Date
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
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
Markus Scherer
d29bfdf854 ICU-7264 UCA 6.0 data, test data, and bug fixes; from branches/markus/uca60 -r 28826:28857
X-SVN-Rev: 28875
2010-10-19 21:48:04 +00:00
Jie J. Yang
396f2a8f3a ICU-7902 TimeUnitFormat uses unlocalized short time units for Greek, icu4c part
X-SVN-Rev: 28872
2010-10-19 08:28:02 +00:00
Claire Ho
e28ad3610d ICU-7385 rollback the changeset#28856. Hold the change until reviewed by icu-design list.
X-SVN-Rev: 28864
2010-10-19 01:27:56 +00:00
Claire Ho
51689f4071 ICU-7385 changed ECurrencySpacing into a C enum.
X-SVN-Rev: 28856
2010-10-18 23:09:02 +00:00
Andy Heninger
4efdb1090d ICU-7555 regexp does not recognize [:word:]
X-SVN-Rev: 28854
2010-10-18 20:08:27 +00:00
Markus Scherer
c4a66333eb ICU-7264 remove obsolete UCAElements.variableTop
X-SVN-Rev: 28813
2010-10-13 17:38:40 +00:00
Steven R. Loomis
0c6ec18878 ICU-7264 fix broken call, sending NULL for new parameter
X-SVN-Rev: 28812
2010-10-13 17:23:01 +00:00
Markus Scherer
db32e2a441 ICU-7264 check isSpecial(CE) before getCETag(CE), and more debug output for genuca
X-SVN-Rev: 28803
2010-10-12 23:59:00 +00:00
Andy Heninger
69a7b1ea42 ICU-6545 Allow regex reset to the end of a string
X-SVN-Rev: 28801
2010-10-12 22:52:51 +00:00
Andy Heninger
61460a2e97 ICU-7975 Clarify that formatting a number always will round it.
X-SVN-Rev: 28795
2010-10-12 20:05:49 +00:00
Andy Heninger
801abaa192 ICU-7892 add missing implementation for unum_parseDecimal() and unum_formatDecimal().
X-SVN-Rev: 28789
2010-10-12 05:11:41 +00:00
Steven R. Loomis
adb11cba8d ICU-8028 update version number to milestone:4.6, bump timebombs, etc
X-SVN-Rev: 28785
2010-10-09 01:23:28 +00:00
Michael Ow
da1272de57 ICU-7447 Fix some GCC and VA compiler warnings.
X-SVN-Rev: 28778
2010-10-08 20:14:26 +00:00
Andy Heninger
f68de91610 ICU-8005 uninitialized field fLastChar (from valgrind)
X-SVN-Rev: 28758
2010-10-04 23:02:29 +00:00
Steven R. Loomis
4f8e1629db ICU-7792 APIChangeReport.html and tag an untagged file
X-SVN-Rev: 28743
2010-09-30 18:27:04 +00:00
Michael Ow
742f501232 ICU-7983 Resolve valgrind error when calling Calendar::createInstance().
X-SVN-Rev: 28739
2010-09-30 05:44:33 +00:00
Andy Heninger
633cd9763a ICU-7789 ICU4C memory allocation function cleanup. 4.5.2 BRS task.
X-SVN-Rev: 28714
2010-09-27 23:52:31 +00:00
Jungshik Shin
e8b6b950f0 ICU-7980 fix a few coverity errors
X-SVN-Rev: 28691
2010-09-24 00:13:57 +00:00
Michael Grady
1b81c862ce ICU-6879 Lazy loading of localized timeZone IDs (commit from branch)
X-SVN-Rev: 28687
2010-09-22 22:44:09 +00:00
Alexey Gousev
e69698280f ICU-7911 fixed formatting issue
X-SVN-Rev: 28683
2010-09-22 19:59:41 +00:00
John Emmons
b3e6ea4b01 ICU-7724 Fix API tag back to @stable 2.0 per Yoshito
X-SVN-Rev: 28675
2010-09-22 01:57:51 +00:00
Michael Ow
740bef0bc8 ICU-7969 Update project files to ensure currpinf.h and icuplug.h are copied into the right place.
X-SVN-Rev: 28673
2010-09-21 23:32:18 +00:00
Markus Scherer
b5e1330176 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
X-SVN-Rev: 28661
2010-09-21 00:12:49 +00:00
Peter Edberg
cbc567f055 ICU-7966 Fix Format::isLenient to be @draft ICU 4.6
X-SVN-Rev: 28659
2010-09-20 21:22:44 +00:00
John Emmons
cd3f6237f9 ICU-7652 Get correct week data from territory based locale
X-SVN-Rev: 28658
2010-09-20 21:22:31 +00:00
Michael Grady
751473d25a ICU-7813 64bit regex API, 7675: UText-based Regex to use native indexes, 7764: Improved UText-regex API error handling, 7855: UText regex group API returns shallow clone, 7851: Set region and start position, 7763: Inline regex progress callback function.
X-SVN-Rev: 28647
2010-09-18 03:07:17 +00:00
John Emmons
6d6d6fa198 ICU-7920 Fix duplicate entry in kTimeFields
X-SVN-Rev: 28564
2010-08-31 17:39:58 +00:00
John Emmons
090df3b5a4 ICU-7489 Optimize tz canonicalization for zones that are already canonical
X-SVN-Rev: 28535
2010-08-26 15:38:04 +00:00
Alexey Gousev
933e73b1d2 ICU-7066 merging trunk
X-SVN-Rev: 28531
2010-08-25 22:28:32 +00:00
Michael Ow
e7b5ff3734 ICU-7724 Explicitly cast enum value to avoid compilation error on Solaris.
X-SVN-Rev: 28508
2010-08-21 02:16:23 +00:00
Michael Ow
51495bea12 ICU-7899 Normalize the keyword value for currency to avoid case sensitivity issues.
X-SVN-Rev: 28498
2010-08-20 16:58:26 +00:00
John Emmons
1974269a6f ICU-7724 Merge support for non-contiguous numbering systems
X-SVN-Rev: 28466
2010-08-13 21:23:00 +00:00
Steven R. Loomis
dec09768b9 ICU-7870 Visual Studio 2010
X-SVN-Rev: 28442
2010-08-10 20:16:09 +00:00
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
John Emmons
6f17ff12b4 ICU-7817 Reinstate useLastResortData for dcfmtsyms
X-SVN-Rev: 28355
2010-07-22 22:04:38 +00:00
Claire Ho
3abfc06cca ICU-6858 Added a PluralFormat example to MesageFormat document.
X-SVN-Rev: 28346
2010-07-22 00:31:57 +00:00
Claire Ho
61bd8f7de2 ICU-7770 Added plural keywords to documents.
X-SVN-Rev: 28345
2010-07-22 00:29:25 +00:00
Andy Heninger
5bcaaa08dc ICU-7606 VTimeZone, add factory to create from BasicTimeZone.
X-SVN-Rev: 28311
2010-07-14 23:42:09 +00:00
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Andy Heninger
037e5ac508 ICU-7816 time zone infinite loop breaking
X-SVN-Rev: 28298
2010-07-12 17:24:09 +00:00
Jason Spieth
6f718f78eb ICU-7654 Merge branch into trunk.
X-SVN-Rev: 28282
2010-07-06 16:35:34 +00:00
John Emmons
f3fddb37d8 ICU-7751 Fix error handling in NumberingSystem::createInstance()
X-SVN-Rev: 28280
2010-07-01 21:41:48 +00:00
Steven R. Loomis
ef22b3356a ICU-7586 update draft/deprecated. update header test.
X-SVN-Rev: 28260
2010-06-23 03:13:59 +00:00
Steven R. Loomis
f79ae4ba96 ICU-7586 remove missing parameter from javadoc
X-SVN-Rev: 28258
2010-06-23 02:53:15 +00:00
Jason Spieth
918e30ee08 ICU-7524 Remove wrappers from trunk.
X-SVN-Rev: 28215
2010-06-17 18:19:40 +00:00
Andy Heninger
e8985e068a ICU-7740 Regex error handling cleanups
X-SVN-Rev: 28210
2010-06-16 17:54:04 +00:00
Michael Grady
3a2936677e ICU-7666 Regex find progress callback (from branch to trunk) - use U_DRAFT for new uregex API
X-SVN-Rev: 28205
2010-06-15 22:26:25 +00:00
Markus Scherer
0f2d14ab3a ICU-7586 fix namespace bugs
X-SVN-Rev: 28202
2010-06-15 21:19:16 +00:00
Michael Grady
8b6ce73317 ICU-7666 Regex find progress callback (from branch to trunk)
X-SVN-Rev: 28201
2010-06-15 20:19:10 +00:00
Jason Spieth
a65cc10ed2 ICU-7524 C wrapper for TimeZone C++ class. SPI implementation.
X-SVN-Rev: 28197
2010-06-15 17:01:29 +00:00
Markus Scherer
f59e726a30 ICU-7677 fixed UErrorCode inconsistency and clarified length/overflow handling
X-SVN-Rev: 28196
2010-06-15 16:24:45 +00:00
Umesh Nair
e7aba40a67 ICU-7015 Compact collation syntax (lists and ranges): svn merge -r 27731:28177 icu/branches/umesh/collation
X-SVN-Rev: 28188
2010-06-14 21:27:44 +00:00
Peter Edberg
1826002e52 ICU-7725 Hoist isLenient / setLenient to Format class (from DateFormat, RBNF)
X-SVN-Rev: 28170
2010-06-10 20:17:43 +00:00
Andy Heninger
9b68c719ad ICU-7216 Fix possible memory leak in error case.
X-SVN-Rev: 28168
2010-06-10 17:53:26 +00:00
John Emmons
bd2a89a232 ICU-7599 Add support for alternate symbols per numbering system
X-SVN-Rev: 28134
2010-06-04 18:29:02 +00:00
Michael Grady
fa477f8a22 ICU-7667 In DecimalFormat::_format, deal with cases where two forms of rounding are specified - number of digits _and_ a rounding increment
X-SVN-Rev: 28132
2010-06-04 05:42:19 +00:00
Peter Edberg
3249dbb71d ICU-7728 Time format using 'S' (fractional seconds) should truncate, not round.
X-SVN-Rev: 28130
2010-06-04 00:31:33 +00:00
Jason Spieth
c580be9189 ICU-7621 Change mapping of display name constants SHORT to 'V' and SHORT_COMMONLY_USED to 'z'. ICU4C changed to be consistent with ICU4J.
X-SVN-Rev: 28120
2010-06-01 16:10:14 +00:00
Markus Scherer
0acda636e4 ICU-7722 build canonical-iterator data from nfc.nrm (port Java code to C++)
X-SVN-Rev: 28117
2010-06-01 06:10:26 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Markus Scherer
1d8a683b96 ICU-7455 remove a misplaced U_I18N_API
X-SVN-Rev: 28080
2010-05-19 22:43:55 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Markus Scherer
50d9837e92 ICU-7493 clean up MaybeStackArray (revert r27723) and add MaybeStackHeaderAndArray
X-SVN-Rev: 28073
2010-05-18 21:53:21 +00:00
Markus Scherer
9b1bbaa705 ICU-7686 initialize FCD only when the collator needs it
X-SVN-Rev: 28062
2010-05-14 17:16:13 +00:00
Peter Edberg
d83f32e641 ICU-7550 udat_setSymbols should call verifyIsSimpleDateFormat to avoid crash with RelativeDateFormat
X-SVN-Rev: 28057
2010-05-13 03:35:54 +00:00
Peter Edberg
e2d45f564f ICU-7673 Fix to use #include "" for ICU includes, reorder as necessary
X-SVN-Rev: 28047
2010-05-11 06:08:15 +00:00
Michael Ow
43ab52b074 ICU-7650 Fix uconfig test errors in i18n library and test codes.
X-SVN-Rev: 28037
2010-05-07 07:28:47 +00:00
Michael Ow
7058d05758 ICU-7651 Fix incorrect size calculation of fSmallData in regex.
X-SVN-Rev: 27992
2010-04-28 02:32:00 +00:00
Peter Edberg
f3c6395224 ICU-7616 Enable non-Gregorian calendars for DateIntervalFormat
X-SVN-Rev: 27947
2010-04-17 08:24:01 +00:00
Jason Spieth
cfb6018a50 ICU-7357 Allow date format parsing to handle ISO format. Properly parse the era and allow negative years to derive the era.
X-SVN-Rev: 27904
2010-04-06 18:04:27 +00:00
Steven R. Loomis
3c32f28189 ICU-7586 update version number for milestone:4.5.1
X-SVN-Rev: 27892
2010-04-02 00:12:54 +00:00
Claire Ho
814e84d04f ICU-7217 Add a U_FAILURE check in NumberingSystem::createInstance()
X-SVN-Rev: 27887
2010-03-31 00:06:58 +00:00
Claire Ho
9f7990c11a ICU-7216 Add U_FAILURE check in unum_open()
X-SVN-Rev: 27884
2010-03-30 21:46:11 +00:00
Andy Heninger
92ba1e3fde ICU-7557 fix API docs describing rounding for Decimal Format
X-SVN-Rev: 27860
2010-03-17 22:36:12 +00:00
Michael Ow
2297d39ef2 ICU-6911 Ensure that memory is freed before setting to NULL.
X-SVN-Rev: 27835
2010-03-12 20:08:20 +00:00
Michael Ow
a2ba018519 ICU-6911 Add value deleter when copying hash table.
X-SVN-Rev: 27834
2010-03-12 16:28:01 +00:00
Peter Edberg
829d15c795 ICU-7538 Avoid negative array index when UTEXT_NEXT32 returns -1 (U_SENTINEL)
X-SVN-Rev: 27821
2010-03-11 19:54:36 +00:00
Andy Heninger
9b9c2901d8 ICU-7539 Fix Memory Leak in LocaleDisplayNames
X-SVN-Rev: 27820
2010-03-11 19:54:35 +00:00
Yoshito Umaoka
321ecd77a9 ICU-7513 Fixing generic partial location format problem exposed by the CLDR 1.8 data. Also updated the test code to emit error log including more information.
X-SVN-Rev: 27813
2010-03-10 23:38:25 +00:00
Steven R. Loomis
fb5c90be9f ICU-7529 bad return type in zstrfmt.cpp
X-SVN-Rev: 27812
2010-03-10 18:03:36 +00:00
Jason Spieth
79a1c517b9 ICU-4917 Remove code from trunk to be added to branch.
X-SVN-Rev: 27779
2010-03-04 21:15:43 +00:00
Jason Spieth
99fe830c00 ICU-4917 Improve ISO format handling of era and negative years
X-SVN-Rev: 27778
2010-03-04 16:55:29 +00:00
Peter Edberg
a86ac09d62 ICU-6707 Document the digit string limit for UCOL_NUMERIC_COLLATION
X-SVN-Rev: 27772
2010-03-03 23:40:19 +00:00
Michael Ow
708a96722c ICU-6911 Close unneeded resource bundle and remove old code.
X-SVN-Rev: 27769
2010-03-03 18:41:06 +00:00
Claire Ho
78c2548e2e ICU-6912 ucol_openRules accesses invalid memory.
X-SVN-Rev: 27766
2010-03-03 17:47:54 +00:00
Claire Ho
9861789c18 ICU-6912 ucol_openRules accesses invalid memory.
X-SVN-Rev: 27765
2010-03-03 17:37:43 +00:00
Steven R. Loomis
99998611d9 ICU-7482 z issues - cintltest passes!
X-SVN-Rev: 27754
2010-03-03 01:47:00 +00:00
Jason Spieth
828ca4ece7 ICU-6691 Use most recently set year field in handleGetExtendedYear
X-SVN-Rev: 27738
2010-03-02 16:23:13 +00:00
Peter Edberg
3ded6f3da5 ICU-7093 kill some warnings
X-SVN-Rev: 27722
2010-02-27 07:43:41 +00:00
Peter Edberg
0b3887b73a ICU-4521 kill more warnings
X-SVN-Rev: 27721
2010-02-27 07:43:07 +00:00
Peter Edberg
7eb5ef037e ICU-7446 Note that UREGEX_LITERAL is unimplemented, and return U_REGEX_UNIMPLEMENTED for it.
X-SVN-Rev: 27718
2010-02-27 03:40:56 +00:00
Peter Edberg
ad87082ae1 ICU-7093 (merge from branch) Implement asymmetric search, add tests, kill some other warnings
X-SVN-Rev: 27714
2010-02-27 01:01:45 +00:00
Markus Scherer
cef470f60d ICU-5624 namespace fix
X-SVN-Rev: 27713
2010-02-27 00:11:32 +00:00
Claire Ho
5395e4729a ICU-6912 ucol_openRules accesses invalid memory.
X-SVN-Rev: 27709
2010-02-26 22:22:53 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Andy Heninger
cae10acab5 ICU-8112 moved by srl, incorrectly filed under #7548: spoof api docs cleanup
X-SVN-Rev: 27695
2010-02-26 01:18:21 +00:00
Yoshito Umaoka
7852edbfef ICU-6444 Update mapTimezones table structure. This update was done by CLDR svn revision 4748.
X-SVN-Rev: 27683
2010-02-25 22:08:13 +00:00
Michael Ow
3bb1465e8d ICU-6911 Fix some memory leaks in cintltst and add value deleter in selfmt.
X-SVN-Rev: 27678
2010-02-25 19:19:53 +00:00
Peter Edberg
411a93712a ICU-4521 Merge from branch, fixes for 64bit alignment & type conversions
X-SVN-Rev: 27670
2010-02-25 06:33:29 +00:00
Markus Scherer
5cb38459a6 ICU-7273 remove #include unormimp.h where not used any more
X-SVN-Rev: 27667
2010-02-25 00:21:02 +00:00
John Emmons
078862d761 ICU-6887 Fix day-of-month calculations in Islamic calendar - add back to limits test
X-SVN-Rev: 27665
2010-02-25 00:03:49 +00:00
Doug Felt
b9fb4a7858 ICU-7452 add using Xxx:format statements to all Format subclasses that override format
X-SVN-Rev: 27662
2010-02-24 23:52:27 +00:00
Markus Scherer
1800062d38 ICU-7342 uldn_open(NULL) uses the default locale; and make LocaleDisplayNames extend UObject with RTTI
X-SVN-Rev: 27657
2010-02-24 22:29:08 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
Yoshito Umaoka
d79344d97d ICU-5624 64bit time zone transition support changes merged from Yoshito's work branch. Also updated time zone code to use region mapping data only from zoneinfo64 (so zoneFormatting data in supplementalData is no longer used).
X-SVN-Rev: 27644
2010-02-24 07:54:30 +00:00
Peter Edberg
3b410ee565 ICU-7180 Also don't adjust minute & second field length by default.
X-SVN-Rev: 27622
2010-02-22 00:58:52 +00:00
Steven R. Loomis
48323123a3 ICU-7425 update ICU DLL comments
X-SVN-Rev: 27589
2010-02-18 04:33:41 +00:00
Peter Edberg
c6780c2b10 ICU-6830 be case-sensitive in skeleton hash compares; add patterns for both H/h
X-SVN-Rev: 27586
2010-02-18 01:06:31 +00:00
Steven R. Loomis
55150bd679 ICU-6920 update version number to 4.4, and attempt to update windows files automatically
X-SVN-Rev: 27583
2010-02-17 22:18:24 +00:00
Markus Scherer
81234fecdb ICU-7273 add loading of custom data, with caching, test data and test code
X-SVN-Rev: 27578
2010-02-16 23:43:22 +00:00
Peter Edberg
d35f302566 ICU-6830 getDateTimeSkeleton() should not normalize 'H' to 'h'
X-SVN-Rev: 27566
2010-02-15 19:26:22 +00:00
Yoshito Umaoka
0ec6c28016 ICU-6444 Retire gCanonicalMap in ZoneMeta. Matching the implementation for getCanonicalSystemID / getCanonicalCountry with J trunk implementation. It shows 5-10% performance degrade in typical test cases. I'll revisit this if we need caches for them. Also, I'll update territory mapping to read the data from zoneinfo later.
X-SVN-Rev: 27556
2010-02-12 22:06:49 +00:00
Yoshito Umaoka
d8db690e28 ICU-6444 Modified the code not to depend on gUStringTable. Instead, use the data in resource directly.
X-SVN-Rev: 27554
2010-02-12 19:00:53 +00:00
Yoshito Umaoka
784704f4c7 ICU-6444 Removed pre-loaded mapping table between Olson ids and metazones. Metazone to Olson mapping to refer the resource bundle directly. Olson to Metazone to load only requested data from the resource bundle and cache it for next time.
X-SVN-Rev: 27551
2010-02-12 04:04:48 +00:00
Peter Edberg
a6c3b1905e ICU-4521 Fix dangling pointer if a UnicodeString passed to RegexPattern::compile
doesn't persist for the life of the RegexPattern; ensure RegexPattern == still works.

X-SVN-Rev: 27541
2010-02-11 06:57:20 +00:00
Steven R. Loomis
1457da183c ICU-7353 docs fixup and updated API Change Report
X-SVN-Rev: 27537
2010-02-11 00:53:57 +00:00
Peter Edberg
f308bffc8c ICU-4521 Disambiguate signatures for RegexPattern::matcher,RegexMatcher::group for 0 pointers; fix warnings
X-SVN-Rev: 27522
2010-02-09 20:17:52 +00:00
Umesh Nair
b11c49bcd5 ICU-7015 Implementing compact collation tailoring syntax by introducing a star-notation.
X-SVN-Rev: 27521
2010-02-09 19:59:06 +00:00
John Emmons
b932e68f4f ICU-4521 Fix ambiguous argument
X-SVN-Rev: 27510
2010-02-08 17:50:41 +00:00
Markus Scherer
7f34717f2e ICU-7273 minor C++ changes parallel with Java
X-SVN-Rev: 27494
2010-02-04 23:57:28 +00:00
Steven R. Loomis
4a9bc3f8ff ICU-7353 updated docs and report
X-SVN-Rev: 27488
2010-02-04 20:32:21 +00:00
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Yoshito Umaoka
547580cd15 ICU-6444 Updated timezone data resources corresponding to the latest change for cldrbug 1958 in CLDR. Added metaZones.txt/windowsZones.txt replacing metazoneInfo.txt/wintz.txt. Removed mapTimezones data from supplementalData.txt to match the change in CLDR (for now, manually editted, because I cannot use the trunk version of supplementalData.xml in CLDR at this moment).
X-SVN-Rev: 27471
2010-02-02 04:55:55 +00:00
John Emmons
91ab093cf3 ICU-7290 Changed inaccurate U_DRAFT markings to U_STABLE
X-SVN-Rev: 27469
2010-02-02 01:44:11 +00:00
Kirti Velankar
295cff6916 ICU-3931 code-review changes
X-SVN-Rev: 27467
2010-02-01 23:32:57 +00:00
Kirti Velankar
f8125a14a4 ICU-3931 Updates
X-SVN-Rev: 27457
2010-01-30 04:48:30 +00:00
Kirti Velankar
867c479b47 ICU-3931 Some more updates according to code-review comments
X-SVN-Rev: 27455
2010-01-30 03:46:13 +00:00
Kirti Velankar
df36aab82d ICU-3931 Removing commented code
X-SVN-Rev: 27454
2010-01-30 03:35:11 +00:00
Kirti Velankar
632f3ce80c ICU-3931 Code-review comments and removed default constructor -same as Java
X-SVN-Rev: 27452
2010-01-30 03:18:22 +00:00
Kirti Velankar
6924ba6c66 ICU-3931 Code-review comments and removed default constructor -same as Java
X-SVN-Rev: 27451
2010-01-30 02:48:20 +00:00
Kirti Velankar
ba83d297f8 ICU-3931 Cleaned up checkValidKeyword method
X-SVN-Rev: 27449
2010-01-30 00:11:31 +00:00
Steven R. Loomis
f517a0db14 ICU-7304 fix API promotions from bad checkins r27396 and r27397
X-SVN-Rev: 27436
2010-01-28 21:09:53 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Kirti Velankar
54910a7c91 ICU-3931 Changes in documentation
X-SVN-Rev: 27429
2010-01-28 01:23:47 +00:00
Jason Spieth
d0a37312c8 ICU-5979 Better documentation for array dimensions and limits.
X-SVN-Rev: 27418
2010-01-26 18:06:12 +00:00
Jason Spieth
9ccaaacb43 ICU-5979 More documentation for data returned by get/setZoneStrings functions.
X-SVN-Rev: 27417
2010-01-26 17:39:19 +00:00
Peter Edberg
f0c9ad0b41 ICU-7295 subparse hangs with fGroupingUsed TRUE but 0-length grouping separator
X-SVN-Rev: 27415
2010-01-26 08:51:23 +00:00
Peter Edberg
4c6887c581 ICU-7295 ucal_open crash if locale==NULL && caltype==UCAL_GREGORIAN
X-SVN-Rev: 27414
2010-01-26 07:21:21 +00:00
Michael Ow
cf116f9297 ICU-6444 Separate metazone timezone mappings and windows timezone from supplementalData and update affected source files.
X-SVN-Rev: 27411
2010-01-26 06:03:14 +00:00
Andy Heninger
d80b144c19 ICU-7369 Clean up uconfig test failures.
X-SVN-Rev: 27406
2010-01-26 00:55:35 +00:00
Peter Edberg
93ecb35cb6 ICU-2223 Port weekend APIs from ICU4J to C,C++ (real implementation)
X-SVN-Rev: 27403
2010-01-25 20:12:19 +00:00
Steven R. Loomis
b361793726 ICU-7304 draft 4.2 to stable 4.4 ( also cleaned up some ICU-7290 issues )
X-SVN-Rev: 27396
2010-01-23 06:36:03 +00:00
Steven R. Loomis
ca2c363edf ICU-5996 withdraw API (fixup for windows project file)
X-SVN-Rev: 27394
2010-01-23 04:13:24 +00:00
Steven R. Loomis
a0763011b5 ICU-5996 remove zrule, vzone, ztrans from API.
X-SVN-Rev: 27390
2010-01-23 02:08:06 +00:00
Steven R. Loomis
2ce92e1323 ICU-4735 removing unimplemented functions
X-SVN-Rev: 27389
2010-01-23 01:51:30 +00:00
Doug Felt
aeff93d2f5 ICU-7372 fix bug and add test
X-SVN-Rev: 27386
2010-01-22 22:44:29 +00:00
Steven R. Loomis
9639075dd6 ICU-4735 fix bad tag (really still stable)
X-SVN-Rev: 27381
2010-01-22 18:52:11 +00:00