Commit Graph

2089 Commits

Author SHA1 Message Date
Andy Heninger
ed5b77c406 ICU-13194 RBBI safe tables, Java port, work in progress.
X-SVN-Rev: 41170
2018-03-29 16:09:26 +00:00
Shane Carr
1b4670fd29 ICU-13634 Merging trunk to branch
X-SVN-Rev: 41162
2018-03-28 01:08:47 +00:00
Shane Carr
a8f2471248 ICU-8610 Adding tests for number skeletons in C++. Adding error code handling to the setToDecNumber setter on DecimalQuantity. Refactoring char-to-uchar conversion in skeleton implementation code.
X-SVN-Rev: 41152
2018-03-24 05:46:28 +00:00
Shane Carr
7da9e75441 ICU-8610 C++ number skeleton code is building. Testing is next.
X-SVN-Rev: 41144
2018-03-23 10:07:38 +00:00
Shane Carr
52c665a2bd ICU-8610 More general progress in C++; generation code is largely implemented. Probably not building yet.
X-SVN-Rev: 41143
2018-03-23 07:51:52 +00:00
Shane Carr
d8f2d8ce6e ICU-8610 Dirty commit of C++ work so far. Probably does not build.
X-SVN-Rev: 41142
2018-03-23 06:46:19 +00:00
Shane Carr
c725920cff ICU-8610 Refactoring and renaming entities in Java implementation. Adding lots of comments. Should be ready to start C++ port.
X-SVN-Rev: 41141
2018-03-23 04:40:01 +00:00
Shane Carr
fa6c8972ea ICU-8610 Removing last bit of old hash map data structure from number skeleton code.
X-SVN-Rev: 41140
2018-03-23 03:44:18 +00:00
Shane Carr
1c034cea33 ICU-8610 Refactoring stem switch statement to use helper methods.
X-SVN-Rev: 41139
2018-03-23 01:54:25 +00:00
Shane Carr
929b26360d ICU-8610 Changing parsing state variable from "CharSequence content" to "StringSegment segment" for easier portability. In C++, the segment will be marked const in the arguments.
X-SVN-Rev: 41138
2018-03-23 01:14:56 +00:00
Shane Carr
b4ad6242b3 ICU-8610 Changing to CharsTrie implementation for stem lookup for better portability to C++.
X-SVN-Rev: 41137
2018-03-23 00:58:31 +00:00
Shane Carr
0b6e991bb0 ICU-13634 C and J, removing the obsolete "optimize" parameter for NumberParserImpl.
X-SVN-Rev: 41132
2018-03-21 06:33:37 +00:00
Shane Carr
01916cad11 ICU-13634 Changes NumberParseMatcher getLeadCodePoints() to smokeTest() in C++ and Java. The new method is more versatile and eliminates the requirement to maintain two code paths for "lead chars" and "no lead chars".
X-SVN-Rev: 41131
2018-03-21 06:30:29 +00:00
Shane Carr
369f3484d8 ICU-13644 Minor refactoring changes in ICU4J.
X-SVN-Rev: 41129
2018-03-21 01:37:18 +00:00
Shane Carr
2edb4ec82a ICU-13634 Formatting section of data-driven test file is passing.
X-SVN-Rev: 41120
2018-03-17 07:23:08 +00:00
Shane Carr
1a95c170d2 ICU-13634 Number property mapper is building. Currently there is a linker error.
X-SVN-Rev: 41107
2018-03-15 07:46:56 +00:00
Shane Carr
f5d2257d34 ICU-13634 Implementing localized pattern converter and other pieces.
X-SVN-Rev: 41104
2018-03-14 10:41:27 +00:00
Shane Carr
73fddf50d0 ICU-13634 Filling in decimfmt.cpp with implementation ported from Java.
X-SVN-Rev: 41103
2018-03-14 09:15:27 +00:00
Shane Carr
8a50c335fa ICU-13634 Adding new field structure to DecimalFormat and wiring up constructors.
X-SVN-Rev: 41099
2018-03-13 09:25:41 +00:00
Shane Carr
24431ce7a9 ICU-13402 Tweaking NumberFormatter pointers and adding additional pointers on the factory methods in ICU4C and ICU4J.
X-SVN-Rev: 41096
2018-03-13 02:14:29 +00:00
Markus Scherer
af6a771267 ICU-13630 implement, test, use emoji property Extended_Pictographic
X-SVN-Rev: 41094
2018-03-12 05:53:02 +00:00
Markus Scherer
b3aec18a3c ICU-13630 ucase.icu formatVersion 4: more compressible exceptions, and more room for future exceptions growth
X-SVN-Rev: 41093
2018-03-12 00:15:40 +00:00
Markus Scherer
1752b5c8c9 ICU-13630 Unicode 11 beta data mar06, API constants for new property values
X-SVN-Rev: 41092
2018-03-09 23:53:02 +00:00
Shane Carr
3487cc4331 ICU-13634 Adding docstring to CompactData.java
X-SVN-Rev: 41085
2018-03-08 07:15:29 +00:00
Shane Carr
4a5c8afa5b ICU-13461 Removing obsolete comment in StringSegment.java
X-SVN-Rev: 41081
2018-03-07 22:28:36 +00:00
Yoshito Umaoka
88475c3f8d ICU-13581 Syncnronize ICU_DATA_VERSION with ICU_VERSION
X-SVN-Rev: 41078
2018-03-07 19:30:29 +00:00
Yoshito Umaoka
809eb86151 ICU-13581 Added 61 api signature file, purged very old api signature files. Fixed an issue DeprecatedAPIChecker. Fixed API doc problem in RBBIDataWrapper.
X-SVN-Rev: 41071
2018-03-06 20:10:09 +00:00
Andy Heninger
7e1e4e0e34 ICU-13598 fix byte order bug in RBBI data wrapper.
X-SVN-Rev: 41068
2018-03-05 19:43:03 +00:00
Shane Carr
a33db79f8d ICU-13574 Merging trunk to branch
X-SVN-Rev: 41061
2018-03-03 07:22:22 +00:00
Shane Carr
6b8d9a56ed ICU-13620 Adding comment.
X-SVN-Rev: 41057
2018-03-03 05:35:31 +00:00
Shane Carr
d3aecc8bf4 ICU-13620 Fix typo.
X-SVN-Rev: 41056
2018-03-03 05:28:05 +00:00
Shane Carr
afa9ac8b77 ICU-13620 Making MeasureUnit.getAvailable(type) return a Collection-based instead of Set-based data structure for better performance.
X-SVN-Rev: 41055
2018-03-03 05:25:58 +00:00
Shane Carr
c2fa8cacad ICU-8610 Adding more tests; normalized skeleton implementation; minor tweaks.
X-SVN-Rev: 41054
2018-03-03 02:54:24 +00:00
Shane Carr
c5e86f87c8 ICU-8610 Full support for skeletons in ICU4J. Needs a few more tests.
X-SVN-Rev: 41038
2018-03-01 09:24:37 +00:00
Shane Carr
33709da06a ICU-13606 Fixing race condition in MeasureFormat.
X-SVN-Rev: 41025
2018-03-01 00:58:47 +00:00
Andy Heninger
c589ea8b5d ICU-13447 RBBI: getRuleStatus() behavior, incorporate review comments, clarifying comments and API description.
X-SVN-Rev: 41024
2018-03-01 00:38:41 +00:00
Markus Scherer
da3bd4cfd9 ICU-9097 minor API docs fixes
X-SVN-Rev: 41021
2018-02-28 23:46:22 +00:00
Yoshito Umaoka
dd01d5543f ICU-13581 Fixed Java compiler warnings on Eclipse.
X-SVN-Rev: 41020
2018-02-28 23:12:21 +00:00
Yoshito Umaoka
a8d1327a16 ICU-13607 Fixed other ICU4J API doc problems affecting API change report.
X-SVN-Rev: 41019
2018-02-28 22:47:11 +00:00
Yoshito Umaoka
44e30d7bb9 ICU-13607 ICU4J draft API promotion for 61.1.
X-SVN-Rev: 41017
2018-02-28 20:52:10 +00:00
Shane Carr
59e4fc5172 ICU-8610 Adds skeleton support for measure units.
X-SVN-Rev: 41014
2018-02-28 09:29:33 +00:00
Shane Carr
abb8788d23 ICU-8610 Adds basic support for number skeletons. Includes skeleton support for rounding strategy.
X-SVN-Rev: 41013
2018-02-28 08:06:42 +00:00
Shane Carr
f133914b97 ICU-13574 Fixing build errors after merge.
X-SVN-Rev: 41007
2018-02-28 05:52:41 +00:00
Shane Carr
19270f5476 ICU-13574 Deleting file that should have been deleted by merge
X-SVN-Rev: 41005
2018-02-28 05:48:40 +00:00
Shane Carr
1254850bf9 ICU-13574 Merging trunk to branch
X-SVN-Rev: 41004
2018-02-28 05:44:52 +00:00
Shane Carr
f616fca69b ICU-13613 Move Java StringSegment to com.ibm.icu.impl.
X-SVN-Rev: 41003
2018-02-28 05:42:11 +00:00
Shane Carr
9ae7e8eba1 ICU-13084 Updating set of ignorable control characters to [:DI:].
X-SVN-Rev: 41002
2018-02-28 03:42:32 +00:00
Shane Carr
e18dd19a9e ICU-13402 Adding pointer to NumberFormatter from classes that it replaces.
X-SVN-Rev: 41000
2018-02-28 02:56:52 +00:00
Shane Carr
9759fc597f ICU-13574 Merging trunk to branch
X-SVN-Rev: 40993
2018-02-27 07:32:38 +00:00
Markus Scherer
fdbe2f371b ICU-13547 limit nesting depth of UnicodeSet pattern
X-SVN-Rev: 40979
2018-02-23 21:39:23 +00:00
Shane Carr
4e360e68d2 ICU-13607 Adding @internal to Currency.java getParsingTrie
X-SVN-Rev: 40976
2018-02-22 08:22:47 +00:00
Yoshito Umaoka
364124dae5 ICU-13607 Draft API promotion for ICU4J 61. Also added a new build target draftAPIsTSV for generating a list of draft APIs in TSV format.
X-SVN-Rev: 40975
2018-02-22 06:47:34 +00:00
Andy Heninger
8640bee541 ICU-10688 Remove redundant break type logic from BreakIterators. Merge to trunk.
X-SVN-Rev: 40967
2018-02-21 23:10:10 +00:00
Yoshito Umaoka
44b2617d44 ICU-13548 Fixed a calendar calculation problem with setting week-of-year and year.
X-SVN-Rev: 40966
2018-02-21 21:09:33 +00:00
Jeff Genovy
ae84e3265a ICU-13581 Update ICU4J version number and data files. (Plus fix dead link in readme file).
X-SVN-Rev: 40956
2018-02-21 01:25:57 +00:00
Yoshito Umaoka
15b2113603 ICU-13566 Support negative daylight savings in SimpleTimeZone.
X-SVN-Rev: 40954
2018-02-20 22:38:21 +00:00
Andy Heninger
f6fbd54e92 ICU-13549 CjkBreakEngine::divideUpDictionaryRange, problems with supplemental character handling.
X-SVN-Rev: 40949
2018-02-18 22:44:18 +00:00
Andy Heninger
a0c64552ab ICU-13569 Add clarifying comment to some RBBI state table handling code.
X-SVN-Rev: 40948
2018-02-17 22:29:07 +00:00
Jeff Genovy
dc62cffa45 ICU-13581 Revert r40946 for now. Need to also update the Java data files, but unclear how.
X-SVN-Rev: 40947
2018-02-17 09:08:11 +00:00
Jeff Genovy
0091f5060d ICU-13581 Update ICU4J version number for 61.1 rc.
X-SVN-Rev: 40946
2018-02-17 02:09:19 +00:00
Markus Scherer
cf61e9823a ICU-13331 fix Java AlphabeticIndex.addIndexExemplars() for missing index exemplars (test for empty, not just null)
X-SVN-Rev: 40941
2018-02-16 19:48:49 +00:00
Peter Edberg
1d3a9958df ICU-12740 getFieldDisplayName J initial implementation & tests; TODO: C++ tests, impl cleanup?
X-SVN-Rev: 40940
2018-02-16 19:17:27 +00:00
Andy Heninger
25950362de ICU-13569 RBBI State table size reduction, move reduced tables to ICU4J; better testing and small bug fix in ICU4J builder.
X-SVN-Rev: 40926
2018-02-15 23:21:54 +00:00
Markus Scherer
8ccca58d0c ICU-12911 remove UBiDiProps except inside its .cpp file, and uprv_haveProperties()
X-SVN-Rev: 40923
2018-02-15 19:01:29 +00:00
Markus Scherer
e8bb1bb9c2 ICU-12647 make string case mapping functions faster
X-SVN-Rev: 40921
2018-02-15 06:43:56 +00:00
Andy Heninger
fb357b0ade ICU-13569 more refresh of development branch from trunk.
X-SVN-Rev: 40918
2018-02-14 23:59:41 +00:00
Andy Heninger
fd77c49a2b ICU-13569 RBBI state table minimization, Java now works.
X-SVN-Rev: 40916
2018-02-14 23:44:50 +00:00
Andy Heninger
ff3ebb8c32 ICU-13569 RBBI state table optimizations, ICU4J, work in progress, plus branch refresh.
X-SVN-Rev: 40914
2018-02-14 01:31:35 +00:00
George Rhoten
4bac703558 ICU-13529 Parsing of redundant rule matches is slow when parsing with RuleBasedNumberFormat
X-SVN-Rev: 40913
2018-02-13 23:48:48 +00:00
Shane Carr
c9a3d6244d ICU-13574 Merging trunk to branch
X-SVN-Rev: 40908
2018-02-13 18:36:45 +00:00
Shane Carr
1ed7deaa8c ICU-13574 AffixMatcher is working. All simple parsing tests are passing.
X-SVN-Rev: 40903
2018-02-13 02:23:52 +00:00
Markus Scherer
bfcedd7774 ICU-13248 simplify a titlecasing call site
X-SVN-Rev: 40901
2018-02-13 00:25:45 +00:00
Markus Scherer
64fd53cd95 ICU-13248 remove UCharacter.toTitleFirst()
X-SVN-Rev: 40900
2018-02-12 23:52:55 +00:00
Shane Carr
0f293044a0 ICU-13461 Fixing build error in Java 6.
X-SVN-Rev: 40899
2018-02-12 23:21:27 +00:00
Shane Carr
7b1857d0f3 ICU-13574 Trying to get std::move operator to work on AffixMatcherWarehouse. No luck yet.
X-SVN-Rev: 40895
2018-02-10 15:49:02 +00:00
Shane Carr
59587ad9db ICU-13574 Improving object lifecycle of AffixPatternMatcher and helper classes. Should be safe now.
X-SVN-Rev: 40892
2018-02-10 10:57:30 +00:00
Shane Carr
e7a42e17f6 ICU-13574 Adding initial AffixPatternMatcher to ICU4C. Not completely safe yet. Still needs work.
X-SVN-Rev: 40891
2018-02-10 10:01:46 +00:00
Shane Carr
513f123a8c ICU-13574 Adding composition matchers (SeriesMatcher and AnyMatcher) to ICU4C in preparation for affix matchers. Also re-working memory management in getLeadCodePoints().
X-SVN-Rev: 40890
2018-02-10 06:36:07 +00:00
Shane Carr
ae263452f6 ICU-13400 Change name of Grouping strategy from WESTERN to THOUSANDS.
X-SVN-Rev: 40887
2018-02-09 22:55:36 +00:00
Shane Carr
b8bab89cb5 ICU-13574 Implementing final two SymbolMatchers in ICU4C (infinity and padding).
X-SVN-Rev: 40878
2018-02-09 06:30:40 +00:00
Shane Carr
12764fa082 ICU-13574 Adding more matchers derived from SymbolMatcher.
X-SVN-Rev: 40876
2018-02-09 02:35:02 +00:00
Shane Carr
8393405113 ICU-13574 Basic parsing tests are passing on the pieces of code written so far, DecimalMatcher and MinusSignMatcher.
X-SVN-Rev: 40872
2018-02-08 09:59:35 +00:00
Shane Carr
31a4dfe3e4 ICU-13574 Fixing compile errors introduced by last merge from trunk.
X-SVN-Rev: 40871
2018-02-08 08:56:01 +00:00
Shane Carr
8b5a53cb7f ICU-13574 Merging trunk to branch
X-SVN-Rev: 40870
2018-02-08 08:52:34 +00:00
Shane Carr
2ee42b9288 ICU-13574 Checkpoint commit. Basic NumberParseMatcher implementations in DecimalMatcher and SymbolMatcher. Cleanup in ICU4J.
X-SVN-Rev: 40869
2018-02-08 08:49:50 +00:00
Shane Carr
398b17f2b5 ICU-13571 Switching number parsing code back to incremental code point case folding.
X-SVN-Rev: 40868
2018-02-08 08:43:12 +00:00
Shane Carr
9337205a54 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40867
2018-02-08 06:07:18 +00:00
Shane Carr
ad348faca9 ICU-13443 Change digit width types to int16_t and change maximum setting to 999. Adds test for this behavior in ICU4C. Also adds the new error code for ICU-13577 .
X-SVN-Rev: 40866
2018-02-08 06:06:08 +00:00
Shane Carr
e6c23b5d36 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40857
2018-02-08 01:52:56 +00:00
Shane Carr
181269a9b2 ICU-13453 Reformatting FormattedNumber.java
X-SVN-Rev: 40848
2018-02-07 06:27:13 +00:00
Shane Carr
9d9471e586 ICU-13453 Fixing DecimalFormat getPositivePrefix backwards compatibility.
X-SVN-Rev: 40847
2018-02-07 06:26:44 +00:00
Shane Carr
eca52aa122 ICU-13461 Fixing conditional in Grouper.java (this is J-only code, so an ICU4C fix is not necessary). Clarifying comments in MeasureFormat files.
X-SVN-Rev: 40846
2018-02-06 23:38:29 +00:00
Shane Carr
48a633f41f ICU-13574 Defining more fundamental parsing types.
X-SVN-Rev: 40843
2018-02-06 09:43:37 +00:00
Shane Carr
5315ad603e ICU-13568 ICU-13400 ICU-13389 ICU-13075 Merging fixes from branch to trunk.
X-SVN-Rev: 40839
2018-02-06 03:15:37 +00:00
Shane Carr
e5cc630590 ICU-13568 ICU-13400 ICU-13389 ICU-13075 NumberFormatter assorted fixes: Adding custom pattern support for currencies. Upgrading grouping API. Adding narrow currency symbol support to ICU4C and API. Fixing behavior when pattern does not have a number placeholder.
X-SVN-Rev: 40838
2018-02-06 03:08:17 +00:00
Andy Heninger
aaebaf90a3 ICU-12677 RBBI, fix incorrect stripping of comments from saved rules.
X-SVN-Rev: 40837
2018-02-03 19:10:50 +00:00
Shane Carr
4385fb0348 ICU-13526 Adding package-private getNumberFormatInternal() to reduce unnecessary object cloning.
X-SVN-Rev: 40835
2018-02-03 07:54:35 +00:00
Shane Carr
bf49bd2afc ICU-13461 Fixing coverity defects in new number parsing code.
X-SVN-Rev: 40834
2018-02-03 07:48:29 +00:00
Shane Carr
bfab81c260 ICU-13526 Refactoring MeasureFormat, CurrencyFormat, and TimeUnitFormat to more directly wrap NumberFormatter.
X-SVN-Rev: 40833
2018-02-03 03:40:09 +00:00
Shane Carr
82a8f8bc68 ICU-13513 A few more compatibility tweaks.
X-SVN-Rev: 40829
2018-01-30 06:08:15 +00:00