Commit Graph

5197 Commits

Author SHA1 Message Date
Andy Heninger
193aa17f08 ICU-13631 Regex Address Sanitizer fix.
X-SVN-Rev: 41086
2018-03-08 18:32:15 +00:00
Shane Carr
8da6ef1776 ICU-13574 Revising codePointZero loading based on feedback.
X-SVN-Rev: 41082
2018-03-08 00:20:31 +00:00
Shane Carr
e190706080 ICU-13574 Reverting change of DecimalFormatSymbols::getConstSymbol to @draft from @internal.
X-SVN-Rev: 41076
2018-03-07 18:24:34 +00:00
Peter Edberg
61e984c3cb ICU-13581 ICU4C 61rc BRS, update U_HIDE_ conditionals
X-SVN-Rev: 41075
2018-03-06 23:41:20 +00:00
Norbert Runge
63d5dc895a ICU-13624 Public header build failures
X-SVN-Rev: 41070
2018-03-06 18:40:12 +00:00
Jeff Genovy
118f3ba5f5 ICU-13581 Update readme for Windows build instructions for VS2015.
X-SVN-Rev: 41053
2018-03-03 02:03:38 +00:00
Jeff Genovy
bb915931d0 ICU-13586 No actual code changes. This change cleans up redundancies in the VS project files, and pulls in common or shared settings from a shared 'props' file. This means that you can now change one single file to target either VS2015 or VS2017, instead of needing to change many files. It also allows the VS project files to share common defines as well, meaning that if you need to target something other than Windows 7, you can make one change in one file, instead of needing to make hundreds. Also included in this change are improvements to the VS Solution files in order to properly denote the dependencies of the projects, which might be needed in the future for possible parallel project builds.
X-SVN-Rev: 41049
2018-03-02 03:20:22 +00:00
Peter Edberg
b69d78b0e8 ICU-12740 use private static const int32_t, not #define, for UDATPG_WIDTH_COUNT
X-SVN-Rev: 41035
2018-03-01 07:21:19 +00:00
Peter Edberg
c03a13dd21 ICU-13607 ICU4C 61 API promotion
X-SVN-Rev: 41032
2018-03-01 05:54:24 +00:00
Shane Carr
33709da06a ICU-13606 Fixing race condition in MeasureFormat.
X-SVN-Rev: 41025
2018-03-01 00:58:47 +00:00
Jeff Genovy
26dc3c5e1b ICU-11318 Fix Windows build break on ARM with UWP projects.
X-SVN-Rev: 41006
2018-02-28 05:51:54 +00:00
Shane Carr
7f1a29ed4c ICU-13402 Adding pointer to NumberFormatter from classes that it replaces.
X-SVN-Rev: 40999
2018-02-28 02:56:45 +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
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