Commit Graph

27962 Commits

Author SHA1 Message Date
Markus Scherer
1be318d2f9 ICU-12042 ures_getUnicodeString() and variants return bogus strings when an error occurred
X-SVN-Rev: 38160
2016-01-09 00:58:15 +00:00
Andy Heninger
c8d863f1d4 ICU-11851 NumberFormat API doc cleanup.
X-SVN-Rev: 38159
2016-01-08 22:21:51 +00:00
Andy Heninger
09819eab73 ICU-11669 Thread safety of DateIntervalFormat::format()
X-SVN-Rev: 38157
2016-01-07 21:15:19 +00:00
Markus Scherer
0183cad1d7 ICU-12032 remove SimplePatternFormatter wrapper objects from MeasureFormat range formatting, too
X-SVN-Rev: 38156
2016-01-07 00:45:28 +00:00
Markus Scherer
9eb5fc1b11 ICU-12032 rewrite SimplePatternFormatter: quoting like MessageFormat, shorter, create fewer objects
X-SVN-Rev: 38155
2016-01-07 00:20:53 +00:00
Markus Scherer
a7119fa972 ICU-12032 SimplePatternFormatter allow values=null, some better API docs, some changes parallel with C++
X-SVN-Rev: 38154
2016-01-07 00:18:30 +00:00
Michael Ow
53a0a74221 ICU-11669 Fix invalid character in project file
X-SVN-Rev: 38153
2016-01-06 19:10:24 +00:00
Michael Ow
4154ab3516 ICU-11669 Add language extension to DateIntervalFormat test source code file
X-SVN-Rev: 38152
2016-01-06 19:07:41 +00:00
Andy Heninger
3e1bf369df ICU-11669 DateIntervalFormat::format() thread safety fixes.
X-SVN-Rev: 38151
2016-01-06 00:09:25 +00:00
Andy Heninger
ec1aaee041 ICU-12034 Fix MeasureUnit static initialization race.
X-SVN-Rev: 38150
2016-01-04 21:25:47 +00:00
Markus Scherer
e13ef30930 ICU-12032 rewrite SimplePatternFormatter: quoting like MessageFormat, shorter, create fewer objects; callers avoid wrapper objects
X-SVN-Rev: 38149
2016-01-02 01:12:37 +00:00
Michael Ow
a9395a0af8 ICU-12030 Update destructor to delete all patterns
X-SVN-Rev: 38148
2015-12-31 21:12:07 +00:00
Steven R. Loomis
5b0ff67dfa ICU-10684 fix int32 to uint32
X-SVN-Rev: 38144
2015-12-17 18:12:56 +00:00
Steven R. Loomis
6f25906b7f ICU-11865 Layout update
Upstream: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/efc8652da937

X-SVN-Rev: 38143
2015-12-17 01:43:38 +00:00
Steven R. Loomis
3ff0ac77ad ICU-10684 merge in Layout updates
Upstream: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9d29c19f1de1

X-SVN-Rev: 38142
2015-12-17 01:36:04 +00:00
Steven R. Loomis
32af290668 ICU-12020 merge in Layout updates
Upstream: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/dbb4e2bdfa9e

One missed patch in MorphTables.cpp (noted in ticket)

X-SVN-Rev: 38141
2015-12-17 01:29:24 +00:00
Markus Scherer
f6296491cc ICU-12041 check that per-unit patterns have one placeholder, fix patterns
X-SVN-Rev: 38140
2015-12-16 22:29:44 +00:00
Markus Scherer
b24d71cf90 ICU-12041 check that per-unit patterns have one placeholder, fix patterns
X-SVN-Rev: 38139
2015-12-16 22:29:21 +00:00
Mark Davis
1d5b1fbb6f ICU-4229 Check for that zzzz is treated as duplicate of "others"; only allow regular scripts + zzzz.
X-SVN-Rev: 38138
2015-12-16 09:26:36 +00:00
Markus Scherer
ddfb23cc4c ICU-12031 define StandardPlural::indexFromString(const UnicodeString &keyword, UErrorCode &errorCode)
X-SVN-Rev: 38137
2015-12-16 05:36:59 +00:00
Markus Scherer
758b66dbca ICU-12030 MeasureFormat handle by-plural-form sideways-aliasing, by not bundling plural forms into a QuantityFormatter, port from Java
X-SVN-Rev: 38136
2015-12-16 04:41:33 +00:00
Markus Scherer
cab8879780 ICU-12030 move some code to QuantityFormatter so that PluralRules does not depend on NumberFormat and to be more parallel with C++
X-SVN-Rev: 38135
2015-12-16 04:30:48 +00:00
Markus Scherer
8c6d77a375 ICU-12031 StandardPlural from UnicodeString
X-SVN-Rev: 38134
2015-12-16 04:21:28 +00:00
Andy Heninger
4f959e2bc7 ICU-11710 remove review note comment.
X-SVN-Rev: 38133
2015-12-15 21:23:37 +00:00
Mark Davis
c3d49f32fc ICU-4229 Check for duplicate reorder codes
X-SVN-Rev: 38132
2015-12-15 20:21:08 +00:00
Andy Heninger
0b2778f3bb ICU-11461 Remove unused setInteger functionality from DigitList
X-SVN-Rev: 38131
2015-12-15 19:37:36 +00:00
Markus Scherer
4c96f9a866 ICU-12031 port enum StandardPlural to C++
X-SVN-Rev: 38130
2015-12-14 21:57:41 +00:00
Mark Davis
565abe4808 ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38128
2015-12-14 16:14:40 +00:00
Andy Heninger
bb50b15953 ICU-11710 TimeUnitFormat, fix compile error in previous commit.
X-SVN-Rev: 38127
2015-12-14 05:10:38 +00:00
Andy Heninger
22dfe1dd38 ICU-11710 Use LocalPointer in TimeUnitFormat impl.
X-SVN-Rev: 38126
2015-12-14 04:41:52 +00:00
Mark Davis
bdfe1a68cf ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38125
2015-12-13 21:37:37 +00:00
Markus Scherer
fcd9bcbe71 ICU-12031 text.PluralRules.StandardPluralCategories -> impl.StandardPlural with new names for constants & methods
X-SVN-Rev: 38124
2015-12-11 22:27:18 +00:00
Markus Scherer
fa027da0f7 ICU-12030 MeasureFormat handle by-plural-form sideways-aliasing, by not bundling plural forms into a QuantityFormatter, reintegrate from ^/icu4j/branches/markus/sideways
X-SVN-Rev: 38122
2015-12-11 21:02:02 +00:00
Mark Davis
ad6035c5c2 ICU-4229 Initial cut at reading the CLDR from the resources, for use in validation. The main() has some quick check that will be separated into a test class.
X-SVN-Rev: 38118
2015-12-10 17:40:58 +00:00
Michael Ow
03392ddd85 ICU-12026 Add .size to gcc assembly code
X-SVN-Rev: 38117
2015-12-10 14:36:50 +00:00
Andy Heninger
18450a9957 ICU-12028 Compiler warning cleanup.
X-SVN-Rev: 38116
2015-12-09 02:11:07 +00:00
Michael Ow
ea597d89d1 ICU-11961 Fix delete statement
X-SVN-Rev: 38111
2015-12-08 05:13:49 +00:00
Andy Heninger
ad1bbbe97b ICU-12027 Improved thread safety of RuleBasedTransliterator.
X-SVN-Rev: 38110
2015-12-08 01:29:24 +00:00
Andy Heninger
f673fc0cf1 ICU-11961 tweak Windows project file for build breakage
X-SVN-Rev: 38109
2015-12-04 01:10:18 +00:00
Andy Heninger
d4e3d2c088 ICU-11961 Multi-thread slow tests TimeZoneFormatTest/TestTimeRoundTrip and CalendarLimitTest/TestLimits
X-SVN-Rev: 38108
2015-12-03 23:10:38 +00:00
Markus Scherer
5a7ff3049b ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set; add MeasureFormatTest::TestIndividualPluralFallback(); fix RelativeDateTimeFormatterTest::TestSerbianFallback() test data
X-SVN-Rev: 38103
2015-12-02 22:54:54 +00:00
Andy Heninger
8b03bbc037 ICU-12014 fix float-cast-overflow in rbnf.cpp
X-SVN-Rev: 38102
2015-12-02 22:31:56 +00:00
Markus Scherer
3d76dd93d2 ICU-11986 optimize UnitPatternSink a bit; add MeasureUnitTest.testIndividualPluralFallback()
X-SVN-Rev: 38101
2015-12-02 22:18:50 +00:00
Yoshito Umaoka
670241f8d6 ICU-12010 Fixed a typo @returns in the previous commit.
X-SVN-Rev: 38100
2015-12-01 05:36:12 +00:00
Yoshito Umaoka
7c43d7d3f5 ICU-12022 Updated the minimum JRE version to Java 6.
X-SVN-Rev: 38099
2015-12-01 05:29:28 +00:00
Markus Scherer
7ac5360664 ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set
X-SVN-Rev: 38098
2015-11-30 22:44:04 +00:00
Yoshito Umaoka
f387438e17 ICU-12010 Fixed some minor API doc issues.
X-SVN-Rev: 38097
2015-11-30 17:08:04 +00:00
Markus Scherer
6c1ba0d58e ICU-11986 slightly nicer QuantityFormatter.getPluralIndex(), avoid key.toString() for it
X-SVN-Rev: 38096
2015-11-20 17:36:23 +00:00
Markus Scherer
3f4f8032d1 ICU-11986 UResource.Value.getAliasString(), sink.leave(), MeasureFormat use resource enumeration, store one data reference not pieces of that data
X-SVN-Rev: 38095
2015-11-19 22:56:12 +00:00
Markus Scherer
724f7b5c10 ICU-11986 const ResourceValue references, sink.leave(), some more specific types in MeasureFormat code
X-SVN-Rev: 38094
2015-11-19 22:33:25 +00:00