Commit Graph

5321 Commits

Author SHA1 Message Date
Jeff Genovy
3bb0274f43 ICU-13126 Allow UWP builds to reuse makedata by undoing the disabling of renaming.
X-SVN-Rev: 40590
2017-10-06 07:31:14 +00:00
Peter Edberg
af8770bcac ICU-13358 ICU 60rc BRS, update U_HIDE_ conditionals
X-SVN-Rev: 40589
2017-10-06 07:26:01 +00:00
Shane Carr
bca22369f6 ICU-13177 Fixing dependency check errors in number formatting code.
X-SVN-Rev: 40586
2017-10-06 02:03:16 +00:00
Jeff Genovy
49d2336dfc ICU-13177 Fix empty include from NumberFormatting merge r40492.
X-SVN-Rev: 40585
2017-10-06 01:59:22 +00:00
Shane Carr
dbf0bfe4a7 ICU-13177 Improving consistency of Unicode string literals in number formatting code.
X-SVN-Rev: 40583
2017-10-06 01:37:59 +00:00
Jeff Genovy
4380990cc0 ICU-13177 Add missing entries to i18n_uwp.vcxproj for NumberFormatting.
X-SVN-Rev: 40581
2017-10-06 00:40:16 +00:00
Peter Edberg
82081f352c ICU-13377 update ICU4C 60 API change report after r40576, fix missing status tags in uspoof.h
X-SVN-Rev: 40579
2017-10-05 23:37:56 +00:00
Shane Carr
20351d35c8 ICU-13177 Removing some U_HIDE_INTERNAL_API blocks in numberformatter.h that were hiding declarations necessary for compiling client code.
X-SVN-Rev: 40578
2017-10-05 23:25:33 +00:00
Shane Carr
821a7f7540 ICU-13177 Adding missing status tags in numberformatter.h
X-SVN-Rev: 40576
2017-10-05 23:03:19 +00:00
Shane Carr
e6987fbfd8 ICU-13391 Change ICU4C parsing to count digits instead of UTF-16 code units for grouping sizes.
X-SVN-Rev: 40573
2017-10-05 21:41:46 +00:00
Peter Edberg
0b5b91a70b ICU-13366 Changes per Shane codereview comments
X-SVN-Rev: 40572
2017-10-05 20:36:07 +00:00
Peter Edberg
38ae69d64a ICU-12380 Use uint32_t for varMask and addMask
X-SVN-Rev: 40571
2017-10-05 20:34:24 +00:00
Yoshito Umaoka
730670eba5 ICU-13385 Fixed a typo.
X-SVN-Rev: 40570
2017-10-05 17:13:06 +00:00
Yoshito Umaoka
c620f117ca ICU-13385 autoconf to detect if xlocale.h exists or not.
X-SVN-Rev: 40568
2017-10-05 06:39:53 +00:00
Peter Edberg
7bdffc10a4 ICU-13377 ICU4C 60 API change report, plus fix one mistagged item
X-SVN-Rev: 40566
2017-10-05 06:06:44 +00:00
Shane Carr
25fed96c72 ICU-13093 Disabling number formatting code on AIX and z/OS due to C++11 compatibility issues.
X-SVN-Rev: 40560
2017-10-05 00:47:38 +00:00
Shane Carr
a5b3c2a9d6 ICU-13093 For AIX compatibility, replacing inline initializers with memset in MeasureFormatCacheData constructor.
X-SVN-Rev: 40559
2017-10-05 00:47:08 +00:00
Shane Carr
30eb63de01 ICU-13384 Fixing test failure from r40057
X-SVN-Rev: 40558
2017-10-04 23:41:05 +00:00
Norbert Runge
b536a39a74 ICU-13384 Adds #include unicode/utypes.h
X-SVN-Rev: 40557
2017-10-04 22:51:06 +00:00
Peter Edberg
68944a684d ICU-13377 Promote ICU4C @draft ICU 58 APIs to @stable in ICU 60
X-SVN-Rev: 40555
2017-10-04 22:37:14 +00:00
Shane Carr
302c255931 ICU-13177 Fixing coverity issues in number formatting code.
X-SVN-Rev: 40554
2017-10-04 22:29:21 +00:00
Jeff Genovy
6af490ee44 ICU-13177 Need to add NumberFormatting files to the UWP solution file too.
X-SVN-Rev: 40548
2017-10-04 19:20:30 +00:00
Jeff Genovy
62acf2ae94 ICU-13383 One more C4251 warning on MSVC.
X-SVN-Rev: 40546
2017-10-04 17:13:04 +00:00
Shane Carr
ca4891dd07 ICU-13177 Replacing override with U_OVERRIDE in i18n/plurrule_impl.h
X-SVN-Rev: 40543
2017-10-04 13:34:56 +00:00
Jeff Genovy
ab965990e5 ICU-13383 Export explicit templates for MSVC, remove UPRV_SUPPRESS_DLL_INTERFACE_WARNING macro.
X-SVN-Rev: 40542
2017-10-04 03:13:36 +00:00
Shane Carr
9d5639ac16 ICU-13117 Changing override to U_OVERRIDE in number formatting code.
X-SVN-Rev: 40541
2017-10-04 01:23:58 +00:00
Shane Carr
ca350d8a82 ICU-13177 Removing public dependency on std::atomic from unicode/numberformatter.h and casting to ICU's atomic type internally.
X-SVN-Rev: 40540
2017-10-04 01:15:54 +00:00
Peter Edberg
0065725adc ICU-13366 part 12, fix C SimpleDateFormat::subParse handling of 2-digit years for supplemental chars
X-SVN-Rev: 40536
2017-10-03 20:36:42 +00:00
Felipe Balbontín
45eaf65700 ICU-13380 Fix memory leak in DateFormatSymbols when loading AmPmMarkers and AmPmMarkersAbbr from the resource bundle.
X-SVN-Rev: 40525
2017-10-03 01:25:20 +00:00
Shane Carr
a4efe6d3d7 ICU-13383 Applying code review feedback for MSVC DLL interface warning.
X-SVN-Rev: 40524
2017-10-02 22:55:16 +00:00
Peter Edberg
9ccab14af1 ICU-13366 part 1, fix TextTrieMap::search supplemental handling; make tz displayName buffer size bigger & logKnownIssue tests more specific
X-SVN-Rev: 40522
2017-10-02 03:42:54 +00:00
Shane Carr
9fbda43d48 ICU-13380 Fixing memory overflow in MeasureFormat data loading.
X-SVN-Rev: 40516
2017-09-29 23:04:34 +00:00
Shane Carr
680ba3ce21 ICU-13383 Adding macro UPRV_SUPPRESS_DLL_INTERFACE_WARNING to suppress Visual C++ compiler warnings.
X-SVN-Rev: 40512
2017-09-29 00:16:08 +00:00
Shane Carr
d8368d6da4 ICU-13177 Fixing Visual Studio build warnings in number formatting code.
X-SVN-Rev: 40510
2017-09-28 22:53:31 +00:00
Shane Carr
87cd415960 ICU-13177 Adding additional static casts to reduce compiler warnings.
X-SVN-Rev: 40499
2017-09-28 20:24:35 +00:00
Shane Carr
5c711e36e8 ICU-13327 Fixing buffer overflow in NumberingSystem constructor.
X-SVN-Rev: 40494
2017-09-28 01:00:43 +00:00
Yoshito Umaoka
1599dabb7c ICU-13374 Fixed localized GMT offset format roundtrip in Perisian locale.
X-SVN-Rev: 40493
2017-09-28 00:53:39 +00:00
Shane Carr
131f416755 ICU-13177 Merging NumberFormatter to trunk for ICU 60
X-SVN-Rev: 40492
2017-09-27 23:46:15 +00:00
Markus Scherer
45a6728cbe ICU-13210 remove unreachable code, improve pattern pointer check
X-SVN-Rev: 40491
2017-09-27 23:28:43 +00:00
Shane Carr
7dc15c3372 ICU-13177 Fixing stack buffer overflow in decNumber conversion function.
X-SVN-Rev: 40490
2017-09-27 23:12:20 +00:00
Markus Scherer
f0bfac70f5 ICU-13362 avoid memcmp(nullptr, nullptr, 0)
X-SVN-Rev: 40488
2017-09-27 22:51:01 +00:00
Shane Carr
eb34602c75 ICU-13177 Adding IntlTest DoubleToUnicodeString and improving DecimalQuantity test
X-SVN-Rev: 40486
2017-09-27 22:31:07 +00:00
Andy Heninger
511ebeaa92 ICU-13177 add 'using namespace icu' where needed for build with -DU_USING_ICU_NAMESPACE=0
X-SVN-Rev: 40485
2017-09-27 21:43:09 +00:00
Andy Heninger
6b0ef1848d ICU-13177 Windows build, add U_I18N_API to exported classes. Builds, some warnings. Tests crash.
X-SVN-Rev: 40482
2017-09-27 18:50:44 +00:00
Shane Carr
b40a5ff9eb ICU-13177 Adding more documentation.
X-SVN-Rev: 40476
2017-09-27 09:03:19 +00:00
Andy Heninger
d2e59330cd ICU-13177 NumberFormatter, Visual Studio fixes, work in progress.
X-SVN-Rev: 40475
2017-09-27 06:44:13 +00:00
Shane Carr
2d49e73b8a ICU-13177 Cleanup before merge to trunk.
X-SVN-Rev: 40471
2017-09-27 05:31:57 +00:00
Shane Carr
93d9dc3fe2 ICU-13177 Cleaning up Valgrind errors in NumberFormatter unit test suite.
X-SVN-Rev: 40470
2017-09-27 03:52:08 +00:00
Shane Carr
c55bf3d8bf ICU-13177 Fixing minor NumberTest unit test failures.
X-SVN-Rev: 40469
2017-09-27 03:21:29 +00:00
Shane Carr
0a31ef3eb5 ICU-13177 Removing unused file number_results.h.
X-SVN-Rev: 40468
2017-09-27 03:07:35 +00:00
Shane Carr
d7a61a6e91 ICU-13177 NumberFormatter tests are passing.
X-SVN-Rev: 40467
2017-09-27 03:02:02 +00:00
Shane Carr
a88300f273 ICU-13177 NumberFormatter tests are building.
X-SVN-Rev: 40466
2017-09-27 02:16:44 +00:00
Shane Carr
a01fc429cb ICU-13177 Initial commit of ICU4C NumberFormatter
X-SVN-Rev: 40465
2017-09-27 00:25:20 +00:00
Shane Carr
c09ca5d6b9 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40460
2017-09-26 09:33:44 +00:00
Shane Carr
6001089138 ICU-9300 Adding links to RoundingMode user guide to ICU4C documentation.
X-SVN-Rev: 40458
2017-09-26 07:59:00 +00:00
William Zhao
4bb34584ad ICU-13275 Merge into some W3 warning fixes into trunk
X-SVN-Rev: 40446
2017-09-22 18:00:51 +00:00
Markus Scherer
27c08578ac ICU-13311 change illegal-UTF-8 handling in non-converter code
X-SVN-Rev: 40445
2017-09-21 23:45:08 +00:00
Steven R. Loomis
89765009b4 ICU-13001 warning cleanup
- remove some dead code
- fix some warnings that show up when services, regex are turned off
- change some macros into inline functions to quell parenthesis complaints (ucnv_u16.cpp)

X-SVN-Rev: 40442
2017-09-21 19:43:28 +00:00
Peter Edberg
9075f9cb5a ICU-12380 Size reductions for transliterator registry (and some speedup)
X-SVN-Rev: 40434
2017-09-20 00:39:40 +00:00
Yoshito Umaoka
ed012e1bfb ICU-13312 Fixed getDisplayName crash issue caused by TZDBTimeZoneNames, added a test case for the fix that interate through all time zones.
X-SVN-Rev: 40412
2017-09-14 02:37:44 +00:00
Shane Carr
1f1a485c3c ICU-13177 Adding IFixedDecimal interface to C++.
X-SVN-Rev: 40391
2017-09-13 07:49:26 +00:00
Norbert Runge
52417e2221 ICU-13069 enables code to compile when UCONFIG_NO_NORMALIZATION is set to 1; all unit tests pass.
X-SVN-Rev: 40388
2017-09-12 20:29:14 +00:00
Shane Carr
d0c762e71c ICU-13351 Adding additional CurrencyUnit constructors and stabilizing API constract of MeasureUnit default constructor.
X-SVN-Rev: 40379
2017-09-12 05:20:50 +00:00
Shane Carr
57913822e0 ICU-13177 Internal changes to existing icu4c source.
X-SVN-Rev: 40378
2017-09-10 02:02:02 +00:00
Jugu Dannie Sundar
29cd7b1fc9 ICU-11632 icu4c changes for integer overflow in calendar support
X-SVN-Rev: 40369
2017-09-05 22:22:09 +00:00
Fredrik Roubert
3c9447aaea ICU-13336 Fix common typo: s/langauge/language/ig
X-SVN-Rev: 40361
2017-08-30 18:15:10 +00:00
George Rhoten
994a671e4e ICU-13306 Complete refactoring code based off of code review feedback.
X-SVN-Rev: 40360
2017-08-29 07:19:26 +00:00
George Rhoten
6e33099276 ICU-13306 API consistency changes based off of review feedback.
X-SVN-Rev: 40359
2017-08-29 07:14:27 +00:00
George Rhoten
5eed55e9a5 ICU-13306 Move rounding mode API to superclass as per technical committee review comments.
X-SVN-Rev: 40347
2017-08-23 17:38:00 +00:00
Shane Carr
d9056b1f32 ICU-13285 Adding NumberingSystem constructor methods to DecimalFormatSymbols (J and C).
X-SVN-Rev: 40345
2017-08-17 23:49:00 +00:00
George Rhoten
e3ac9c5561 ICU-13306 Can not get and set rounding attributes for RBNF with C API
X-SVN-Rev: 40343
2017-08-17 23:21:03 +00:00
Andy Heninger
f1d850bf8d ICU-13288 changes for jumbo compilation.
X-SVN-Rev: 40327
2017-08-11 21:38:54 +00:00
Yoshito Umaoka
7c31981bd0 ICU-13301 Removed redundant UVector entry clean up function call.
X-SVN-Rev: 40324
2017-08-09 19:13:30 +00:00
William Zhao
00586e9f97 ICU-13275 Merge some safe warning fixes to the trunk
X-SVN-Rev: 40322
2017-08-08 19:51:54 +00:00
Jeff Genovy
0a3a7fb889 ICU-13287 Add explicit casts for conversions between long/int64 and double.
X-SVN-Rev: 40310
2017-08-03 20:44:45 +00:00
William Zhao
0ed701f7bb ICU-13292 Merge the changes for fixing C4251 warning into trunk
X-SVN-Rev: 40308
2017-08-03 00:13:43 +00:00
Jeff Genovy
3893b1a1b7 ICU-13051 Fix some compiler warnings when building with gcc.
X-SVN-Rev: 40287
2017-07-26 21:13:50 +00:00
Shane Carr
112d214d29 ICU-13246 Save a few cycles by performing util64_pow multiply only when needed.
X-SVN-Rev: 40285
2017-07-24 22:00:22 +00:00
William Zhao
d847a21238 ICU-13275 Merge warning cleanup fixes into trunk
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
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
Markus Scherer
0e4c0199ee ICU-12410 remove unused UCaseProps pointer from ucase_... functions
X-SVN-Rev: 39656
2017-02-09 21:50:20 +00:00
Markus Scherer
5da94f206a ICU-12410 move new code into new files, split ucasemap_imp.h from ustr_imp.h
X-SVN-Rev: 39655
2017-02-09 21:15:34 +00:00
Andy Heninger
04448b004f ICU-12764 UTF-8 source files, update file encoding comments.
X-SVN-Rev: 39641
2017-02-03 18:57:23 +00:00
Andy Heninger
415932a1e3 ICU-12870 Charset Detector, have docs reference the Compact Encoding Detector.
X-SVN-Rev: 39640
2017-02-03 02:46:43 +00:00
Peter Edberg
e0f3d87e99 ICU-12948 First-pass preliminary integration of CLDR 31 @13174
X-SVN-Rev: 39601
2017-01-24 08:22:23 +00:00
Peter Edberg
7b33e586f5 ICU-12937 Withdraw MeasureUnit interfaces for coordinate units, and related data loading
X-SVN-Rev: 39599
2017-01-23 16:20:59 +00:00
Peter Edberg
47e1aaaf14 ICU-12763 Add uplrules_selectWithFormat and PluralRules::select that take & use [U]NumberFormat
X-SVN-Rev: 39591
2017-01-21 01:03:32 +00:00
Markus Scherer
aa27217a84 ICU-12410 remove locCache behavior from ucase_getCaseLocale() and functions that call it, try to make it a little faster for common locale IDs
X-SVN-Rev: 39586
2017-01-20 06:27:47 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Andy Heninger
f28895cccc ICU-12943 Windows Build Fixes for UChar=char16_t and utf-8 source files.
X-SVN-Rev: 39581
2017-01-19 18:12:50 +00:00
Peter Edberg
32ca386c27 ICU-12684 Add unum_formatDoubleForFields and test
X-SVN-Rev: 39565
2017-01-16 19:48:33 +00:00
Peter Edberg
a238722264 ICU-12895 update release version to 59.0.1 for m1
X-SVN-Rev: 39562
2017-01-16 00:42:22 +00:00
George Rhoten
72280fb152 ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
Markus Scherer
3b23b78b95 ICU-12410 include what you use
X-SVN-Rev: 39553
2017-01-12 18:35:18 +00:00
Andy Heninger
fb0439839b ICU-12860 U_DRAFT -> U_CAPI. U_DRAFT appeared on three stable functions. Also changed U_STABLE->U_CAPI for consistencey within file. See #9961
X-SVN-Rev: 39544
2016-12-19 22:40:54 +00:00
Steven R. Loomis
68401040eb ICU-12852 Remove some unnecessary copy (merge from bug)
X-SVN-Rev: 39542
2016-12-14 18:41:04 +00:00
Andy Heninger
0fd5600285 ICU-12809 only .cpp files no .c in ICU library code
X-SVN-Rev: 39527
2016-12-07 21:14:27 +00:00
Shane Carr
d1ee641e2e ICU-12825 Fixing icu4c spoof checker issues #12825 and #12815.
X-SVN-Rev: 39493
2016-10-28 17:56:22 +00:00
Steven R. Loomis
173981e642 ICU-12822 digitlst.cpp depends on <string> to include <locale.h> on windows. Include it explicitly
X-SVN-Rev: 39486
2016-10-27 01:35:55 +00:00
Markus Scherer
2f358ce4bb ICU-12827 ucol_getKeywordValuesForLocale() reset the keyword-list iterator, and a little UList cleanup
X-SVN-Rev: 39484
2016-10-26 22:05:50 +00:00
Markus Scherer
7ae322735b ICU-12779 do not check U_PLATFORM macros before including ICU headers
X-SVN-Rev: 39457
2016-10-14 19:42:22 +00:00
Steven R. Loomis
25cf8e9634 ICU-12773 digitlist/strtod_l patch on cygwin, merge r39420
X-SVN-Rev: 39425
2016-10-04 04:04:05 +00:00
Peter Edberg
11c0df4f7b ICU-12738 ICU4C BRS, fixes from testing uconfig.h variations
X-SVN-Rev: 39378
2016-09-28 07:37:19 +00:00
Peter Edberg
eccbc645aa ICU-12738 ICU4C BRS, fixes to conditionals/includes/makefiles/scripts from testing public/private headers
X-SVN-Rev: 39375
2016-09-28 04:17:24 +00:00
Steven R. Loomis
5f2c294d1c ICU-12752 fix breakage from r39368 on windows.
X-SVN-Rev: 39374
2016-09-28 02:26:02 +00:00
Steven R. Loomis
6825277072 ICU-12752 commit some IBM z fixes. Library code building
X-SVN-Rev: 39368
2016-09-27 23:39:01 +00:00
Shane Carr
09ad3d8e4b ICU-12646 Error code for long confusable entries. Documenting spoof data binary file format changes.
X-SVN-Rev: 39360
2016-09-27 17:46:10 +00:00
Peter Edberg
bf138d8a85 ICU-12738 ICU4C BRS, Some fixes to U_HIDE_XXX_API macros
X-SVN-Rev: 39346
2016-09-26 06:53:00 +00:00
Shane Carr
b0f66e314e ICU-12549 Minor revisions to SpoofChecker comments and documentation (C++).
X-SVN-Rev: 39345
2016-09-23 21:46:39 +00:00
Shane Carr
feb501f197 ICU-12549 Changing u_strCompare to u_strcmp in spoof documentation.
X-SVN-Rev: 39341
2016-09-23 01:14:42 +00:00
Andy Heninger
260f921e89 ICU-12734 ICU4C API Change Report regenerated again; fixed some incorrect @stable tags.
X-SVN-Rev: 39332
2016-09-22 18:35:22 +00:00
Shane Carr
576a124b1b ICU-12549 Small documentation and comment fixes in C++ SpoofChecker
X-SVN-Rev: 39328
2016-09-22 01:43:05 +00:00
Steven R. Loomis
f0156c183b ICU-12701 additional porting issues.
X-SVN-Rev: 39323
2016-09-21 23:52:53 +00:00
Andy Heninger
0c77de936b ICU-12734 ICU4C 58 API Promotion.
X-SVN-Rev: 39318
2016-09-21 21:20:27 +00:00
Peter Edberg
e6fdb36045 ICU-12738 ICU4C, update measurement unit constants & code
X-SVN-Rev: 39298
2016-09-20 21:15:22 +00:00
Shane Carr
d5d266654b ICU-12549 Revisions to uspoof.h documentation. Actually removing identifier_info.h and other obsolete files from r39218.
X-SVN-Rev: 39297
2016-09-20 21:06:55 +00:00
Steven R. Loomis
bc0960b298 ICU-11746 more warning nits
X-SVN-Rev: 39294
2016-09-20 17:36:32 +00:00
Steven R. Loomis
12c492b740 ICU-11746 remove stray semicolon from r39053
X-SVN-Rev: 39292
2016-09-20 17:03:25 +00:00
Steven R. Loomis
19d7d00bd8 ICU-12701 IBM i fixes (merge to trunk)
X-SVN-Rev: 39289
2016-09-20 04:30:06 +00:00
Markus Scherer
7960164327 ICU-12663 UnicodeString support nearly 2G UChars & avoid integer overflows; string-to-string case mappings & detect integer overflows; make some calls to uprv_memcpy() and similar a little more robust by casting int32_t to size_t before multiplying
X-SVN-Rev: 39288
2016-09-20 01:10:36 +00:00
Steven R. Loomis
a2ee3b1f28 ICU-11746 static analysis fixes
X-SVN-Rev: 39282
2016-09-19 18:52:48 +00:00
Peter Edberg
d9b9bd7d59 ICU-12047 Minor wording adjustment in toLocalizedPattern() headerdoc
X-SVN-Rev: 39244
2016-09-15 17:32:17 +00:00
Shane Carr
5b9fc6fc70 ICU-12029 Measure unit display names, C++ version.
X-SVN-Rev: 39243
2016-09-15 08:37:56 +00:00
Peter Edberg
67b23a4aa6 ICU-12054 If format has no fields, first FieldPositionIterator::next should return FALSE; fix ufieldpositer_next description
X-SVN-Rev: 39241
2016-09-15 07:24:12 +00:00
Peter Edberg
e02cfd9eac ICU-12407 Prevent parse crash in DECIMAL-style formatter with applied currency pattern
X-SVN-Rev: 39236
2016-09-15 03:55:22 +00:00
Shane Carr
2ceb565df3 ICU-12549 Updating SpoofChecker to latest Unicode specification.
X-SVN-Rev: 39218
2016-09-13 22:15:13 +00:00
Andy Heninger
85f8d034a7 ICU-12547 UCHAR_TYPE=char16_t on Windows, fix compilation problems.
X-SVN-Rev: 39217
2016-09-13 21:37:40 +00:00
Felipe Balbontín
390d736f89 ICU-12591 Removed the CalendarData class and refactored all the remaining functions that used it (ICU4C).
X-SVN-Rev: 39190
2016-09-12 21:01:16 +00:00
Markus Scherer
c84e233733 ICU-12420 deprecate COUNT/LIMIT constants whose value may change
X-SVN-Rev: 39164
2016-09-08 22:45:51 +00:00
Yoshito Umaoka
ec3948198e ICU-10232 Updated preprocessro macro again - including xlocale.h except for windows, configure script to set -DU_HAVE_STRTOD_L=1 when strtod_l is available, etc.
X-SVN-Rev: 39144
2016-09-07 07:43:38 +00:00
Yoshito Umaoka
1aa9ba0a42 ICU-10232 Fixed Mac/BSD build issue.
X-SVN-Rev: 39128
2016-09-02 23:23:14 +00:00
Steven R. Loomis
df5c722121 ICU-12704 fix tabs in dtptngen.cpp
X-SVN-Rev: 39125
2016-09-02 21:00:19 +00:00
Yoshito Umaoka
f2d8d1be68 ICU-10232 DigitList to use strtod_l instead of strtod with cached host decimal point on platforms supporting strtod_l. For other platforms, detect host decimal point instead of using cached host decimal point char.
X-SVN-Rev: 39124
2016-09-02 20:58:05 +00:00
Steven R. Loomis
93180d2d73 ICU-12704 change dtptngen.cpp to use LocalMemory<int32_t> instead of LocalArray
LocalArray cannot be used with primitive types.

X-SVN-Rev: 39114
2016-08-31 23:36:19 +00:00
Steven R. Loomis
6f0f7dfa6b ICU-12701 fix missing implicit casts
These are needed for IBM i.

X-SVN-Rev: 39113
2016-08-31 23:15:47 +00:00
Craig Cornelius
2b166d876e ICU-12666 Update C++ RelativeDateTimeFormatter to new data loading scheme
X-SVN-Rev: 39102
2016-08-31 00:46:16 +00:00
Shawn Steele
326552aa72 ICU-12087 - merge updates to use VS2015
X-SVN-Rev: 39085
2016-08-24 20:52:23 +00:00
Fredrik Roubert
3959b30d02 ICU-12140 Pass StringPiece by value, externally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/306850043 .

X-SVN-Rev: 39064
2016-08-17 19:07:15 +00:00
Craig Cornelius
d17f99dd61 ICU-12617 Remove duplicate free. Memory check is clean
X-SVN-Rev: 39063
2016-08-17 17:43:05 +00:00
Craig Cornelius
7c79fa85ac ICU-12617 Update data loading, and remove use of CalendarData
X-SVN-Rev: 39053
2016-08-13 00:30:06 +00:00
Shane Carr
d88a4109a5 ICU-11912 Adding more efficient implementation of getDisplayNames(), which was already present in Java
X-SVN-Rev: 39041
2016-08-11 23:29:51 +00:00
Craig Cornelius
463412792e ICU-12149 Add new copyright notice.
X-SVN-Rev: 39028
2016-08-09 22:03:14 +00:00
Fredrik Roubert
de579d3bf9 ICU-12140 Pass StringPiece by value, internally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/305000043 .

X-SVN-Rev: 39024
2016-08-04 17:40:53 +00:00
Felipe Balbontín
ef59675c47 ICU-12614 DateFormatSymbols resource bundle data loading update. Remove unused variables.
X-SVN-Rev: 39019
2016-07-25 22:53:35 +00:00
Andy Heninger
549c7646bf ICU-12061 FieldPosition::DONT_CARE API status and doc update. Fix incorrect usage of FieldPosition(0).
X-SVN-Rev: 39017
2016-07-23 04:42:29 +00:00
Shane Carr
0f403155dc ICU-12646 Fixing Coverity code health issues on recently submitted code for TimeZoneNamesImpl and CompactDecimalDataCache
X-SVN-Rev: 39014
2016-07-21 23:01:53 +00:00
Craig Cornelius
32f80a647b ICU-12149 Submit reviewed fix to remove hack
X-SVN-Rev: 39001
2016-07-20 15:44:15 +00:00
Felipe Balbontín
f07359517d ICU-12623 Update DateIntervalInfo in ICU4C to new version of ResourceSink.
X-SVN-Rev: 38979
2016-07-18 22:16:40 +00:00
Yoshito Umaoka
a55516c58f ICU-12047 Added a note in SimpleDateFormat::toLocalizedPattern() API doc in ICU4C.
X-SVN-Rev: 38976
2016-07-18 18:19:11 +00:00
Felipe Balbontín
7708a760c0 ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak in MessageFormat.
X-SVN-Rev: 38973
2016-07-15 23:17:01 +00:00
Felipe Balbontín
578ec591e0 ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak.
X-SVN-Rev: 38971
2016-07-14 21:21:01 +00:00
Shane Carr
fca98f1e7f ICU-11912 Removing unused method 'consumeNoFallback', which was detected in Java unit test coverage.
X-SVN-Rev: 38969
2016-07-13 20:21:07 +00:00
Felipe Balbontín
959d1ed1e0 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38967
2016-07-13 18:38:15 +00:00
Felipe Balbontín
bfe100bab8 ICU-12614 Rollback of: DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38963
2016-07-08 23:31:15 +00:00
Felipe Balbontín
f6b7511c46 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink: fixed broken build.
X-SVN-Rev: 38962
2016-07-08 22:19:26 +00:00
Felipe Balbontín
3928bf64d7 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38961
2016-07-08 21:17:15 +00:00
Shane Carr
ad409a250e ICU-11912 TimeZoneNames data sink implementation in C++.
X-SVN-Rev: 38960
2016-07-08 18:16:21 +00:00
kazède king
a8ef8ffe6f ICU-12605 add "struct" after "friend"
X-SVN-Rev: 38881
2016-06-24 19:50:12 +00:00
kazède king
b9250c1a6e ICU-12605 convert data enumeration to resource sink for TimeUnitFormat, C++
X-SVN-Rev: 38878
2016-06-24 00:51:49 +00:00
Andy Heninger
79bb830dde ICU-12527 Fix resource leaks in r38824.
X-SVN-Rev: 38876
2016-06-23 22:30:38 +00:00
Andy Heninger
25f3f10204 ICU-7700 Revert change #38862, hour-of-day setting logic, which broke some tests.
X-SVN-Rev: 38865
2016-06-18 21:49:10 +00:00
Shane Carr
ae61a779f5 ICU-12576 Fixing test failures under --disable-release mode.
X-SVN-Rev: 38864
2016-06-18 01:37:37 +00:00
kazède king
dcd6c90e01 ICU-7700 setting HOUR_OF_DAY should also update AM_PM.
X-SVN-Rev: 38862
2016-06-17 23:23:11 +00:00
Shane Carr
85bd97406d ICU-12576 Updating C++ DateTimePatternGenerator to use data sinks.
X-SVN-Rev: 38861
2016-06-17 22:29:19 +00:00
Shane Carr
a40cf4b3a0 ICU-12579 MeasureFormat data sink update, C++ version.
X-SVN-Rev: 38858
2016-06-17 19:16:15 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Shane Carr
c10eeb4358 ICU-12534 Optimizing currency spacing data loading (C++)
X-SVN-Rev: 38826
2016-06-10 21:49:00 +00:00
Craig Cornelius
457938ebc2 ICU-12527 Updating data loading in SimpleDateFormatter, C++
X-SVN-Rev: 38824
2016-06-10 21:14:36 +00:00
Markus Scherer
1a6d70fa44 ICU-12526 Unicode 9 data 2016-jun-09
X-SVN-Rev: 38820
2016-06-10 00:01:46 +00:00
Andy Heninger
f8aea69ce6 ICU-12153 uspoof_setRestrictionLevel also must enable restriction level checking.
X-SVN-Rev: 38811
2016-06-08 20:16:13 +00:00
kazède king
a45ad52fc5 ICU-12569 Use new sinks for C++.
X-SVN-Rev: 38802
2016-06-06 23:40:54 +00:00
Shane Carr
41fed01112 ICU-11782 Optimizing storage of skeleton field strings in DateTimePatternGenerator (C++).
X-SVN-Rev: 38780
2016-05-31 23:49:11 +00:00
Shane Carr
e2316ceb41 ICU-12528 Optimizing CompactDecimalDataCache data loading using a data sink (C++).
X-SVN-Rev: 38779
2016-05-31 22:48:47 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Markus Scherer
5e69db5c2f ICU-12526 integrate Unicode 9 beta
X-SVN-Rev: 38753
2016-05-19 22:48:18 +00:00
Andy Heninger
3f05ba059e ICU-12065 DateIntervalFormat operator ==, remove from/to calendars from consideration.
X-SVN-Rev: 38749
2016-05-18 00:11:20 +00:00
Andy Heninger
54b8f0c928 ICU-12532 Avoid potential memory mis-alignment of stack-allocated decNum instance.
X-SVN-Rev: 38746
2016-05-16 21:57:34 +00:00
Shane Carr
3f27a9e89d ICU-12521 Fixing C++03 decfmtsym.cpp compiler error.
X-SVN-Rev: 38721
2016-05-09 22:00:25 +00:00
Shane Carr
29e5258904 ICU-12521 Adding C++ version of DecimalFormatSymbols data loading sink.
X-SVN-Rev: 38714
2016-05-06 23:06:26 +00:00
Michael Ow
d63a77bca4 ICU-12455 Update version number to 58.0.1 in ICU4C
X-SVN-Rev: 38711
2016-05-06 20:53:07 +00:00
Andy Heninger
70facacc4e ICU-12159 uspoof, update documentation for source of Recommended and Inclusion sets.
X-SVN-Rev: 38679
2016-04-30 00:41:12 +00:00
Markus Scherer
3947687fcc ICU-12520 ucol_getKeywordValuesForLocale() resource data enumeration
X-SVN-Rev: 38674
2016-04-29 23:04:00 +00:00
Markus Scherer
192500a361 ICU-12510 resource data enumeration: get array/table objects from ResourceValue, iterate with nested code & functions not by returning nested sinks; use this in DateTimePatternGenerator AllowedHourFormatsSink
X-SVN-Rev: 38655
2016-04-27 16:19:26 +00:00
Michael Ow
13be2f95ae ICU-11623 Merge change to reset tz buffer
X-SVN-Rev: 38625
2016-04-18 22:33:45 +00:00
Markus Scherer
f292628ed7 ICU-12446 Resource sink size: move into new enter(size) method
X-SVN-Rev: 38606
2016-04-07 00:18:33 +00:00
Jungshik Shin
2522113378 ICU-12408 static UnicodeString RANGE_MARKER_STRING is bad
X-SVN-Rev: 38564
2016-03-23 20:57:17 +00:00
Andy Heninger
29e0435a01 ICU-12379 Add assertion check to internal function parameter value.
X-SVN-Rev: 38524
2016-03-16 22:55:08 +00:00
Peter Edberg
2d40cbbf01 ICU-12187 BRS task - Update conditionals for non-stable APIs (i18n)
X-SVN-Rev: 38497
2016-03-05 19:48:49 +00:00
Peter Edberg
a7d264944d ICU-12187 BRS task - Update conditionals for non-stable APIs (common); fix clang warnings
X-SVN-Rev: 38495
2016-03-05 00:06:07 +00:00
Peter Edberg
6d7f5f1810 ICU-12072 C, Restore use of aliasing UnicodeString constructor in ureldatefmt_combineDateAndTime()
X-SVN-Rev: 38493
2016-03-04 22:29:14 +00:00
kazède king
f6bdf2b1ac ICU-11872 suppress output of "midnight" in formatting (C++)
X-SVN-Rev: 38485
2016-03-04 18:13:25 +00:00
Peter Edberg
eddf3c7f4c ICU-12072 C, Updates per review comments
X-SVN-Rev: 38481
2016-03-04 05:54:01 +00:00
Markus Scherer
155fb20a8e ICU-12187 fix dependencies, add a file, fix memory allocations
X-SVN-Rev: 38479
2016-03-03 22:56:54 +00:00
kazède king
d845084966 ICU-11872 fix invalid memory read
X-SVN-Rev: 38467
2016-03-02 23:49:30 +00:00
kazède king
4a45deb1ac ICU-11872 I can't svn very well (actually resolves conflict this time)
X-SVN-Rev: 38466
2016-03-02 22:48:21 +00:00
kazède king
47a0d7975f ICU-11872 improve data loading and caching for DateTimePatternGenerator pattern char 'C'; plugs leak.
X-SVN-Rev: 38465
2016-03-02 22:43:27 +00:00
Michael Ow
f2e7352104 ICU-12187 Update some API in ICU4C 57
X-SVN-Rev: 38455
2016-03-01 22:38:48 +00:00
Markus Scherer
e596b9258a ICU-12067 withdraw getter & setter for TIME_SEPARATOR date/time field
X-SVN-Rev: 38449
2016-03-01 18:40:01 +00:00
Michael Ow
968747625e ICU-12187 Close resource to avoid memory leak
X-SVN-Rev: 38448
2016-03-01 18:32:00 +00:00
Markus Scherer
a9c247a3cb ICU-12166 annotate intended switch case fallthroughs
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00