Commit Graph

5042 Commits

Author SHA1 Message Date
William Zhao
3da97c910d ICU-13275 Revert the previous changes to the trunk.
X-SVN-Rev: 40262
2017-07-13 23:26:06 +00:00
William Zhao
11a9b11c56 ICU-13275
This commit fixes compiler warnings when building at /W2.

1. Fix cast warnings for the two files.
2. Fix unreferenced variable warning for the two files.

X-SVN-Rev: 40261
2017-07-13 22:49:57 +00:00
Peter Edberg
2cea868e02 ICU-13006 DateFormat.setNumberFormat should clone the NumberFormat and also call setGroupingUsed(false)
X-SVN-Rev: 40198
2017-06-23 06:26:30 +00:00
Peter Edberg
d515102c5a ICU-13215 DayPeriodRules.getInstance should ignore keywords to get correct data and not hang
X-SVN-Rev: 40196
2017-06-23 05:02:12 +00:00
Shane Carr
a5e7ffb0d9 ICU-13246 Changing util64_pow to work on uint64_t to fix signed integer overflow warning in Clang
X-SVN-Rev: 40174
2017-06-17 00:48:17 +00:00
Andy Heninger
7d05feb7a6 ICU-13207 Fix some resource leaks.
X-SVN-Rev: 40167
2017-06-13 18:33:59 +00:00
Yoshito Umaoka
694142470e ICU-13159 Updating ICU version in trunk to 60.0.1 (60m1) - merging changes from my work branch.
X-SVN-Rev: 40145
2017-05-31 16:50:38 +00:00
George Rhoten
6b9bbb9d9d ICU-13206 Don't write multiple expressions onto a single line.
X-SVN-Rev: 40135
2017-05-24 18:20:04 +00:00
Peter Edberg
e2e48c9dce ICU-13183 for compatibility, get(Base)Skeleton should not include 'a' added by DateTimeMatcher; add tests
X-SVN-Rev: 40133
2017-05-24 06:57:45 +00:00
Peter Edberg
56e884e22e ICU-13183 on branch - Handle different field lengths for skeleton metachars j,C
X-SVN-Rev: 40126
2017-05-22 22:24:39 +00:00
Peter Edberg
7dd19b65ab ICU-13183 on branch - Handle abB as normal fields but force add/remove depending on hour field; other fixes
X-SVN-Rev: 40124
2017-05-22 06:16:11 +00:00
Markus Scherer
85af08c09d ICU-13189 ucurr_forLocale() do not succeed without writing output; also make it more readable and fix other issues
X-SVN-Rev: 40114
2017-05-05 23:48:40 +00:00
Markus Scherer
89c546d69f ICU-12635 fix ranges overrun in collation weight allocator
X-SVN-Rev: 40113
2017-05-05 19:36:48 +00:00
Markus Scherer
c741167e3e ICU-12985 Unicode 10 data from 20170503; new properties Emoji_Component, Regional_Indicator, Prepended_Concatenation_Mark; merged from ^/branches/markus/uni10@40107
X-SVN-Rev: 40109
2017-05-04 20:13:29 +00:00
Jeff Genovy
a709ddc0f2 ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements. (tab to spaces)
X-SVN-Rev: 40099
2017-05-03 00:40:08 +00:00
Jeff Genovy
cb53fe41cd ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements.
X-SVN-Rev: 40098
2017-05-03 00:28:11 +00:00
Markus Scherer
edce2be62c ICU-12985 Unicode 10 data 20170418, new property values, adjust tools & tests
X-SVN-Rev: 40079
2017-04-26 21:17:13 +00:00
George Rhoten
a82e70e5b1 ICU-13029 Mark unmodified static data as const
X-SVN-Rev: 40065
2017-04-19 18:55:46 +00:00
Steven R. Loomis
02e76897eb ICU-12786 dont call Win32 tz functions on cygwin (patch)
X-SVN-Rev: 40007
2017-04-07 18:26:45 +00:00
Peter Edberg
6d160d7d01 ICU-13090 Fix measunit.h comment about createXxxx methods withdrawn in ICU 58
X-SVN-Rev: 39986
2017-04-05 21:21:14 +00:00
Jeff Genovy
137000a971 ICU-13085 - Fix typo in i18n_uwp.vcxproj file.
X-SVN-Rev: 39984
2017-04-05 17:24:10 +00:00
Peter Edberg
36eed24f5f ICU-13005 ICU 59rc BRS, finish cleanup of C status tags and U_HIDE_ conditionals
X-SVN-Rev: 39952
2017-03-29 04:44:37 +00:00
Norbert Runge
cdcb7944b8 ICU-13053 Make UCONFIG_NO_BREAK_ITERATION flag work without errors or failures.
X-SVN-Rev: 39943
2017-03-27 18:22:11 +00:00
Norbert Runge
28d3ddb66f ICU-13053 fix compilation errors when UCONFIG_NO_FORMATTING is switched on
X-SVN-Rev: 39941
2017-03-27 16:14:45 +00:00
Peter Edberg
da11b86b82 ICU-12772 Add uprules_getKeywords wrapper and test
X-SVN-Rev: 39916
2017-03-23 05:16:24 +00:00
Peter Edberg
f458acca1b ICU-13052 Update ICU4C branch to current trunk
X-SVN-Rev: 39899
2017-03-22 20:05:43 +00:00
Peter Edberg
970b7293de ICU-13052 ICU4C 59 API promotion, draft 1
X-SVN-Rev: 39894
2017-03-22 07:38:16 +00:00
Jeff Genovy
e9946ec98e ICU-13027 - Merge in changes from 'branches/shawnste/working/icu4c'
X-SVN-Rev: 39890
2017-03-21 01:03:49 +00:00
Shane Carr
a59804f0ac ICU-12181 Merging ICU4C compact decimal format patch from branch to trunk
X-SVN-Rev: 39874
2017-03-18 03:11:00 +00:00
Andy Heninger
6fc65490f2 ICU-7467 Revert failing merge of new decimal format.
X-SVN-Rev: 39869
2017-03-18 00:27:51 +00:00
Shane Carr
6ba4206d8c ICU-7467 Merging branch to trunk 5
X-SVN-Rev: 39867
2017-03-17 23:55:08 +00:00
Norbert Runge
3d996441e7 ICU-13048 fixes to make internal header test pass.
X-SVN-Rev: 39853
2017-03-17 21:42:57 +00:00
Yoshito Umaoka
7cb98afd6a ICU-12577 Fixed a potential null dereference issue in SimpleTimeZone.
X-SVN-Rev: 39815
2017-03-15 06:07:43 +00:00
Yoshito Umaoka
f54d25d286 ICU-12810 Prevent assertion triggered by time zone id including characters other than ASCII invariants initialize/formatting a time zone.
X-SVN-Rev: 39799
2017-03-14 19:39:30 +00:00
Markus Scherer
05c591d7ef ICU-12992 add char16ptr.h with pointer conversions; use Char16Ptr for input parameters where possible; make UChar configurable but default to char16_t; add OldUChar same as ICU 58 UChar except not configurable; in public C++ headers change all UChar to char16_t (integrate branches/markus/ucharptr2)
X-SVN-Rev: 39762
2017-03-10 22:01:34 +00:00
Markus Scherer
a8bc4d7682 ICU-12992 make the old normlzr.h work with configured UChar=uint16_t, and do not include it from coll.h any more (it only needs unorm.h)
X-SVN-Rev: 39744
2017-03-08 05:59:25 +00:00
Markus Scherer
5a13a8ca58 ICU-12992 return raw pointers not pointer wrappers
X-SVN-Rev: 39729
2017-03-03 22:42:52 +00:00
Steven R. Loomis
666ba715d5 ICU-12766 merge from trunk
X-SVN-Rev: 39728
2017-03-03 21:55:08 +00:00
Markus Scherer
4b154b8328 ICU-12992 s/UChar/char16_t/g in public C++ header files
X-SVN-Rev: 39721
2017-03-01 23:55:58 +00:00
Andy Heninger
80606f5b57 ICU-13008 Signed int overflow (undefined behavior) in datefmt.cpp
X-SVN-Rev: 39718
2017-03-01 21:59:38 +00:00
Markus Scherer
031be51911 ICU-12992 move Char16Ptr to new char16ptr.h; change non-UnicodeString C++ functions from raw pointers to Char16Ptr where possible
X-SVN-Rev: 39716
2017-03-01 05:52:24 +00:00
Markus Scherer
d924dda84b ICU-12992 return pointer-wrapper class from UnicodeString::getBuffer() and siblings, add wrapper class overloads to make this mostly work as is, fix a few call sites
X-SVN-Rev: 39715
2017-02-28 22:07:03 +00:00
Steven R. Loomis
a900fee035 ICU-12766 merge from trunk
X-SVN-Rev: 39714
2017-02-28 19:36:42 +00:00
Andy Heninger
5f57938910 ICU-12884 regex timeout not working with {loop counts} in patterns.
X-SVN-Rev: 39693
2017-02-21 23:12:48 +00:00
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Peter Edberg
b3a53f130e ICU-12763 For C++ API, say return is undefined in the case of an error
X-SVN-Rev: 39675
2017-02-15 21:15:58 +00:00
Steven R. Loomis
103ef8c7ad ICU-12766 merge from trunk
X-SVN-Rev: 39673
2017-02-14 01:31:24 +00:00
Steven R. Loomis
c8ed8a6048 ICU-12766 z: library and tools build
X-SVN-Rev: 39665
2017-02-11 02:43:09 +00:00
Andy Heninger
8e5c017e03 ICU-12930 Fix assertion failure in regex compile.
X-SVN-Rev: 39663
2017-02-10 23:30:24 +00:00
Peter Edberg
870b039296 ICU-12763 for C++ select(const Formattable&...), add UErrorCode param, return empty string if err
X-SVN-Rev: 39658
2017-02-09 23:40:59 +00:00