Commit Graph

5185 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
7626d9e846 ICU-13551 Updating documentation of UNumberSignDisplay enum in ICU4C.
X-SVN-Rev: 40874
2018-02-09 00:05:24 +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
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
8c2576ee68 ICU-13574 Adding missing const qualified to getConstDigitSymbol().
X-SVN-Rev: 40860
2018-02-08 03:22:44 +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
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
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
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
Shane Carr
3dce9dcab9 ICU-13551 Adding EXCEPT_ZERO enum value to SignDisplay.
X-SVN-Rev: 40824
2018-01-30 02:49:07 +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
Shane Carr
4d10bf03f5 ICU-13520 Adds compound unit support to NumberFormatter.
X-SVN-Rev: 40747
2017-12-22 00:02:01 +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
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
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
Andy Heninger
d2cf99c677 ICU-13457 Fix initialization & copying of Calendar::validLocale & actualLocale.
X-SVN-Rev: 40670
2017-11-12 02:53:40 +00:00
Peter Edberg
71dd84d4ff ICU-12504 in ICU4C Persian cal, use int64_t math for one operation to avoid overflow; add tests in C and J
X-SVN-Rev: 40654
2017-10-29 03:38:05 +00:00
Yoshito Umaoka
4b67416113 ICU-13446 Fixed Chakma date format fractional seconds parsing problem. Removed logKnownIssue from TestTimeZoneFormat.
X-SVN-Rev: 40647
2017-10-26 22:13:13 +00:00
Jeff Genovy
a799b3d3ff ICU-13448 Feedback from clang expert was that these should not be specific to MSVC, but rather they should be specific to the Windows platform.
X-SVN-Rev: 40643
2017-10-26 06:49:15 +00:00
Yoshito Umaoka
f6e3124e74 ICU-13445 Pattern space handling in localized GMT format parser. Applied a fix to ICU4J equivalent to the ICU4C fix done by #13374. Also made a small fix in the previous ICU4C change to prevent buffer overrun with unexpected input.
X-SVN-Rev: 40642
2017-10-25 23:41:57 +00:00
Jeff Genovy
225365d30a ICU-13411 Typo in fix.
X-SVN-Rev: 40636
2017-10-25 17:27:45 +00:00
Jeff Genovy
e83872364b ICU-13411 Additional fix for template exports.
X-SVN-Rev: 40635
2017-10-25 17:11:37 +00:00
Shane Carr
1ba7875371 ICU-13415 Setting error code in terminal NumberFormatter methods when applicable. Renaming unproposed error codes for consistency with existing error codes in utypes.h.
X-SVN-Rev: 40632
2017-10-25 01:26:48 +00:00
Shane Carr
1ec3a8c6bb ICU-13411 Making "using namespace" statements consistent across number formatting cpp files.
X-SVN-Rev: 40630
2017-10-25 00:25:04 +00:00
Jungshik Shin
811b30b9c2 ICU-13192 revert accidentally committed files
X-SVN-Rev: 40628
2017-10-23 23:06:43 +00:00