Commit Graph

20868 Commits

Author SHA1 Message Date
Jeff Genovy
216c856d80 ICU-13258 Add work-around for char16_t as a typedef in older versions of Visual Studio (prior to VS 2015).
X-SVN-Rev: 40990
2018-02-27 01:17:08 +00:00
Jeff Genovy
9ab182f2fb ICU-13581 Fix typos in Samples, and add .vs folder to SVN ignore list.
X-SVN-Rev: 40989
2018-02-27 00:04:14 +00:00
Markus Scherer
66eb21ec58 ICU-13567 make Arabic number formatting tests work with both native & ASCII digits
X-SVN-Rev: 40988
2018-02-26 23:32:05 +00:00
Andy Heninger
595e9e61c4 ICU-13541 RBBI object layout optimizations, try to fix AIX build.
X-SVN-Rev: 40987
2018-02-26 22:59:42 +00:00
Andy Heninger
a3837321f6 ICU-13569 rbbi.h, add missing U_HIDE_INTERNAL_API conditional.
X-SVN-Rev: 40986
2018-02-26 20:46:27 +00:00
Andy Heninger
52ce37b900 ICU-13581 Regenerate configure for ICU 61
X-SVN-Rev: 40985
2018-02-26 17:51:30 +00:00
Peter Edberg
c033aaaf41 ICU-13603 Integrate data from CLDR release-33-alpha for ICU 61rc
X-SVN-Rev: 40980
2018-02-25 01:19:24 +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
Jeff Genovy
17e51eed71 ICU-13581 Fixing Samples. Add casts to quiet warnings, remove legacy sample from "all" VS Solution which does not build out of the box with ICU, ufortune only builds on Win32, and fix minor spelling/typo.
X-SVN-Rev: 40978
2018-02-23 03:01:30 +00:00
Jeff Genovy
fec3207394 ICU-13450 MSVC has the wrong value for U_CPLUSPLUS_VERSION, check the _MSVC_LANG define on MSVC compilers.
X-SVN-Rev: 40977
2018-02-22 21:33:48 +00:00
Jeff Genovy
9b21c4d010 ICU-13473 Add a new target to the VS project files called CopyUnicodeHeaderFiles, which will copy all of the project header files to the common output location. This is much cleaner and far less error prone than having each header file manually listed in the VS project file. Merge to trunk.
X-SVN-Rev: 40969
2018-02-22 02:59: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
Steven R. Loomis
97f525fd5e ICU-13595 Fix Segmentation Fault in Parallel Builds
Patch From @eli-nestlabs

X-SVN-Rev: 40962
2018-02-21 18:58:07 +00:00
Jeff Genovy
1b43bcc834 ICU-13581 Update version numbers in the readme files.
X-SVN-Rev: 40957
2018-02-21 01:43:49 +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
Jeff Genovy
3c7a6e30ab ICU-13171 Fix issues with ICU4C Samples, and various issues with vcxproj files.
The samples now all build on Win32, except for the layout sample (but the LE is deprecated).

X-SVN-Rev: 40951
2018-02-20 10:03:29 +00:00
Andy Heninger
1d9c8ee33d ICU-13550 decNumber int overflow, switch to unsigned to avoid undefined behavior.
X-SVN-Rev: 40950
2018-02-19 03:13:08 +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
Jeff Genovy
e98aab020c ICU-13581 Update ICU4C version number for 61.1 rc.
X-SVN-Rev: 40945
2018-02-17 01:09:03 +00:00
Markus Scherer
555c415e18 ICU-13529 minor test code cleanup
X-SVN-Rev: 40944
2018-02-17 00:19:25 +00:00
Markus Scherer
c9d3abe36f ICU-11955 return nullptr without dereferencing when out-of-memory
X-SVN-Rev: 40943
2018-02-16 22:32:05 +00:00
Markus Scherer
ba64bead00 ICU-11954 return nullptr without dereferencing when out-of-memory
X-SVN-Rev: 40942
2018-02-16 21:24:57 +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
George Rhoten
d06d12896c ICU-13529 Make some changes based on review feedback.
X-SVN-Rev: 40939
2018-02-16 18:07:32 +00:00
Jeff Genovy
ef4ea3ab01 ICU-13171 Remove conflicting option (/Gm) with (/MP) from gennorm2, also clean up the vcxproj files somewhat.
X-SVN-Rev: 40938
2018-02-16 08:50:25 +00:00
Jeff Genovy
07d9b3b567 ICU-13171 Enable multi-processor compilation (/MP) for faster builds.
X-SVN-Rev: 40937
2018-02-16 07:21:34 +00:00
Jeff Genovy
9f62b0dada ICU-13171 Update the VS project files to use VS 2017, plus various fixes to get Samples compiling.
Also add explicit defines for WINVER and _WIN32_WINNT for Windows 7 targeting in non-UWP projects.

X-SVN-Rev: 40935
2018-02-16 03:16:03 +00:00
Jeff Genovy
7080b42539 ICU-11318 Fix build break for Windows.
X-SVN-Rev: 40934
2018-02-16 02:27:32 +00:00
Jeff Genovy
05b4908921 ICU-12647 Use inline string literals instead of renaming the variables.
X-SVN-Rev: 40932
2018-02-16 02:04:18 +00:00
Shane Carr
c76083dc09 ICU-11318 Removing extra U_I18N_API flags in double-conversion.h.
X-SVN-Rev: 40931
2018-02-16 01:46:00 +00:00
Shane Carr
17203a7a02 ICU-11318 Adding double-conversion *.h files to vcxproj files. Adding U_I18N_API for MSVC.
X-SVN-Rev: 40930
2018-02-16 01:37:20 +00:00
Shane Carr
23872cb601 ICU-11318 Integrating double-conversion into icu4c. Changing both old and new number formatting implementations to call it.
X-SVN-Rev: 40929
2018-02-16 01:25:43 +00:00
Jeff Genovy
4298f41e35 ICU-12647 Fix build break on Windows.
('IN' is already defined in a Windows header, so it conflicts with the variable IN.)

X-SVN-Rev: 40925
2018-02-15 22:37:22 +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
Peter Edberg
7cf0adb29a ICU-12740 getFieldDisplayName C/C++ initial implementation & C tests; TODO: C++ tests and Java imp
X-SVN-Rev: 40922
2018-02-15 08:38:20 +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
c25708b4c3 ICU-13569 refresh dev branch from trunk.
X-SVN-Rev: 40917
2018-02-14 23:55:39 +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
fb26c75df0 ICU-13585 Adding std::move operators to CharString and MaybeStackArray.
X-SVN-Rev: 40904
2018-02-13 02:28:00 +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
Andy Heninger
acae049ee1 ICU-13569 rbbi table, remove duplicated states, working for C++.
X-SVN-Rev: 40902
2018-02-13 01:08:29 +00:00
William Zhao
f505457183 ICU-13546
X-SVN-Rev: 40896
2018-02-12 18:38:22 +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
afbb37febd ICU-13574 Checkpoint commit. AffixMatcher is mostly implemented.
X-SVN-Rev: 40894
2018-02-10 14:29:26 +00:00
Shane Carr
a335b723c7 ICU-13574 Fixing CurrencyAnyMatcher. Up-to-date with tests.
X-SVN-Rev: 40893
2018-02-10 11:32:18 +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
852897ba2c ICU-13574 Adding currency names matcher to ICU4C.
X-SVN-Rev: 40889
2018-02-10 02:59:49 +00:00
Andy Heninger
1036ed52e3 ICU-13569 rbbi, refresh from trunk, plus table state compaction, work in progress.
X-SVN-Rev: 40888
2018-02-10 01:31:35 +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
c8d0e34905 ICU-13587 Changing NumberFormatter adoption methods to take non-const pointers, and updating documentation strings according to feedback.
X-SVN-Rev: 40886
2018-02-09 22:52:42 +00:00
Steven R. Loomis
cf95e1ec2e ICU-13139 fix EOL in distrelease.ps1, fix dist.mk
.zip and .tgz file is now equivalent

X-SVN-Rev: 40885
2018-02-09 22:32:32 +00:00
Markus Scherer
d7482c9720 ICU-13519 set U_CHARSET_IS_UTF8 to 1 on Linux by default
X-SVN-Rev: 40884
2018-02-09 22:00:30 +00:00
Markus Scherer
19b494f953 ICU-13515 UTF-8 macro: reduce length of string if it ends with an incomplete sequence
X-SVN-Rev: 40883
2018-02-09 21:01:56 +00:00
Peter Edberg
64aa4beb28 ICU-13538 in ICU4C Islamic cal, use int64_t math for one operation to avoid overflow; add tests in C and J
X-SVN-Rev: 40882
2018-02-09 19:31:12 +00:00
Andy Heninger
0e3d103630 ICU-13569 rbbi char class merging now working, tests passing.
X-SVN-Rev: 40881
2018-02-09 18:53:28 +00:00
Shane Carr
e91ff603de ICU-13574 Adding scientific matcher to ICU4C.
X-SVN-Rev: 40880
2018-02-09 06:57:37 +00:00
Peter Edberg
ba8b599ab5 ICU-12907 UReplaceableCallbacks* should have const in C transliterate API
X-SVN-Rev: 40879
2018-02-09 06:43:50 +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
fb3ff21caf ICU-13574 Switching memory strategy to allocate objects as fields in the main class instead of on the heap.
X-SVN-Rev: 40877
2018-02-09 05:47:49 +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
e8e0cdf41d ICU-13568 Fixing memory leak in test.
X-SVN-Rev: 40875
2018-02-09 00:57:30 +00:00
Shane Carr
7626d9e846 ICU-13551 Updating documentation of UNumberSignDisplay enum in ICU4C.
X-SVN-Rev: 40874
2018-02-09 00:05:24 +00:00
Andy Heninger
4959b9b3a3 ICU-13569 rbbi table compression, work in progress.
X-SVN-Rev: 40873
2018-02-08 21:17:18 +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
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
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
d5baa61bd2 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40863
2018-02-08 04:05:15 +00:00
Shane Carr
4eff55cc31 ICU-13574 Adding additional logic and tests for ICU4C codePointZero.
X-SVN-Rev: 40862
2018-02-08 04:04:50 +00:00
Shane Carr
93a83fbca2 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40861
2018-02-08 03:23:06 +00:00
Shane Carr
8c2576ee68 ICU-13574 Adding missing const qualified to getConstDigitSymbol().
X-SVN-Rev: 40860
2018-02-08 03:22:44 +00:00
Shane Carr
535d82cfc0 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40859
2018-02-08 03:18:29 +00:00
Shane Carr
f4a623e94b ICU-13574 Adding getConstDigitSymbol to ICU4C, right now as @internal. Follow-up for promoting to @draft in ICU-13580
X-SVN-Rev: 40858
2018-02-08 03:18:00 +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
b18e037531 ICU-13574 Adding codePointZero logic to ICU4C, added to ICU4J in r40091.
X-SVN-Rev: 40856
2018-02-08 01:51:09 +00:00
Andy Heninger
3d4a3fbaa8 ICU-13569 rbbi state table opt, work in progress.
X-SVN-Rev: 40855
2018-02-08 01:42:04 +00:00
Shane Carr
0d83273be9 ICU-13461 Removing doxygen comment that was obsoleted by ICU-7724 .
X-SVN-Rev: 40854
2018-02-08 01:07:57 +00:00
Steven R. Loomis
a16ecdad92 ICU-13083 cleanup unescaper, use portable calls
X-SVN-Rev: 40853
2018-02-07 23:31:40 +00:00
Shane Carr
61191ffda3 ICU-13568 Adding assertSuccess in test function.
X-SVN-Rev: 40852
2018-02-07 23:28:56 +00:00
Shane Carr
023af04592 ICU-13568 Fixing uninitialized memory in test code.
X-SVN-Rev: 40851
2018-02-07 22:56:38 +00:00
Steven R. Loomis
4b36c0ad9c ICU-13568 Fix crasher introduced in r40839 (bad test code)
Root cause (why the construction failed) unknown.

X-SVN-Rev: 40850
2018-02-07 22:49:43 +00:00
Andy Heninger
be54542b86 ICU-12677 clean up extra trailing spaces.
X-SVN-Rev: 40844
2018-02-06 21:28:05 +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
bb862e217e ICU-13574 Merging utility classes from old branch to new branch
X-SVN-Rev: 40842
2018-02-06 07:54:52 +00:00
Shane Carr
237acf183a ICU-13574 Porting the parsing utility classes StringSegment and UnicodeSetStaticCache to C++.
X-SVN-Rev: 40841
2018-02-06 07:52:58 +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
3dce9dcab9 ICU-13551 Adding EXCEPT_ZERO enum value to SignDisplay.
X-SVN-Rev: 40824
2018-01-30 02:49:07 +00:00
Andy Heninger
628ec44872 ICU-13541 RBBI patch #2 from grhoten. Optimize object layout.
X-SVN-Rev: 40812
2018-01-27 01:07:26 +00:00
Yoshito Umaoka
32ba591832 ICU-13552 tzdata2018c updates to ICU trunk. ICU override for Europe/Dublin was commented out in icuzones.
X-SVN-Rev: 40798
2018-01-24 03:20:50 +00:00
Yoshito Umaoka
a222a6fa25 ICU-13552 tzdata2018b updates to ICU trunk. Also fixed a few issues in the test code and script. tz2icu was also updated to support customized Links for ICU overide zones.
X-SVN-Rev: 40794
2018-01-24 01:37:07 +00:00
Markus Scherer
0dc85d2408 ICU-13560 make some toUnicode converter check toULength not toUnicodeStatus for continuing after partial sequences; ucnv.cpp framework code only resets toULength after an error
X-SVN-Rev: 40793
2018-01-23 21:32:36 +00:00
Andy Heninger
ac0972f12c ICU-13541 Improve RuleBasedBreakIterator construction time, patch from grhoten.
X-SVN-Rev: 40789
2018-01-19 22:30:56 +00:00
Yoshito Umaoka
a3dca5a303 ICU-13552 tzdata2018a updates to ICU trunk. Zoneinfo data Europe/Dublin is modified to keep DST offset positive. The tz tool tz2icu was updated to replace zoneinfo imported from tz database with ICU local definition.
X-SVN-Rev: 40787
2018-01-19 05:13:00 +00:00
Fredrik Roubert
4fb629a23d ICU-13542 Add using-statements to citer.cpp
X-SVN-Rev: 40779
2018-01-15 10:19:52 +00:00
Shane Carr
0344ea5118 ICU-13525 Fixing NumberFormatter behavior when unit pattern does not contain an argument.
X-SVN-Rev: 40770
2018-01-10 02:44:23 +00:00