Commit Graph

4628 Commits

Author SHA1 Message Date
Travis Keep
abbae79212 ICU-10640 Change MeasureFormat::adoptNumberFormat to adhere to ICU users' guide.
X-SVN-Rev: 35117
2014-02-10 22:55:18 +00:00
Travis Keep
8f7065db65 ICU-10640 Fix memory leak in adoptNumberFormat code.
X-SVN-Rev: 35116
2014-02-10 22:52:01 +00:00
Travis Keep
53ababf5a7 ICU-10461 Make NumberFormat::createInstance() and PluralRules::forLocale() 10X faster than before for most common types. Provide internal createSharedInstance() for NumberFormat and SharedFormat for internal use that is 2 orders of magnitude faster than before.
X-SVN-Rev: 35114
2014-02-10 19:13:50 +00:00
Peter Edberg
401daae867 ICU-10633 Implement context-sensitive number formatting (currently just for RBNF)
X-SVN-Rev: 35095
2014-02-06 09:41:17 +00:00
Peter Edberg
1eea3529b2 ICU-10676 Also update the unum_open documentation for available styles
X-SVN-Rev: 35094
2014-02-06 07:17:07 +00:00
Peter Edberg
67551b09e9 ICU-10676 unum_open should support UNUM_CURRENCY_ISO, UNUM_CURRENCY_PLURAL styles
X-SVN-Rev: 35093
2014-02-06 06:31:50 +00:00
Travis Keep
25c7ba8e57 ICU-10682 Fix clone, copy constructor, and assignment operator in RulesBasedNumberFormat.
X-SVN-Rev: 35085
2014-02-06 00:34:24 +00:00
Travis Keep
ab9706155a ICU-10640 Attempt to fix broken build.
X-SVN-Rev: 35073
2014-02-04 02:16:23 +00:00
Travis Keep
0a42d4959f ICU-10640 Add C++ MeasureFormat API.
X-SVN-Rev: 35069
2014-02-04 00:29:17 +00:00
Travis Keep
844d4e860b ICU-10646 Tempalte->SimplePatternFormatter. evaluate -> format
X-SVN-Rev: 35027
2014-01-29 22:57:06 +00:00
Travis Keep
1f93b4c481 ICU-10646 Attempt to fix broken build.
X-SVN-Rev: 35019
2014-01-29 05:52:11 +00:00
Travis Keep
d4ec281c99 ICU-10646 Introduce Template class and change ListFormatter to use it. Introduce QuantityFormatter class and change RelativeDateTimeFormatter to use it.
X-SVN-Rev: 35018
2014-01-29 05:08:55 +00:00
George Rhoten
4397b041e3 ICU-10622 Fix warnings and errors when DEBUG is accidentally defined.
X-SVN-Rev: 35007
2014-01-28 04:25:46 +00:00
Yoshito Umaoka
48c55b449e ICU-10653 Fixed a thread safety problem in SimpleDateFormat.
X-SVN-Rev: 34992
2014-01-27 14:53:26 +00:00
Michael Ow
4e806c800e ICU-10483 Fix no data test errors in ICU4C 53m1
X-SVN-Rev: 34979
2014-01-22 21:20:24 +00:00
Peter Edberg
1223df27e0 ICU-10483 Further #ifndef U_HIDE_XXX adjustments from running hdrtst
X-SVN-Rev: 34966
2014-01-22 07:27:50 +00:00
Peter Edberg
ebb200b1e4 ICU-10483 Update #ifndef U_HIDE_XXX guards for 53m1
X-SVN-Rev: 34965
2014-01-22 04:27:50 +00:00
Steven R. Loomis
0580e9e8ee ICU-10650 remove nbsp (!) that were preventing proper parsing of the @draft tag
X-SVN-Rev: 34949
2014-01-21 18:26:44 +00:00
Travis Keep
281cbf5106 ICU-8464 Implement more changes from Markus' code review.
X-SVN-Rev: 34929
2014-01-17 23:11:22 +00:00
Peter Edberg
2bf11e889d ICU-10628 Use (const DateFormat*)fmt in udat_getContext, (const NumberFormat*)fmt in unum_getContext
X-SVN-Rev: 34916
2014-01-16 22:46:04 +00:00
Travis Keep
f2738c9787 ICU-10468 andy's review comments.
X-SVN-Rev: 34914
2014-01-16 21:32:53 +00:00
Peter Edberg
93ac2bd3b5 ICU-10585 Review fixes: Improve arg check, then don't skip res.setTo for preflight case
X-SVN-Rev: 34906
2014-01-15 23:44:01 +00:00
Peter Edberg
541a0405a7 ICU-10628 udat_getContext should use const UDateFormat*
X-SVN-Rev: 34904
2014-01-15 20:55:04 +00:00
Peter Edberg
4c8984f5cb ICU-10574 initialize fCapitalizationContext in default constructor
X-SVN-Rev: 34897
2014-01-15 08:34:01 +00:00
Travis Keep
f56a9be8fd ICU-8464 Implement Andy's comments.
X-SVN-Rev: 34891
2014-01-14 22:39:13 +00:00
Scott Russell
c7677154e6 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34888
2014-01-14 17:26:35 +00:00
Peter Edberg
1865fa1670 ICU-10574 part 1, just API and setContext/getContext implementation
X-SVN-Rev: 34886
2014-01-14 07:31:30 +00:00
Peter Edberg
df7d845995 ICU-10585 Add utrans_toRules, utrans_getSourceSet
X-SVN-Rev: 34882
2014-01-13 07:27:02 +00:00
Peter Edberg
9cf4a2acd5 ICU-10591 Hoist setContext from SimpleDateFormat/RelativeDateFormat to DateFormat
X-SVN-Rev: 34881
2014-01-12 05:23:30 +00:00
Travis Keep
132ff6d742 ICU-8464 Add Suggested changes from Markus.
X-SVN-Rev: 34875
2014-01-11 00:30:39 +00:00
Markus Scherer
90b6b64024 ICU-10561 ZoneMeta methods must check for bogus input strings
X-SVN-Rev: 34873
2014-01-10 23:14:14 +00:00
Yoshito Umaoka
13c6750194 ICU-10583 Fixed a minor problem in illegal lead byte handling in the UTF-8 charset recognizer.
X-SVN-Rev: 34856
2014-01-10 16:10:57 +00:00
Andy Heninger
1996008111 ICU-10624 Swat clang compile warnings. More fixes to come.
X-SVN-Rev: 34854
2014-01-10 02:24:54 +00:00
Scott Russell
37e74533a6 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34792
2013-12-18 20:03:44 +00:00
Travis Keep
4cad0847c5 ICU-8464 Make formatting relative dates with quantity more efficient by preprocessing the pattern strings. Saves 650ns per format.
X-SVN-Rev: 34784
2013-12-17 21:02:16 +00:00
Andy Heninger
fab919477c ICU-10559 Fix C++ compilation errors with U_OVERRIDE_CXX_ALLOCATION=0
X-SVN-Rev: 34736
2013-12-10 23:03:48 +00:00
Michael Ow
1f1a501cd1 ICU-10557 Fix some zOS build errors caused by missing exports and pthread macros
X-SVN-Rev: 34733
2013-12-10 18:10:44 +00:00
Peter Edberg
e0b70a15da ICU-10553 RelativeDateFormat copy constructor was incomplete
X-SVN-Rev: 34731
2013-12-10 03:00:08 +00:00
Andy Heninger
e28793a4a6 ICU-10532 ICU Charset Detector, port UTF-16 enhancements from Java to C
X-SVN-Rev: 34730
2013-12-10 02:30:58 +00:00
Peter Edberg
9f29c3ed25 ICU-10553 Implement context-sensitive capitalization for relative dates (C), add en contextTransforms for test
X-SVN-Rev: 34718
2013-12-09 06:20:23 +00:00
Travis Keep
65ecb0b5fa ICU-8464 Change C++ code according to latest API proposal.
X-SVN-Rev: 34712
2013-12-04 22:50:25 +00:00
Travis Keep
ef0debb8be ICU-8464 UDAT_DIRECION_UNIT_COUNT -> UDAT_DIRECTION_COUNT
X-SVN-Rev: 34708
2013-12-04 20:46:08 +00:00
Michael Ow
830df7761e ICU-8464 Use UNICODE_STRING_SIMPLE instead of UnicodeString constructor
X-SVN-Rev: 34707
2013-12-03 23:27:49 +00:00
Michael Ow
c3fc274b0b ICU-10500 Add check for if formatting is disabled
X-SVN-Rev: 34703
2013-12-03 04:49:12 +00:00
Michael Ow
7aeeb93906 ICU-8464 Add check for if formatting is disabled
X-SVN-Rev: 34702
2013-12-03 04:48:00 +00:00
Michael Ow
de86afb9e9 ICU-10468 Add check for if format is disabled
X-SVN-Rev: 34701
2013-12-03 04:47:04 +00:00
Travis Keep
9c65c145ff ICU-8464 Remove dependency between LRUCache and mutex.
X-SVN-Rev: 34691
2013-11-22 23:08:24 +00:00
Travis Keep
32fd3380c0 ICU-8464 Attempt to fix windows broken build.
X-SVN-Rev: 34690
2013-11-22 21:53:59 +00:00
Travis Keep
089a6434ac ICU-8464 Add relative date formatting.
X-SVN-Rev: 34686
2013-11-22 18:26:22 +00:00
Steven R. Loomis
7456f5a382 ICU-10043 make an error not a crash when reading import rules fails.
X-SVN-Rev: 34622
2013-10-29 20:59:03 +00:00
Travis Keep
9fa0f4299d ICU-10468 Fix applyPattern so that it resets the padding character.
X-SVN-Rev: 34578
2013-10-17 18:44:44 +00:00
Andy Heninger
2914240e10 ICU-10463 Regular Expressions, remove overlooked function boilerplate from r34565 check-in; should fix failing Windows build.
X-SVN-Rev: 34569
2013-10-15 21:19:27 +00:00
Andy Heninger
10dd7ed47b ICU-10463 Regular Expressions, rework debug conditionals to fix build failures on clang, and to somewhat simplify.
X-SVN-Rev: 34565
2013-10-14 22:11:21 +00:00
Andy Heninger
045919648e ICU-10459 Fix segfault in uregex_group() when match is in invalid state.
X-SVN-Rev: 34559
2013-10-11 20:59:39 +00:00
Travis Keep
12e211c5a3 ICU-10219 Fix rounding in TimeUnitFormat.
X-SVN-Rev: 34550
2013-10-10 21:52:15 +00:00
Michael Ow
4566c7282c ICU-10483 Update ICU4C to 53.0.1
X-SVN-Rev: 34543
2013-10-10 18:17:16 +00:00
Yoshito Umaoka
0d678d3115 ICU-10313 Added Hebrew month value checking for leap year.
X-SVN-Rev: 34539
2013-10-10 17:35:28 +00:00
Steven R. Loomis
876caf41b7 ICU-10446 late ibmi fixes to fix regression in r34369
X-SVN-Rev: 34487
2013-09-26 03:56:33 +00:00
Steven R. Loomis
99fc90c94d ICU-10439 add comment about why volatile is here
X-SVN-Rev: 34476
2013-09-25 02:08:52 +00:00
Steven R. Loomis
006d7063b7 ICU-10439 add volatile as per StackOverflow:2219829 to work around what seems to be an optimizer bug in GCC -m32 (at least GCC 4.4.7 and 4.8.1) - revisit in ICU-10420 and ilk.
X-SVN-Rev: 34471
2013-09-25 00:31:46 +00:00
Peter Edberg
31a4739bac ICU-9627 Updated Date Field Symbol Table links in smpdtfmt.h, added them in udat.h
X-SVN-Rev: 34458
2013-09-23 18:23:05 +00:00
Peter Edberg
3f51cb7d8d ICU-10398 Update #ifndef U_HIDE_XXXXX_API (e.g. DRAFT) to match status tags (e.g. @draft)
X-SVN-Rev: 34448
2013-09-23 06:52:34 +00:00
Peter Edberg
a72dc953d8 ICU-10398 Add missing final EOL
X-SVN-Rev: 34447
2013-09-23 06:51:07 +00:00
Yoshito Umaoka
53499c0d65 ICU-8449 ICU4C Islamic Umm Al-Qura calendar updates based on Yoshito's review.
X-SVN-Rev: 34446
2013-09-23 05:30:39 +00:00
Steven R. Loomis
02d576bc82 ICU-7912 one last (?) review comment
X-SVN-Rev: 34436
2013-09-21 00:06:02 +00:00
Steven R. Loomis
58fd7c7583 ICU-7912 more review comments
X-SVN-Rev: 34428
2013-09-20 21:17:16 +00:00
Steven R. Loomis
4650ca64e3 ICU-7912 commit from review comments (thx)
X-SVN-Rev: 34416
2013-09-20 05:00:30 +00:00
Michael Ow
e5a9a38924 ICU-10398 Fix uconfig test errors in ICU 52
X-SVN-Rev: 34404
2013-09-19 20:47:22 +00:00
Scott Russell
8ac5d5b068 ICU-10261 review comment updates
X-SVN-Rev: 34400
2013-09-19 17:30:57 +00:00
Steven R. Loomis
37562f403e ICU-10394 api promo 50->52 as per PMC
X-SVN-Rev: 34396
2013-09-19 00:44:08 +00:00
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Peter Edberg
bb7e154629 ICU-10260 Port J LocaleDisplayNamesImpl change for (->[ to C; make similar changes in uloc_getDisplayName
X-SVN-Rev: 34369
2013-09-18 08:33:47 +00:00
Andy Heninger
cd3860a322 ICU-10361 Add missing icu namespace on previouos NumberFormat changes.
X-SVN-Rev: 34368
2013-09-17 23:43:28 +00:00
Andy Heninger
25bab8fa6f ICU-10361 DecimalFormat, remove number size restrictions that were limiting the ability to format big decimals.
X-SVN-Rev: 34366
2013-09-17 21:56:23 +00:00
Yoshito Umaoka
271e788d65 ICU-9396 Accept NULL pointer with length of 0 in ucol_strcoll and ucol_strcollUTF8. Also added some test case verifying the behavior.
X-SVN-Rev: 34363
2013-09-17 21:08:10 +00:00
Steven R. Loomis
6144e1bad2 ICU-10273 work around Windows test failure by disabling optimization of getFixedDecimal.
X-SVN-Rev: 34362
2013-09-17 20:42:14 +00:00
Markus Scherer
82e54bce50 ICU-10273 fix compiler warning
X-SVN-Rev: 34360
2013-09-17 19:53:09 +00:00
Markus Scherer
27e00900c8 ICU-9932 deprecate & disable cloning-into-user-buffer, except keep ucnv_safeClone() intact
X-SVN-Rev: 34359
2013-09-17 19:48:50 +00:00
Scott Russell
c42e57a06c ICU-10249 Implement new islamic calendar variants tbla, rgsa
X-SVN-Rev: 34354
2013-09-17 16:55:02 +00:00
Yoshito Umaoka
920dadff8d ICU-10012 Disable EBCDIC Arabic/Hebrew detectors by default. Added APIs to enable/disable each charset and get currently active charsets.
X-SVN-Rev: 34350
2013-09-17 06:57:53 +00:00
Scott Russell
41d2876025 ICU-10261 give DateFormat more granular leniency control
X-SVN-Rev: 34327
2013-09-16 12:45:41 +00:00
Markus Scherer
76b93683b4 ICU-10338 test & fix ucol_setReorderCodes({default})
X-SVN-Rev: 34319
2013-09-13 21:21:11 +00:00
Markus Scherer
3c1cc35984 ICU-10251 make CollationElementIterator protected methods private
X-SVN-Rev: 34315
2013-09-13 19:35:54 +00:00
Markus Scherer
b20a9793f9 ICU-10282 deprecate bad API RuleBasedCollator::cloneRuleData(), call cloneBinary()
X-SVN-Rev: 34314
2013-09-13 19:25:01 +00:00
Andy Heninger
b6529f6c53 ICU-10273 fix Windows test failure in FixedDecimal.
X-SVN-Rev: 34308
2013-09-13 17:08:58 +00:00
Steven R. Loomis
0c1b6a8ffd ICU-10397 move singleton init out of static functions (perf)
X-SVN-Rev: 34304
2013-09-13 16:21:56 +00:00
Steven R. Loomis
9518f3f302 ICU-10273 IBM i fixes
X-SVN-Rev: 34299
2013-09-13 05:16:54 +00:00
Markus Scherer
9ef3145fbc ICU-9915 do not mask off the continuation bits and then later test this masked CE value for isContinuation()
X-SVN-Rev: 34298
2013-09-13 03:07:39 +00:00
Peter Edberg
1f21a220d9 ICU-10378 (C) Delete comma at end of enumerator list
X-SVN-Rev: 34293
2013-09-12 23:48:02 +00:00
Peter Edberg
ce1c10fd51 ICU-10378 (C) Support skeleton meta-character 'J' in DateTimePatternGenerator
X-SVN-Rev: 34292
2013-09-12 22:49:07 +00:00
Markus Scherer
308b16079b ICU-7392 DecimalFormatSymbols::createWithLastResortData(UErrorCode), and clean up the real initialize() for supplementary digits and memory management
X-SVN-Rev: 34288
2013-09-12 20:33:29 +00:00
Andy Heninger
ed9d094e61 ICU-10273 PluralRules FixedDecimal, avoid undefined cast from NaN to int64_t
X-SVN-Rev: 34287
2013-09-12 20:07:53 +00:00
Steven R. Loomis
bbc0a17a8e ICU-10379 fixes for IBM i - ambiguous types
X-SVN-Rev: 34285
2013-09-12 06:29:39 +00:00
Peter Edberg
30feb0c56b ICU-10039 Per API review: Add consts, add unumsys_getDescription(), improve documentation
X-SVN-Rev: 34283
2013-09-12 04:33:03 +00:00
Steven R. Loomis
e059ab24ef ICU-10273 fix compilation failure on some platforms, also reorder zero-initializers to avoid warning
X-SVN-Rev: 34282
2013-09-12 04:04:56 +00:00
Andy Heninger
8abaebe06e ICU-10273 DecimalFormat::getFixedDecimal(), improved handling of rounding, overflow.
X-SVN-Rev: 34280
2013-09-12 01:00:04 +00:00
Markus Scherer
fb38bbbee8 ICU-10273 support plurals with decimals in MessageFormat and PluralFormat (ported from Java r34087 & r34276)
X-SVN-Rev: 34277
2013-09-11 23:32:37 +00:00
Peter Edberg
790af7c8dd ICU-10375 Add \file and \brief to udisplaycontext.h headers so it works in apiref/icu4c/files.html
X-SVN-Rev: 34275
2013-09-11 21:38:11 +00:00
Steven R. Loomis
31cdcb89e0 ICU-10379 fixes for IBM i - mostly clarifying ambiguous casts.
X-SVN-Rev: 34274
2013-09-11 19:38:07 +00:00
Peter Edberg
5a1e66e343 ICU-10039 Add basic C wrapper for NumberingSystem (numsys.h), version 1
X-SVN-Rev: 34268
2013-09-11 05:07:00 +00:00
Andy Heninger
90522bf7b1 ICU-10273 add DecimalFormat::getFixedDecimal(Formattable &)
X-SVN-Rev: 34267
2013-09-11 01:17:28 +00:00
Peter Edberg
33c679b135 ICU-10065 Delete redundant LOW_K row in dtTypes[]
X-SVN-Rev: 34262
2013-09-10 21:29:14 +00:00
Peter Edberg
ebea161b11 ICU-10065 In DateTimePatternGenerator, add support for pattern chars K,O,X,x, adjust support for V
X-SVN-Rev: 34256
2013-09-10 07:51:38 +00:00
Markus Scherer
8f38199123 ICU-10365 fix namespace issue: icu::UInitOnce
X-SVN-Rev: 34252
2013-09-10 00:34:12 +00:00
Steven R. Loomis
86c481026c ICU-10373 fix -DU_USING_ICU_NAMESPACE=0 issues
X-SVN-Rev: 34251
2013-09-10 00:13:41 +00:00
John Emmons
a869b0d483 ICU-10335 Merge completed CLDR24 branch into trunk.
X-SVN-Rev: 34238
2013-09-07 20:46:42 +00:00
Andy Heninger
4d9fad13ef ICU-10273 Plural Rules Fixed Decimal, improve handling of NaN and Infinity
X-SVN-Rev: 34225
2013-09-06 20:02:42 +00:00
Steven R. Loomis
00ea16b361 ICU-7912 one more update to fix untagged items..
X-SVN-Rev: 34216
2013-09-06 05:04:54 +00:00
Andy Heninger
7b3b75a525 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34204
2013-09-05 23:28:28 +00:00
Peter Edberg
bcfcd53be9 ICU-10161 trimMarksFromAffix must trim all marks; update "ar" number patterns to latest
X-SVN-Rev: 34203
2013-09-05 22:13:07 +00:00
Steven R. Loomis
e5fac0714c ICU-10345 make formatting of a Formattable currency thread safe.. by cloning. makes unum_formatDoubleCurrency also slow.
X-SVN-Rev: 34200
2013-09-05 05:32:56 +00:00
Peter Edberg
8997c77684 ICU-10161 Now compareSimpleAffix ignores LRM/RLM/ALM in affix or text when comparing them;
and pre-integrate some CLDR 24 number symbol & pattern changes so tests will match the new data.

X-SVN-Rev: 34186
2013-09-04 10:46:03 +00:00
Andy Heninger
003c35c1d9 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34176
2013-09-04 01:07:35 +00:00
Steven R. Loomis
bc0dcf4cb0 ICU-9619 add const to getters
X-SVN-Rev: 34173
2013-09-04 00:01:26 +00:00
Steven R. Loomis
2786b25dff ICU-10270 fix // comments in udat.h
X-SVN-Rev: 34168
2013-09-03 17:44:01 +00:00
Steven R. Loomis
454a0ec782 ICU-9741 trivial fix to header, u_strcoll -> ucol_strcoll
X-SVN-Rev: 34159
2013-08-30 23:46:37 +00:00
Andy Heninger
759b77c2b0 ICU-9980 DecimalFormat::parseCurrency() - init output currencty parameter.
X-SVN-Rev: 34156
2013-08-30 22:16:21 +00:00
Andy Heninger
45561757cc ICU-10182 Build Time mutexes, merge from development branch.
X-SVN-Rev: 34139
2013-08-30 01:23:42 +00:00
Travis Keep
7f3d307ef8 ICU-10274 Rollback TimePeriod additions, but leave in changes to listformatter for Mark's more generic units API.
X-SVN-Rev: 34135
2013-08-29 23:45:48 +00:00
Andy Heninger
62cb5a9ca6 ICU-10273 Plural Rules, remove unimplemented getFunctionalEquivalent().
X-SVN-Rev: 34126
2013-08-29 18:07:13 +00:00
John Emmons
3f712e7635 ICU-10339 Fix build error on Cygwin/gcc (INT64_MAX) instead of (U_INT64_MAX)
X-SVN-Rev: 34122
2013-08-29 17:13:06 +00:00
Andy Heninger
6ddf597269 ICU-10273 fix bug in plural rules parser, caused failure of CompactDecimalFormatTest
X-SVN-Rev: 34111
2013-08-29 00:50:50 +00:00
Andy Heninger
3b26d31728 ICU-10273 fix for Solaris build error in plural rules (hopefully).
X-SVN-Rev: 34109
2013-08-28 23:50:29 +00:00
Andy Heninger
4dc67e0203 ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Jungshik Shin
6382e77631 ICU-10318 add buffer length check to UTF-16/32 detector
X-SVN-Rev: 34076
2013-08-21 23:09:10 +00:00
Yoshito Umaoka
b0eaf25682 ICU-9526 Fixed a parsing problem with custom monetary gouping separator. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34069
2013-08-20 20:51:31 +00:00
Michael Ow
10ae93e130 ICU-10243 Free resource bundle before opening another one
X-SVN-Rev: 34068
2013-08-20 20:19:58 +00:00
Peter Edberg
9163c9d8be ICU-10243 C, ulocdata_getMeasurementSystem/getPaperSize should get data from supplementalData
X-SVN-Rev: 34065
2013-08-19 22:29:26 +00:00
Scott Russell
e715efb8e8 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34053
2013-08-16 17:09:51 +00:00
Travis Keep
60501becc4 ICU-10258 Free minus sign and plus sign set in a clean up function.
X-SVN-Rev: 34045
2013-08-15 21:02:16 +00:00
Travis Keep
310f2f2a22 ICU-10304 Fix MessageFormat::setArgStartFormat() so that it returns immediately after freeing adopted pointer on error.
X-SVN-Rev: 34044
2013-08-15 00:08:34 +00:00
Michael Ow
27d3e9435b ICU-10274 Close resource bundle after use
X-SVN-Rev: 34042
2013-08-14 20:17:38 +00:00
Andy Heninger
0061d3a9b7 ICU-10184 umutex.h, change to C++ only, in preparation for build time user mutex support.
X-SVN-Rev: 34029
2013-08-09 19:53:07 +00:00
Yoshito Umaoka
bea4641b0d ICU-10281 Fixed a VTIMEZONE writer problem that may produce overlapping rules.
X-SVN-Rev: 34026
2013-08-09 16:32:44 +00:00
Travis Keep
41b7ee189d ICU-10258 Parse different variations of '+' and '-' when isLenient is set in C++.
X-SVN-Rev: 33989
2013-07-25 17:58:37 +00:00
Travis Keep
ecd7ea193b ICU-10274 Add compound duration formatting for C++
X-SVN-Rev: 33986
2013-07-25 16:36:25 +00:00
Andy Heninger
7b95d141d3 ICU-10253 Fix #include of math.h
X-SVN-Rev: 33974
2013-07-24 18:09:39 +00:00
Andy Heninger
aebaa076af ICU-10253 Fix memory leak in plural rules.
X-SVN-Rev: 33972
2013-07-24 16:42:56 +00:00
Andy Heninger
a4761909ac ICU-10253 Fix windows build problems with new plural rule code.
X-SVN-Rev: 33968
2013-07-23 21:27:07 +00:00
Andy Heninger
61a59e26a1 ICU-10253 Currency plurals, pay attention to min fraction digits in format.
X-SVN-Rev: 33966
2013-07-23 20:02:13 +00:00
Andy Heninger
425ae2d65f ICU-10253 Add missing export to class NumberInfo, fixes build failure on MacOSX
X-SVN-Rev: 33965
2013-07-23 18:35:34 +00:00
Andy Heninger
f4e36c9c98 ICU-10253 Plural Rule, support for new syntax for fractional rules. Merge from development branch.
X-SVN-Rev: 33958
2013-07-22 23:57:17 +00:00
Bing Long
b58875e894 ICU-10254 Added dtitvfmtsample.cpp, dtptngsample.cpp, and plurfmtsample.cpp. Update all/all.sln, dtitvfmt.h,dtptngen.h and plurfmt.h to embed the sample into the ICU4C API docs.
X-SVN-Rev: 33953
2013-07-22 16:31:11 +00:00
Travis Keep
3cb132047d ICU-10222 TimeUnitFormat to look under units/duration for time units instead of just units.
X-SVN-Rev: 33917
2013-07-11 22:19:13 +00:00
Peter Edberg
f4fd91b94f ICU-10244 (C) ulocdata_getLocaleSeparator now returns piece between {0} and {1} in new localeSeparator pattern
X-SVN-Rev: 33906
2013-07-11 07:00:49 +00:00
Steven R. Loomis
85157b3fc4 ICU-7912 final update to apidocs. Also removed references to non-existent kDecimalNumber (from fmtable.h), and cleaned up other docs
X-SVN-Rev: 33905
2013-07-11 00:31:41 +00:00
Steven R. Loomis
06dcb5d4a6 ICU-7912 add parse/format functions, other UFormattable API improvements
X-SVN-Rev: 33894
2013-07-09 00:47:46 +00:00
Peter Edberg
09ac4ef907 ICU-10222 (C) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33890
2013-07-08 06:51:38 +00:00
Peter Edberg
76d880b44f ICU-10244 (C) Handle localeDisplayPattern/separator as pattern
X-SVN-Rev: 33889
2013-07-08 06:34:53 +00:00
Michael Ow
49c581ea96 ICU-10148 Fix UnicodeString usage
X-SVN-Rev: 33873
2013-07-01 20:28:08 +00:00
Andy Heninger
ada557d17c ICU-9936 Improved API descriptions for DecimalFormat set min/max significant digits.
X-SVN-Rev: 33869
2013-06-28 21:12:31 +00:00
Michael Ow
29997d81dd ICU-10203 Fix resource bundle memory leak
X-SVN-Rev: 33867
2013-06-28 19:57:20 +00:00
Steven R. Loomis
2fa49ba635 ICU-7912 add unum_parse and unum_format taking UFormattable (@internal, API proposal to follow)
X-SVN-Rev: 33862
2013-06-27 19:49:55 +00:00
Peter Edberg
b862a59d5e ICU-10195 Fix CLDR_FIELD_NAME[] array so getting localized name for UDATPG_DAY_FIELD works
X-SVN-Rev: 33859
2013-06-27 07:41:56 +00:00
Andy Heninger
72cddee528 ICU-10088 Fix incorrect API doc for uregex_setStackLimit().
X-SVN-Rev: 33854
2013-06-26 18:34:15 +00:00
Steven R. Loomis
ae061ff78f ICU-7912 C wrapper for Formattable - UFormattable
X-SVN-Rev: 33849
2013-06-26 06:31:09 +00:00
Andy Heninger
20016a58db ICU-9719 Regular Expressions, add loop breaking to unbounded {min, max} loops.
X-SVN-Rev: 33848
2013-06-26 00:27:11 +00:00
Steven R. Loomis
2c6bc98b14 ICU-10069 improve error messages, add commented-out case that passes on solaris and fails on others
X-SVN-Rev: 33838
2013-06-20 22:09:42 +00:00
Andy Heninger
b129b40280 ICU-10024 fixes for Regexp, look-behind pattern fails to compile bug.
X-SVN-Rev: 33835
2013-06-18 20:38:08 +00:00
Andy Heninger
5ea9cb88a5 ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
X-SVN-Rev: 33833
2013-06-17 18:49:28 +00:00
Travis Keep
6993ad2646 ICU-10069 Attempt to fix broken build by doing int->int32_t.
X-SVN-Rev: 33827
2013-06-13 20:21:29 +00:00
Travis Keep
6676337f3e ICU-10069 Take into account compatible currency symbols, e.g half-width and full width yen symbol when parsing currencies in C++. Currency equivalence relation is hard-coded for now.
X-SVN-Rev: 33825
2013-06-13 18:38:53 +00:00
Yoshito Umaoka
02296cc327 ICU-10172 Minor wording adjustments in DecimalFormat set/getRoundingIncrement API docs.
X-SVN-Rev: 33823
2013-06-13 15:02:34 +00:00
Yoshito Umaoka
434a94ec4d ICU-10209 Fixed odd TimeType problem with ZONE_ID, ZONE_ID_SHORT and EXEMPLAR_LOCATION in TimeZoneFormat#format. Also added generic TimeZoneFormat test cases.
X-SVN-Rev: 33819
2013-06-12 20:56:06 +00:00
Yoshito Umaoka
f2dfaa18e8 ICU-10203 Fixed memory leaks in getIDForWindowsID.
X-SVN-Rev: 33818
2013-06-12 15:15:06 +00:00
Ramy Said
ae77a4f9ed ICU-9928 Charset Detector, IBM420_ar oddities
X-SVN-Rev: 33817
2013-06-11 12:39:56 +00:00
Andy Heninger
978f71fe78 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Travis Keep
21ed20e983 ICU-10045 Fix again so that zero shows as 0 not 0.0
X-SVN-Rev: 33751
2013-05-24 22:45:48 +00:00
Peter Edberg
ec6a2c8696 ICU-10186 Need special numeric era format/parse for dangi too (C)
X-SVN-Rev: 33734
2013-05-23 01:28:21 +00:00
Yoshito Umaoka
7e0d7fa479 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33726
2013-05-22 20:33:30 +00:00
Steven R. Loomis
8db5ace8b2 ICU-9904 add enumset to filter, hopefully it will fix the binary build issue
X-SVN-Rev: 33720
2013-05-22 04:28:12 +00:00
Markus Scherer
2982958b06 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33661)
X-SVN-Rev: 33662
2013-05-15 21:51:04 +00:00
Yoshito Umaoka
4956f3779b ICU-10154 Optimized time zone historical offset iteration.
X-SVN-Rev: 33633
2013-05-10 16:42:39 +00:00
Michael Ow
4b966aacc4 ICU-10083 Update version number to 52.0.1 and update timebombs
X-SVN-Rev: 33604
2013-05-07 19:53:34 +00:00
Yoshito Umaoka
1551c65468 ICU-10098 Fixed LCID to posix-style locale ID mapping problem. The fix required to change the internal LCID mapping function interface, and resolved a threading issue in uloc_getLocaleForLCID() and some other internal implementation problems in Win32DateFormat/Win32NumberFormat.
X-SVN-Rev: 33586
2013-05-03 21:36:03 +00:00
Peter Edberg
a8a20d2b84 ICU-10070 uregion_isEqualTo -> uregion_areEqual, implement using pointer compare
X-SVN-Rev: 33578
2013-05-02 22:04:50 +00:00
Peter Edberg
79b8f74642 ICU-9984 For DTPG, Y in skeleton should produce Y in pattern
X-SVN-Rev: 33562
2013-04-29 22:10:29 +00:00
Yoshito Umaoka
1400bf549b ICU-9104 Some minor updates in the CollationElementIterator API doc, including setOffset()/setText() are OK between next()/previous() in addition to reset(). Removing class name prefix in the updated section to improve the readability (doxygen still produces links without class prefix).
X-SVN-Rev: 33551
2013-04-25 21:10:43 +00:00
Yoshito Umaoka
a73a199d84 ICU-10106 Removed the reference to fallbackRegionFormat that is no longer used.
X-SVN-Rev: 33529
2013-04-15 19:41:05 +00:00
Peter Edberg
947bd7d1b6 ICU-10070 Add plain C wrappers for Region class
X-SVN-Rev: 33520
2013-04-12 23:00:51 +00:00
Travis Keep
41bb29f532 ICU-10045 Fix number of significant digits with 0.
X-SVN-Rev: 33487
2013-04-03 20:11:01 +00:00
Travis Keep
6125cf2eff ICU-10045 Formatting with significant digits to work correctly with 0 in C++
X-SVN-Rev: 33485
2013-04-02 22:01:33 +00:00
Peter Edberg
8f37e438a6 ICU-10061 Make getDayOfWeekType behave as documented for last weekend day; fix for 1-day weekends
X-SVN-Rev: 33468
2013-03-27 22:44:22 +00:00
Peter Edberg
3c32983978 ICU-10062 Fix header documentation for getDayOfWeekType, getWeekendTransition
X-SVN-Rev: 33467
2013-03-27 22:43:03 +00:00
Andy Heninger
3b379f4c28 ICU-7468 Use C++ "using" in Format class hierarchy, so inheritance of format() and parse() functions works normally, without unwanted function hiding.
X-SVN-Rev: 33457
2013-03-21 22:09:06 +00:00
Travis Keep
600e3d4a59 ICU-10042 Fix documentation for unum_formatXXX()
X-SVN-Rev: 33455
2013-03-21 18:48:00 +00:00
Travis Keep
7e89728836 ICU-9914 ICU4C DateIntervalFormat to handle 2 year vs. 4 year formats.
X-SVN-Rev: 33453
2013-03-21 17:25:43 +00:00
Andy Heninger
ae4350661b ICU-10048 Fix some compiler warnings in ICU4C.
X-SVN-Rev: 33444
2013-03-21 01:42:01 +00:00
Steven R. Loomis
a7758d2cd5 ICU-10030 fix crasher when no subregions, also err check, and modernize test infrastructure
X-SVN-Rev: 33401
2013-03-08 19:23:41 +00:00
Peter Edberg
fbace77746 ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Peter Edberg
bc29c28e46 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (C)
X-SVN-Rev: 33360
2013-03-04 11:10:20 +00:00
Markus Scherer
374c8e1ef3 ICU-9988 remove poor mans RTTI from new class hierarchy, remove undocumented UNDEFINED_NUMERIC_CODE, fix destructor definition, not intended for public subclassing
X-SVN-Rev: 33348
2013-02-27 23:56:23 +00:00
Markus Scherer
d511789345 ICU-9880 do not define a virtual destructor inline
X-SVN-Rev: 33342
2013-02-27 19:50:08 +00:00
Andy Heninger
6a16eb759a ICU-9981 Initialize memory that was causing erratic results.
X-SVN-Rev: 33329
2013-02-25 23:56:37 +00:00
Michael Ow
e31422e17e ICU-9721 Fix errors found and fixed by icu-svnprops-check.py in ICU4C
X-SVN-Rev: 33326
2013-02-25 23:23:33 +00:00
Michael Ow
d637feebce ICU-9979 Fix some memory clean up errors
X-SVN-Rev: 33320
2013-02-25 19:09:10 +00:00
Michael Ow
57ab6f389a ICU-9801 Fix long string literal in UNICODE_STRING_SIMPLE call
X-SVN-Rev: 33314
2013-02-24 01:06:01 +00:00
Michael Ow
56a80addb8 ICU-9801 Fix some incorrect usage of UnicodeString constructor
X-SVN-Rev: 33312
2013-02-23 16:58:30 +00:00
Michael Ow
d0ef650ea4 ICU-9721 Fix some uconfig test failures
X-SVN-Rev: 33311
2013-02-23 16:40:06 +00:00
Michael Ow
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +00:00