Commit Graph

29470 Commits

Author SHA1 Message Date
Shane Carr
baaf9fea40 ICU-13513 Tweaks to currency matchers, including unit test changes.
X-SVN-Rev: 40802
2018-01-24 10:21:22 +00:00
Shane Carr
49d920d098 ICU-13513 Re-working separator logic to be most highly compatible with previous ICU.
X-SVN-Rev: 40801
2018-01-24 08:59:27 +00:00
Shane Carr
a6a18243b1 ICU-13513 Assorted fixes to AffixPatternMatcher and other classes. Found and fixed exponential loop in non-greedy parser.
X-SVN-Rev: 40797
2018-01-24 02:32:03 +00:00
Shane Carr
77b084f6fa ICU-13513 Adding proper flexible parsing to AffixMatcher. Adding back the tests for this behavior. Tweaking the logic for strict grouping; it still does not entirely work.
X-SVN-Rev: 40791
2018-01-20 11:06:59 +00:00
Shane Carr
b28712d52f ICU-13513 Generalizing UnicodeSetStaticCache to cover more locales.
X-SVN-Rev: 40786
2018-01-19 05:03:44 +00:00
Shane Carr
d0a75c667b ICU-13513 Integrating some of Andy's feedback. Moving code unit vs. code point logic out of the matchers and into the main loop. Moving case folding logic from run-time in StringSegment to build-time. Refactoring to replace booleans with flags at build-time. Further optimizing lead-code-point creation time by adding more fallbacks to the static cache.
X-SVN-Rev: 40784
2018-01-18 10:50:36 +00:00
Shane Carr
a0ed703c5e ICU-13513 Minor formatting changes.
X-SVN-Rev: 40782
2018-01-18 01:02:20 +00:00
Shane Carr
052408f943 ICU-13513 Finishing merge; fixing merge conflicts in DecimalQuantity_AbstractBCD.java.
X-SVN-Rev: 40752
2017-12-23 03:26:59 +00:00
Shane Carr
bdb19075f8 ICU-13513 Merging trunk to branch (includes the big reformatting commit).
X-SVN-Rev: 40751
2017-12-23 03:13:03 +00:00
Shane Carr
fcc198868e ICU-13524 Reformatting ICU4J number files with 4 spaces.
X-SVN-Rev: 40750
2017-12-23 01:20:31 +00:00
Shane Carr
56574d1042 ICU-13524 Reformatting ICU4J number files with 4 spaces.
X-SVN-Rev: 40749
2017-12-23 01:07:53 +00:00
Shane Carr
85d3cf4f2f ICU-13516 Defining behavior when an invalid code point is passed to foldCase.
X-SVN-Rev: 40748
2017-12-22 23:44:35 +00:00
Shane Carr
4d10bf03f5 ICU-13520 Adds compound unit support to NumberFormatter.
X-SVN-Rev: 40747
2017-12-22 00:02:01 +00:00
Shane Carr
73569e99bd ICU-13443 Making MAX_INT_FRAC_SIG checking consistent between inclusive and exclusive ranges. (Changing all comparisons to be inclusive.)
X-SVN-Rev: 40746
2017-12-20 01:41:08 +00:00
Shane Carr
e98b2e4c4a ICU-13513 Wrapping new number parsing code into DecimalFormat and marking known issues in the test suite.
X-SVN-Rev: 40745
2017-12-20 01:26:50 +00:00
Markus Scherer
76a9c82e1e ICU-13461 remove register keyword from C++ code
X-SVN-Rev: 40744
2017-12-18 23:17:26 +00:00
Andy Heninger
fbaef1f3b6 ICU-13512 Fix problem with break iterator cloning.
X-SVN-Rev: 40743
2017-12-18 01:32:19 +00:00
Shane Carr
4a8b840e8f ICU-13513 Improving parser creation time via better static initialization. Finishing locale-sensitive symbols. Other refactoring.
X-SVN-Rev: 40742
2017-12-16 10:04:40 +00:00
Shane Carr
a85f1ba61d ICU-13513 Adding plumbing for "lead chars" smoke test. ~24% performance improvement on parsing (866ns to 656ns).
X-SVN-Rev: 40741
2017-12-16 06:50:35 +00:00
Shane Carr
76cba637ea ICU-13513 The data-driven test is green :)
X-SVN-Rev: 40740
2017-12-16 04:13:43 +00:00
Shane Carr
d63528f437 ICU-13513 More work on affix matchers. Refactoring code for grouping and decimal separators.
X-SVN-Rev: 40739
2017-12-16 02:54:58 +00:00
Shane Carr
788fdfb086 ICU-13513 Re-thinking affix matchers a bit. Affix matchers are to contain only regular characters, not symbols, and let the symbol matchers take care of all the symbols.
X-SVN-Rev: 40738
2017-12-15 00:13:12 +00:00
Markus Scherer
be3f0fdaaa ICU-13461 add switch break to avoid unannotated fall-through
X-SVN-Rev: 40737
2017-12-14 22:03:41 +00:00
Markus Scherer
27f8d70bcd ICU-13503 declare variable-length array at end of struct with length 1 to disable bounds checkers
X-SVN-Rev: 40736
2017-12-14 21:25:46 +00:00
Shane Carr
8a232528c1 ICU-13513 Continuing down the data-driven test file. Mainly currency improvements.
X-SVN-Rev: 40735
2017-12-14 10:24:35 +00:00
Shane Carr
68340c8464 ICU-13513 Down to line 916 in the data-driven test file.
X-SVN-Rev: 40734
2017-12-14 07:04:41 +00:00
Shane Carr
3bbf68ff4e ICU-13461 Adding break statement to silence Clang -Wimplicit-fallthrough warning
X-SVN-Rev: 40733
2017-12-14 01:01:19 +00:00
Shane Carr
5c054df085 ICU-13495 Optimizing chooseMultiplierAndApply method implementation.
X-SVN-Rev: 40732
2017-12-14 00:47:43 +00:00
Shane Carr
a0de8d89c5 ICU-13513 Starting to tie in with existing code. Working through the data-driven test file first.
X-SVN-Rev: 40726
2017-12-13 10:04:56 +00:00
Shane Carr
47d7ebe968 ICU-13513 Initial modular framework for number parsing.
X-SVN-Rev: 40725
2017-12-13 05:03:28 +00:00
Andy Heninger
6d9ed3698b ICU-13457 Adjust Calendar buffer overrun fix for compatibility with AIX compiler, and with older versions of gcc. Also incorporate Jungshik's review comment.
X-SVN-Rev: 40723
2017-12-12 21:49:51 +00:00
Markus Scherer
90b7a6e4e8 ICU-13510 test & fix UTF-8->UTF-8 conversion overflow for supplementary characters
X-SVN-Rev: 40715
2017-12-08 21:47:21 +00:00
Markus Scherer
c1a8c3a771 ICU-13510 test & fix UTF-8->UTF-8 conversion overflow
X-SVN-Rev: 40714
2017-12-08 20:46:04 +00:00
Markus Scherer
d636fabe79 ICU-13506 fix U_ICU_VERSION_SHORT docs for ICU 4.8- vs 49+
X-SVN-Rev: 40707
2017-12-06 22:37:29 +00:00
Markus Scherer
9ba5fe8c77 ICU-13460 set U_USING_ICU_NAMESPACE to 0 by default
X-SVN-Rev: 40705
2017-12-06 18:20:48 +00:00
Fredrik Roubert
64e5a7ecc2 ICU-13505 XLocaleDistanceTest.testTiming() should be @Ignore
X-SVN-Rev: 40703
2017-12-06 14:54:22 +00:00
Fredrik Roubert
9ef908e366 ICU-13504 LanguageTestFmwk.setUp() should be private
X-SVN-Rev: 40702
2017-12-06 14:54:09 +00:00
Andy Heninger
d4206fa2e5 ICU-13447 Document RBBI: getRuleStatus() behavior when going past the end of the input text.
X-SVN-Rev: 40700
2017-12-05 22:56:31 +00:00
Markus Scherer
cf4cb10c3d ICU-13462 fix Script_Extensions for 5 characters: data generator needs to revert them from block scx to sc (merged from maint-60 r40667)
X-SVN-Rev: 40699
2017-12-05 20:53:14 +00:00
Markus Scherer
56fd8a74c5 ICU-13467 U8_NEXT() handles all in macro, no function call
X-SVN-Rev: 40698
2017-12-05 19:19:34 +00:00
Andy Heninger
9a542da329 ICU-13388 remove unused code in break iterator tests.
X-SVN-Rev: 40697
2017-12-05 18:45:53 +00:00
Peter Edberg
6d58ccae2a ICU-13474 Integrate cldr/tags/release-32-0-1.beta1 into ICU, update tests
X-SVN-Rev: 40685
2017-12-02 00:02:56 +00:00
Shane Carr
ceca3c430c ICU-13492 Fixing currency fraction length fallbacks in the DecimalFormat-to-NumberFormatter mapping function.
X-SVN-Rev: 40684
2017-12-01 23:03:52 +00:00
Shane Carr
c67d9d0a4a ICU-13496 Adds missing NumberFormatter test to ICU4C
X-SVN-Rev: 40682
2017-12-01 07:57:05 +00:00
Shane Carr
10ff53a889 ICU-13461 Fixing signed/unsigned operation that was causing runtime warnings in Clang.
X-SVN-Rev: 40681
2017-12-01 07:46:22 +00:00
Peter Edberg
c61c9609a3 ICU-13478 Fix J SimpleDateFormat handling of pattern fields b,bb
X-SVN-Rev: 40680
2017-12-01 00:21:53 +00:00
Andy Heninger
2ec1aa972e ICU-12711 Default U_USING_ICU_NAMESPACE to 0 when building ICU library code.
X-SVN-Rev: 40679
2017-11-30 23:19:14 +00:00
Andy Heninger
963b29f56f ICU-13395 Remove uprv_checkValidMemory(). Was incompatible with memory and thread sanitizers.
X-SVN-Rev: 40678
2017-11-30 21:58:56 +00:00
Shane Carr
3a1ee31d76 ICU-13442 Fixing checks for whether or not grouping is enabled. A grouping size of zero means that grouping is disabled.
X-SVN-Rev: 40677
2017-11-29 23:44:28 +00:00
Andy Heninger
254e5f9580 ICU-13420 svn properties check tool fix, and prop update of files match autoprops settings.
X-SVN-Rev: 40674
2017-11-29 19:32:58 +00:00