Commit Graph

1468 Commits

Author SHA1 Message Date
Shane Carr
c0f2ca5177 ICU-13177 Renaming classes and moving things around. No or very few behavior changes.
X-SVN-Rev: 40364
2017-09-01 08:30:17 +00:00
Shane Carr
20e5b7b910 ICU-13177 Simplifying the Modifier interface by removing getPrefix() and getSuffix() and replacing it with getPrefixLength(), which exposes the same information.
X-SVN-Rev: 40358
2017-08-26 07:22:38 +00:00
Shane Carr
b60d81e668 ICU-13177 Moving around a lot of code for better C++ portability. The only behavior change is that -1 is stored instead of Integer.MAX_VALUE internally in most places.
X-SVN-Rev: 40357
2017-08-26 06:56:41 +00:00
Andy Heninger
bc77976528 ICU-13318 RBBITest, remove obsolete tests, move remaining test data to rbbitst.txt
X-SVN-Rev: 40356
2017-08-26 00:44:28 +00:00
Markus Scherer
2f87cf4c46 ICU-10524 normalization one-way mapping with trailing ccc>1 has no compose-boundary-after
X-SVN-Rev: 40355
2017-08-25 22:46:12 +00:00
Markus Scherer
3e9530c048 ICU-13332 CaseMapImpl.isFollowedByCasedLetter() must increment the string index while looping
X-SVN-Rev: 40353
2017-08-24 20:36:19 +00:00
Shane Carr
388288b819 ICU-13177 Removes old (ICU 59) number formatting middleware since it has been wholly replaced by the property mapper function. This change also removes the IProperties polymorphism and makes all remaining classes reference Properties directly.
X-SVN-Rev: 40352
2017-08-24 08:18:22 +00:00
Shane Carr
41d811b716 ICU-13177 Assorted cleanup and minor changes. Preparation for C++.
X-SVN-Rev: 40351
2017-08-24 06:03:12 +00:00
Shane Carr
8b625eda51 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40350
2017-08-24 05:56:16 +00:00
Markus Scherer
d362b18924 ICU-13307 Java Edits.mergedAndAppend(ab, bc); map indexes only from inside spans not empty deletions/insertions
X-SVN-Rev: 40348
2017-08-23 20:42:30 +00:00
Norbert Runge
0b3edb1c46 ICU-13253 Parameterizes data driven test.
X-SVN-Rev: 40346
2017-08-18 16:36:17 +00:00
Shane Carr
d9056b1f32 ICU-13285 Adding NumberingSystem constructor methods to DecimalFormatSymbols (J and C).
X-SVN-Rev: 40345
2017-08-17 23:49:00 +00:00
George Rhoten
221c076ac2 ICU-13293 RuleBasedNumberFormat should not throw an exception when mixing rounding and unreal numbers
X-SVN-Rev: 40344
2017-08-17 23:25:38 +00:00
Norbert Runge
408afcee77 ICU-13236 Removes translit dependency from coreCheck in build.xml, @Ignore-s a test in TestIDNA.java that needs the dependency.
X-SVN-Rev: 40342
2017-08-17 21:58:32 +00:00
Norbert Runge
c1c5e14cec ICU-13255 Changes a TODO comment to refer to a different ticket.
X-SVN-Rev: 40339
2017-08-17 17:52:01 +00:00
Andy Heninger
7f0d4110c8 ICU-13274 Break Iterator test additions.
X-SVN-Rev: 40335
2017-08-16 23:29:02 +00:00
Andy Heninger
f08eb087ba ICU-13274 Break Iterator test additions.
X-SVN-Rev: 40334
2017-08-16 23:19:21 +00:00
Fredrik Roubert
32f20ec9b4 ICU-13322 Skip the TestDataDrivenJDK test case when run in Android.
X-SVN-Rev: 40332
2017-08-16 17:42:39 +00:00
Markus Scherer
d37ec502c3 ICU-6591 fix auto-format indentation bugs, fix a javadoc warning
X-SVN-Rev: 40329
2017-08-11 23:47:39 +00:00
Markus Scherer
a919ea14e1 ICU-6591 make ccc=x work for all integers 0..255
X-SVN-Rev: 40328
2017-08-11 23:42:02 +00:00
Shane Carr
f5af411b7f ICU-13177 Adding new number formatting code to repository.
X-SVN-Rev: 40315
2017-08-05 01:02:35 +00:00
Shane Carr
8540468f28 ICU-13177 Changes to existing API for number formatting overhaul.
X-SVN-Rev: 40314
2017-08-05 00:28:16 +00:00
Shane Carr
ca30fb66ec ICU-13177 Pointing DecimalFormat.java and CompactDecimalFormat.java at the new API. All tests are passing.
X-SVN-Rev: 40313
2017-08-04 22:43:34 +00:00
Andy Heninger
e9fd2c3d86 ICU-13274 rbbi, port updated TestExtended to Java.
X-SVN-Rev: 40309
2017-08-03 20:31:06 +00:00
Norbert Runge
c5932970d6 ICU-13236 re-enable execution of monkey test in TestIDNA.java but keep test ignored because it is still failing.
X-SVN-Rev: 40306
2017-08-02 18:23:55 +00:00
Shane Carr
ea6b6a46b1 ICU-13289 Fixing engineering notation discrepancy with the LDML spec.
X-SVN-Rev: 40304
2017-08-01 18:12:59 +00:00
Andy Heninger
52513beddd ICU-13196 RBBI Monkey Test, port to Java. Sync a few changes back to ICU4C.
X-SVN-Rev: 40302
2017-08-01 01:03:09 +00:00
Andy Heninger
2b5557fce6 ICU-12519 Break Iterator assignment handles Locales.
X-SVN-Rev: 40301
2017-07-31 20:20:37 +00:00
Norbert Runge
5098dd9abf ICU-13254 Parameterizes data driven tests.
X-SVN-Rev: 40299
2017-07-31 17:08:25 +00:00
Shane Carr
6996d12710 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40289
2017-07-27 03:23:15 +00:00
Shane Carr
3f881632f4 ICU-13286 Fixing ICU4J numbering systems with supplemental-range code point digits.
X-SVN-Rev: 40288
2017-07-27 03:08:22 +00:00
Markus Scherer
9a3a03c417 ICU-13270 icu::Edits add numberOfChanges(); Edits::Iterator add findDestinationIndex(), destinationIndexFromSourceIndex(), sourceIndexFromDestinationIndex()
X-SVN-Rev: 40286
2017-07-24 22:43:53 +00:00
Markus Scherer
aa6d5e3e76 ICU-13271 add Normalizer2::isNormalizedUTF8()
X-SVN-Rev: 40280
2017-07-20 22:08:30 +00:00
Shane Carr
e3928d4fbf ICU-13177 Merging trunk to branch
X-SVN-Rev: 40273
2017-07-20 04:10:01 +00:00
Shane Carr
5e5a9a84c5 ICU-13177 Assorted internal data type changes. Should not change behavior.
X-SVN-Rev: 40272
2017-07-20 04:06:29 +00:00
Fredrik Roubert
ac2fb96a07 ICU-13283 Skip DecimalFormat_ICU58 test code when run in Android.
X-SVN-Rev: 40271
2017-07-20 00:28:09 +00:00
Norbert Runge
b6cd1cddeb ICU-13243 enables and re-arranges a test case disabled during JUnit migration.
X-SVN-Rev: 40269
2017-07-19 17:13:03 +00:00
Markus Scherer
e6748afd82 ICU-13197 improved normalization data structure and code; .nrm formatVersion 3; merged from branches/markus/normv3 except for cherry-picks from trunk to there
X-SVN-Rev: 40265
2017-07-14 22:38:40 +00:00
Shane Carr
e9755b9774 ICU-11903 Always propagate zero digit in DecimalFormatSymbols#setZeroDigit().
X-SVN-Rev: 40255
2017-07-12 10:17:57 +00:00
Shane Carr
fc823505ae ICU-12690 Adding convenience overloads for java.util.Currency.
X-SVN-Rev: 40253
2017-07-11 17:24:34 +00:00
Norbert Runge
ad48b2ffd8 ICU-13239 moves to its own file a currently disabled test and re-enable test.
X-SVN-Rev: 40215
2017-06-26 16:30:38 +00:00
Yoshito Umaoka
3debf85752 ICU-13159 BRS 60m1 Clean up import statements.
X-SVN-Rev: 40208
2017-06-26 04:01:46 +00:00
Yoshito Umaoka
d1e192dd1e ICU-13159 Fixed Java 6 compatibility issue in NumberFormatTest. Also fixed a test data loading problem in UTS46Test.
X-SVN-Rev: 40207
2017-06-26 03:54:19 +00:00
Shane Carr
0c193f20f5 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40200
2017-06-23 07:21:33 +00:00
Shane Carr
95e854506a ICU-13151 Removing obsolete assertion from PluralFormat.java
X-SVN-Rev: 40199
2017-06-23 06:51:04 +00:00
Peter Edberg
2cea868e02 ICU-13006 DateFormat.setNumberFormat should clone the NumberFormat and also call setGroupingUsed(false)
X-SVN-Rev: 40198
2017-06-23 06:26:30 +00:00
Peter Edberg
d515102c5a ICU-13215 DayPeriodRules.getInstance should ignore keywords to get correct data and not hang
X-SVN-Rev: 40196
2017-06-23 05:02:12 +00:00
Shane Carr
5f631570eb ICU-13177 Merging trunk to branch
X-SVN-Rev: 40195
2017-06-23 00:08:34 +00:00
Shane Carr
acd53b0c18 ICU-13129 Changing default Parse MathContext to 34 digits instead of 16 digits.
X-SVN-Rev: 40194
2017-06-22 23:26:48 +00:00
Norbert Runge
6f930cdeb0 ICU-13240 Fixes and re-enables a test which was disabled since JUnit migration.
X-SVN-Rev: 40192
2017-06-22 18:32:20 +00:00
Shane Carr
cf6c47d6b7 ICU-13149 Minor review feedback for #13149
X-SVN-Rev: 40187
2017-06-21 01:08:18 +00:00
Shane Carr
c25183efdd ICU-13231 Changing DecimalFormat min/max setters to use the most recent setting instead of always preferring the minimum for backwards compatibility.
X-SVN-Rev: 40186
2017-06-21 00:44:47 +00:00
Shane Carr
e9c5e5631b ICU-13228 Adding more symbols to localized notation mapper function, including support for multi-char symbols.
X-SVN-Rev: 40185
2017-06-21 00:38:25 +00:00
Shane Carr
0a19183f1b ICU-13230 Fixing DecimalFormat parser to ignore grouping separators when there is no grouping separator in the pattern OR when setGroupingUsed(false) is explicitly called.
X-SVN-Rev: 40181
2017-06-19 21:03:07 +00:00
Andy Heninger
6735aadcbc ICU-12982 add BreakIterator.setText(CharSequence) overload
X-SVN-Rev: 40179
2017-06-19 20:28:41 +00:00
Norbert Runge
29454f8167 ICU-13242 modifes collation test to work with an upper-case-first locale (da).
X-SVN-Rev: 40178
2017-06-19 20:13:51 +00:00
Shane Carr
64cb86e425 ICU-13229 Extending range for returning a Long from DecimalFormat#parse(), and changing API descriptions to be more informative when discussing return types.
X-SVN-Rev: 40175
2017-06-17 01:22:41 +00:00
Norbert Runge
229a0cb381 ICU-13241 removes obsolete test code that does not test anything from ICU.
X-SVN-Rev: 40173
2017-06-16 23:02:41 +00:00
Norbert Runge
56aba62a32 ICU-13245 moves code from tests to samples.
X-SVN-Rev: 40172
2017-06-16 22:10:50 +00:00
Norbert Runge
4f2edcbb8f ICU-12588 deletes obsolete test files as discussed in email conversation
X-SVN-Rev: 40171
2017-06-15 20:29:58 +00:00
Shane Carr
8b95db7157 ICU-13227 Throwing NullPointerException on string methods in DecimalFormat
X-SVN-Rev: 40170
2017-06-15 01:45:12 +00:00
Shane Carr
d177e8b645 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40168
2017-06-13 20:42:33 +00:00
Markus Scherer
cfef2fb339 ICU-9198 add titlecasing options: wholeString, sentences, adjustToCased
X-SVN-Rev: 40164
2017-06-09 23:04:03 +00:00
Norbert Runge
d1103a457b ICU-12588 completed six TODO tasks flagged during JUnit migration.
X-SVN-Rev: 40160
2017-06-08 18:45:18 +00:00
Markus Scherer
45da4f810d ICU-12985 final? Unicode 10 data from 20170605
X-SVN-Rev: 40153
2017-06-06 02:46:10 +00:00
Norbert Runge
3b080265e2 ICU-12586 Enables unit tests that were not included in the initial migration to JUnit.
X-SVN-Rev: 40151
2017-06-05 16:17:11 +00:00
Yoshito Umaoka
694142470e ICU-13159 Updating ICU version in trunk to 60.0.1 (60m1) - merging changes from my work branch.
X-SVN-Rev: 40145
2017-05-31 16:50:38 +00:00
Shane Carr
d0d0b173b4 ICU-13205 Prevent exception from being thrown when parsing numbers with very large exponents.
X-SVN-Rev: 40141
2017-05-26 23:59:13 +00:00
Peter Edberg
e2e48c9dce ICU-13183 for compatibility, get(Base)Skeleton should not include 'a' added by DateTimeMatcher; add tests
X-SVN-Rev: 40133
2017-05-24 06:57:45 +00:00
Jugu Dannie Sundar
6e8c655270 ICU-13080 missing parameter added
X-SVN-Rev: 40131
2017-05-23 22:13:55 +00:00
Markus Scherer
b2ead3e2e1 ICU-8130 UTS 46 conformance test using Unicode IdnaTest.txt
X-SVN-Rev: 40130
2017-05-23 04:44:58 +00:00
Peter Edberg
458a47f288 ICU-13183 on branch - Add more tests and sample data
X-SVN-Rev: 40127
2017-05-23 02:37:37 +00:00
Peter Edberg
56e884e22e ICU-13183 on branch - Handle different field lengths for skeleton metachars j,C
X-SVN-Rev: 40126
2017-05-22 22:24:39 +00:00
Peter Edberg
72c605c1c4 ICU-13183 on branch - add locale data with Bh skeletons
X-SVN-Rev: 40125
2017-05-22 16:37:07 +00:00
Peter Edberg
7dd19b65ab ICU-13183 on branch - Handle abB as normal fields but force add/remove depending on hour field; other fixes
X-SVN-Rev: 40124
2017-05-22 06:16:11 +00:00
Shane Carr
c705ad40b3 ICU-13073 Exposing PluralRules as a setter on the number format property bag.
X-SVN-Rev: 40122
2017-05-18 21:57:13 +00:00
Shane Carr
2bb31cb63f ICU-13177 Merging trunk to branch
X-SVN-Rev: 40120
2017-05-12 22:22:09 +00:00
Shane Carr
36c6e6c6a2 ICU-13073 Adding API for setting custom compact data, for CLDR Survey Tool.
X-SVN-Rev: 40117
2017-05-12 21:50:31 +00:00
Shane Carr
b9f7feaf26 ICU-12985 Bringing SpoofChecker documentation back in sync with unit test.
X-SVN-Rev: 40115
2017-05-06 02:39:49 +00:00
Markus Scherer
89c546d69f ICU-12635 fix ranges overrun in collation weight allocator
X-SVN-Rev: 40113
2017-05-05 19:36:48 +00:00
Markus Scherer
c741167e3e ICU-12985 Unicode 10 data from 20170503; new properties Emoji_Component, Regional_Indicator, Prepended_Concatenation_Mark; merged from ^/branches/markus/uni10@40107
X-SVN-Rev: 40109
2017-05-04 20:13:29 +00:00
Markus Scherer
c3e2991684 ICU-12985 nicer new spoof checker test strings
X-SVN-Rev: 40107
2017-05-03 23:50:36 +00:00
Markus Scherer
cb722b8bcd ICU-12985 Unicode 10 minor data update
X-SVN-Rev: 40104
2017-05-03 23:26:47 +00:00
Shane Carr
2f0ff0e601 ICU-13148 Adding known-issue test case for #13148
X-SVN-Rev: 40094
2017-05-02 00:09:16 +00:00
Shane Carr
b10a17be24 ICU-13162 Tweaking ignorables handling to round-trip new fa percent pattern.
X-SVN-Rev: 40093
2017-05-02 00:02:43 +00:00
Shane Carr
3a6c706388 ICU-13177 Moving "codePointZero" optimization from PositiveDecimalFormat.java to DecimalFormatSymbols.java.
X-SVN-Rev: 40091
2017-04-29 01:33:06 +00:00
Markus Scherer
eb57bf7c90 ICU-12985 implement the binary Prepended_Concatenation_Mark property
X-SVN-Rev: 40084
2017-04-27 21:11:01 +00:00
Markus Scherer
b0ad84012f ICU-12985 implement the binary Regional_Indicator property with a single hardcoded range
X-SVN-Rev: 40083
2017-04-27 18:29:07 +00:00
Markus Scherer
6ce7f348a3 ICU-12985 implement the binary Emoji_Component property for emoji 5
X-SVN-Rev: 40082
2017-04-26 23:58:36 +00:00
Markus Scherer
9e9bfda19c ICU-12985 undo ICU 59 mix-version test hacks; 0860..086F now defaults to AL
X-SVN-Rev: 40081
2017-04-26 22:10:48 +00:00
Markus Scherer
edce2be62c ICU-12985 Unicode 10 data 20170418, new property values, adjust tools & tests
X-SVN-Rev: 40079
2017-04-26 21:17:13 +00:00
Shane Carr
98c83c3a7d ICU-13162 Fixing test for #13088 to be independent of the locale data.
X-SVN-Rev: 40073
2017-04-22 05:42:39 +00:00
Fredrik Roubert
7c633a5a7a ICU-12984 Halve the execution time of ThreadTest#TestThreads.
Halve the default number of iterations, leaving the number of iterations
in exhaustive mode unchanged.

X-SVN-Rev: 40072
2017-04-21 13:39:40 +00:00
Shane Carr
66c49f8887 ICU-13115 Reject decimal format patterns that have a trailing ','
X-SVN-Rev: 40068
2017-04-19 23:42:18 +00:00
Shane Carr
1b0ce88028 ICU-13117 Ignore trailing semicolon in decimal format patterns.
X-SVN-Rev: 40067
2017-04-19 22:29:28 +00:00
Shane Carr
33b124a95d ICU-13156 Fixing ArithmeticException when formatting small numbers with CompactDecimalFormat.
X-SVN-Rev: 40066
2017-04-19 21:26:44 +00:00
Shane Carr
29490300c1 ICU-13149 Adding test cases for ICU 59 gray area bugs to numberformattestspecification.txt.
X-SVN-Rev: 40058
2017-04-15 08:09:15 +00:00
Shane Carr
8016edea2a ICU-13149 Updating numberformattestspecification.txt with ICU4C behaviors and bringing the two copies of the file into sync.
X-SVN-Rev: 40057
2017-04-15 06:30:05 +00:00
Shane Carr
f5b50d99e5 ICU-13113 Fixing unintentional test failure from r40027
X-SVN-Rev: 40028
2017-04-11 00:05:26 +00:00
Shane Carr
39184c68c2 ICU-13113 Changing decimal format exceptions to always contain the string "Malformed pattern" for better backwards and forwards compatibility.
X-SVN-Rev: 40027
2017-04-10 23:35:22 +00:00