Commit Graph

4490 Commits

Author SHA1 Message Date
Yoshito Umaoka
f7f73fe88d ICU-10544 Fixed some implementation problems in Calendar::add. When adding day or larger field results wall time falls into non-existing time slot created by DST transition, the implementation honors the current skipped wall time option.
X-SVN-Rev: 35231
2014-02-25 23:50:35 +00:00
Markus Scherer
e977c057a9 ICU-9101 merge branches/markus/collv2@35225 into the trunk
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Peter Edberg
9596efb7f4 ICU-10712 Integrate non-collation, non-BCP47 data from CLDR trunk@9766
X-SVN-Rev: 35208
2014-02-24 07:17:41 +00:00
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +00:00
Travis Keep
fcde5a4621 ICU-10547 Format -0.0 as a negative when using scientific notation.
X-SVN-Rev: 35196
2014-02-21 20:41:39 +00:00
Travis Keep
7fb4b7bcf6 ICU-10640 Fix various bugs around duration formatting e.g 3:45:23
X-SVN-Rev: 35186
2014-02-20 22:41:13 +00:00
Andy Heninger
c4f6c43b86 ICU-10706 Spoof Check, bug fix & test for Identifier Restriction Level; update spoof checker one time initialization.
X-SVN-Rev: 35175
2014-02-19 23:53:30 +00:00
Andy Heninger
5b67287476 ICU-10706 Fix Windows build problem with string literals.
X-SVN-Rev: 35168
2014-02-19 06:59:00 +00:00
Andy Heninger
8525e6bd47 ICU-10706 Spoof Check data update.
X-SVN-Rev: 35164
2014-02-19 01:07:32 +00:00
Travis Keep
b9c4a1ec76 ICU-10640 Improve documentation.
X-SVN-Rev: 35147
2014-02-16 07:36:36 +00:00
Travis Keep
fd530319e6 ICU-10640 In MeasureFormat, use adopted NumberFormat on last measure only; use integer numberformats on the rest.
X-SVN-Rev: 35146
2014-02-16 02:10:51 +00:00
Travis Keep
1d1172e466 ICU-10700 Document that relevant registerXXX() method must be called at application startup and unregister() methods must be called at application shutdown.
X-SVN-Rev: 35129
2014-02-12 23:37:47 +00:00
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