Commit Graph

4476 Commits

Author SHA1 Message Date
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