Commit Graph

20765 Commits

Author SHA1 Message Date
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
9d44026761 ICU-13366 spin off the remaining tz offset roundtrip and number roundtrip issues to #13390, 13391; update logKnownIssue
X-SVN-Rev: 40537
2017-10-03 23:20:18 +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
Andy Heninger
7a72a8f032 ICU-13380 Fixes for memory leaks & other problems found by Address Sanitizer.
X-SVN-Rev: 40529
2017-10-03 04:11:26 +00:00
Shane Carr
1614992033 ICU-13368 Hacking fix for en_GB currency parsing in ICU4C.
X-SVN-Rev: 40528
2017-10-03 03:37:01 +00:00
Shane Carr
15d177ad35 ICU-13177 Syncing icu4c numberformattestspecification.txt with icu4j
X-SVN-Rev: 40526
2017-10-03 01:38:52 +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
Andy Heninger
9831b84c80 ICU-13358 Update urename.h. Also update script & instructions.
X-SVN-Rev: 40523
2017-10-02 21:21:14 +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
Andy Heninger
2e872ea9f1 ICU-13358 Regenerate configure. Fix U_ICU_VERSION_MINOR_NUM.
X-SVN-Rev: 40521
2017-10-01 20:56:01 +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
Peter Edberg
b06ac0cc8f ICU-13359 Integrate updated CLDR 32 tags/release-32-beta; still have known issues #13366,#13368
X-SVN-Rev: 40515
2017-09-29 20:05:13 +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
Yoshito Umaoka
79cf4fa012 ICU-13358 Incorporated the latest currency numeric updates (ISO-4217 Amendment 164, Sep 22 2017)to currencyNumericCodes.txt.
X-SVN-Rev: 40509
2017-09-28 22:30:12 +00:00
Yoshito Umaoka
6cd0738d6a ICU-13358 Updated ICU version for 60rc.
X-SVN-Rev: 40503
2017-09-28 21:31:29 +00:00
Andy Heninger
e16c565b09 ICU-23327 Fix uninitialized error code in test.
X-SVN-Rev: 40502
2017-09-28 21:19:47 +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
Yoshito Umaoka
f0bbc4855e ICU-13374 Removed another logKnownIssue for this issue.
X-SVN-Rev: 40498
2017-09-28 19:20:54 +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
Markus Scherer
80a7f5e4b5 ICU-13202 add U_PF_FUCHSIA
X-SVN-Rev: 40487
2017-09-27 22:35:34 +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
Peter Edberg
269d74b759 ICU-13359 Integrate updated CLDR 32 @13743; still have known issues #13366,#13368,#13374
X-SVN-Rev: 40483
2017-09-27 19:19:19 +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
Peter Edberg
da416aaf80 ICU-13359 Skip even more DateFormatRoundTripTest::TestDateFormatRoundTrip exhaustive cases for known issue #13366
X-SVN-Rev: 40479
2017-09-27 14:10:33 +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
Peter Edberg
c8a42e162b ICU-13359 More logKnownIssues for exhaustive test failures: #13366,#13368,#13374
X-SVN-Rev: 40473
2017-09-27 05:59:03 +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
Markus Scherer
496df21bdf ICU-13346 avoid range-based for loop
X-SVN-Rev: 40464
2017-09-26 23:27:06 +00:00
Peter Edberg
3bfe134a86 ICU-13359 Integrate CLDR 32 alpha data into ICU for ICU 60rc; known issues #13366,#13368
X-SVN-Rev: 40463
2017-09-26 21:20:01 +00:00
Andy Heninger
e220fe9dd6 ICU-9954 rbbi forward iteration performance improvement. Ensure rules always make some progress; keep engine out of the fail-safe fall back path for rules that do not advance.
X-SVN-Rev: 40461
2017-09-26 20:16:03 +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
Andy Heninger
75495acb8f ICU-13275 Remove some compiler warnings that were triggered by earlier fixes.
X-SVN-Rev: 40457
2017-09-25 20:16:04 +00:00
Markus Scherer
fa2ddc86c7 ICU-13311 change illegal-UTF-8 handling in converter code
X-SVN-Rev: 40455
2017-09-23 06:34:53 +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
119d75dc46 ICU-13001 additional warning cleanup
X-SVN-Rev: 40444
2017-09-21 22:38:34 +00:00
Andy Heninger
8975d923fe ICU-12960 ubrk_open, clarify that NULL is allowed for text in ubrk_open()
X-SVN-Rev: 40443
2017-09-21 22:10:48 +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
Steven R. Loomis
a0fcf76a8d ICU-13093 std::isinf and std::isnan fix - z/OS too
X-SVN-Rev: 40440
2017-09-21 01:02:20 +00:00
Steven R. Loomis
205842898a ICU-13093 std::isinf and std::isnan fix
X-SVN-Rev: 40438
2017-09-21 00:25:49 +00:00
Jeff Genovy
edcc5102ee ICU-9954 Fix UWP build.
X-SVN-Rev: 40437
2017-09-20 23:49:27 +00:00
Andy Heninger
cb1f0a68f4 ICU-9954 Fix coverity warning.
X-SVN-Rev: 40436
2017-09-20 22:58:39 +00:00
Steven R. Loomis
3e17a0d8c3 ICU-13093 override fix
X-SVN-Rev: 40435
2017-09-20 20:04:10 +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
Andy Heninger
4e1c4096a6 ICU-9954 Break Iteration, remove reverse rules, add boundary caching.
X-SVN-Rev: 40433
2017-09-19 18:17:22 +00:00
Peter Edberg
419011d783 ICU-12770 Fix comment about TZZONEINFO path on different systems
X-SVN-Rev: 40432
2017-09-19 06:28:29 +00:00
Peter Edberg
5b966cdeba ICU-12770 Just check for /zoneinfo/ instead of full platform-specific TZZONEINFO; also fixes #13291
X-SVN-Rev: 40427
2017-09-18 23:24:34 +00:00
Markus Scherer
68ef77118b ICU-13203 CaseMap UTF-8 add StringPiece->ByteSink overloads; change implementation to that and change array->array versions into wrappers
X-SVN-Rev: 40425
2017-09-18 21:45:11 +00:00
Jeff Genovy
8c1d9ad0d1 ICU-13342 fix unintended whitespace change.
X-SVN-Rev: 40421
2017-09-15 01:40:49 +00:00
Markus Scherer
ee7fb909bf ICU-13247 Java: String CaseMap.apply(CharSequence); fix omitUnchangedText() without Edits
X-SVN-Rev: 40417
2017-09-14 22:26:13 +00:00
Yoshito Umaoka
cf7b342a1d ICU-13312 Added tzdb metazone entry for Pyongyang, and generated ICU4J data with the change. Fixed one data issue in tzdbNames - metazone names CST/CDT for Taipei are not unique, and need to add parseRegions data to restrict that the parse mapping should be only used when locale's region is TW.
X-SVN-Rev: 40416
2017-09-14 19:57:27 +00:00
Jeff Genovy
b38323d79b ICU-13342 gennorm2 produces incorrect output on MSVC Release builds due to optimizer issues.
X-SVN-Rev: 40415
2017-09-14 19:09:57 +00:00
Jeff Genovy
fc78f45dd9 ICU-13356 gennorm2 crashes if the input file contains blank lines.
X-SVN-Rev: 40414
2017-09-14 19:04:20 +00:00
Markus Scherer
03f431d30d ICU-13340 obsolete unicode/utf_old.h: add U_HIDE_OBSOLETE_UTF_OLD_H to optionally hide all of the .h contents; default: no behavior change; adjust code & tests to work either way
X-SVN-Rev: 40413
2017-09-14 06:24:35 +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
Steven R. Loomis
563e55a8e2 ICU-13030 Add U_CALLCONV_FPTR for function pointers. And yet again, don’t break the API change report.
X-SVN-Rev: 40408
2017-09-13 23:32:52 +00:00
Steven R. Loomis
84bec69426 ICU-13093 porting fixes (AIX)
X-SVN-Rev: 40406
2017-09-13 23:07:30 +00:00
Steven R. Loomis
8ba4e85fa9 ICU-13093 fix U_OVERRIDE and U_NOEXCEPT in doxygen
X-SVN-Rev: 40405
2017-09-13 22:50:16 +00:00
Markus Scherer
edac6e7206 ICU-13244 add U16_GET_OR_FFFD(), U16_NEXT_OR_FFFD(), U16_PREV_OR_FFFD()
X-SVN-Rev: 40404
2017-09-13 22:29:43 +00:00
Steven R. Loomis
2613216b7b ICU-13345 merge from trunk
X-SVN-Rev: 40398
2017-09-13 19:52:40 +00:00
Steven R. Loomis
66228f40f6 ICU-13345 update deprecation comments
X-SVN-Rev: 40397
2017-09-13 18:31:27 +00:00
Steven R. Loomis
d80a30219f ICU-13345 changes per ICU-TC comments
X-SVN-Rev: 40396
2017-09-13 18:28:44 +00:00
Markus Scherer
321f467190 ICU-13337 public string option for not resetting an Edits object: U_EDITS_NO_RESET
X-SVN-Rev: 40394
2017-09-13 16:15:28 +00:00
Shane Carr
1f1a485c3c ICU-13177 Adding IFixedDecimal interface to C++.
X-SVN-Rev: 40391
2017-09-13 07:49:26 +00:00
Shane Carr
082cbac7fc ICU-13351 Tests for new CurrencyUnit constructors.
X-SVN-Rev: 40390
2017-09-13 07:48:09 +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
Steven R. Loomis
eaa26ce352 ICU-13030 merge from trunk
X-SVN-Rev: 40387
2017-09-12 19:52:59 +00:00
Steven R. Loomis
0343e0805b ICU-13030 review comment
X-SVN-Rev: 40386
2017-09-12 19:24:51 +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
Markus Scherer
a1e9154f8c ICU-13346 compress some repeated m:n replacements even when m!=n
X-SVN-Rev: 40376
2017-09-08 18:49:08 +00:00
Markus Scherer
ef72d0734e ICU-13346 avoid unused-variable compiler warning
X-SVN-Rev: 40374
2017-09-07 19:50:40 +00:00
Markus Scherer
4e75a6ece0 ICU-13346 add Edits::Iterator::previous() for mapping near-earlier indexes
X-SVN-Rev: 40373
2017-09-07 18:29:27 +00:00
Andy Heninger
6dee8f942d ICU-13344 problem with SETNATIVEINDEX macro.
X-SVN-Rev: 40372
2017-09-06 21:44:58 +00:00
Andy Heninger
e044ce0a4c ICU-11632 fix compilation error in calregts.cpp
X-SVN-Rev: 40371
2017-09-06 18:38:22 +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
Markus Scherer
3a02afc3bf ICU-13199 use std::getline(istream, string) to avoid line length limit
X-SVN-Rev: 40365
2017-09-01 16:21:47 +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
Andy Heninger
bc77976528 ICU-13318 RBBITest, remove obsolete tests, move remaining test data to rbbitst.txt
X-SVN-Rev: 40356
2017-08-26 00:44:28 +00:00
Markus Scherer
2f87cf4c46 ICU-10524 normalization one-way mapping with trailing ccc>1 has no compose-boundary-after
X-SVN-Rev: 40355
2017-08-25 22:46:12 +00:00
Markus Scherer
3e9530c048 ICU-13332 CaseMapImpl.isFollowedByCasedLetter() must increment the string index while looping
X-SVN-Rev: 40353
2017-08-24 20:36:19 +00:00
Shane Carr
8b625eda51 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40350
2017-08-24 05:56:16 +00:00
Markus Scherer
d287dbbe30 ICU-13326 gennorm2 --combined option to write the combined data of the input files; and gennorm2 minus operator to write the diffs of the combined data from two sets of input files
X-SVN-Rev: 40349
2017-08-23 23:33:47 +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
Markus Scherer
fcb323c2e0 ICU-13158 change range check to catch NaN
X-SVN-Rev: 40341
2017-08-17 21:37:36 +00:00
Markus Scherer
4250ad8acf ICU-13323 make U_TIMEZONE work on newlib when U_PLATFORM_IS_LINUX_BASED is not detected
X-SVN-Rev: 40340
2017-08-17 18:29:27 +00:00
Andy Heninger
7f0d4110c8 ICU-13274 Break Iterator test additions.
X-SVN-Rev: 40335
2017-08-16 23:29:02 +00:00
Andy Heninger
f08eb087ba ICU-13274 Break Iterator test additions.
X-SVN-Rev: 40334
2017-08-16 23:19:21 +00:00
Markus Scherer
837280a366 ICU-13307 C++ Edits::mergedAndAppend(ab, bc); map indexes only from inside spans not empty deletions/insertions; make Edits copyable and Edits::Iterator default-constructible
X-SVN-Rev: 40333
2017-08-16 19:19:30 +00:00
Markus Scherer
a919ea14e1 ICU-6591 make ccc=x work for all integers 0..255
X-SVN-Rev: 40328
2017-08-11 23:42:02 +00:00
Andy Heninger
f1d850bf8d ICU-13288 changes for jumbo compilation.
X-SVN-Rev: 40327
2017-08-11 21:38:54 +00:00
Andy Heninger
6d7c1bc487 ICU-13261 remove gratuitous difference between line_normal_cj.txt and line_loose_cj.txt.
X-SVN-Rev: 40326
2017-08-11 20:54:22 +00:00
Markus Scherer
b1b4b2f443 ICU-13158 avoid undefined double->int cast for ccc=value, range check before cast
X-SVN-Rev: 40325
2017-08-11 18:54:53 +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
Yoshito Umaoka
bcc7db4504 ICU-13296 Added LHDT as short/daylight name for metazone Lord_Howe in tzdbNames.txt.
X-SVN-Rev: 40323
2017-08-09 18:51:31 +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
Jugu Dannie Sundar
fdd5212284 ICU-10935 merging from branch
X-SVN-Rev: 40316
2017-08-07 21:27:46 +00:00
Shane Carr
ca30fb66ec ICU-13177 Pointing DecimalFormat.java and CompactDecimalFormat.java at the new API. All tests are passing.
X-SVN-Rev: 40313
2017-08-04 22:43:34 +00:00
Andy Heninger
090709441c ICU-13298 Fix signed int overflow in StringTrieBuilder hash functions.
X-SVN-Rev: 40312
2017-08-04 17:44:00 +00:00
Jeff Genovy
1385a1ad57 ICU-13290 Clean up old #define for old version of MSVC.
X-SVN-Rev: 40311
2017-08-03 21:17:25 +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
Andy Heninger
ce90dfb861 ICU-13274 RBBI test updates, moved from #9954
X-SVN-Rev: 40305
2017-08-01 23:26:14 +00:00
Shane Carr
ea6b6a46b1 ICU-13289 Fixing engineering notation discrepancy with the LDML spec.
X-SVN-Rev: 40304
2017-08-01 18:12:59 +00:00
Andy Heninger
52513beddd ICU-13196 RBBI Monkey Test, port to Java. Sync a few changes back to ICU4C.
X-SVN-Rev: 40302
2017-08-01 01:03:09 +00:00
Andy Heninger
2b5557fce6 ICU-12519 Break Iterator assignment handles Locales.
X-SVN-Rev: 40301
2017-07-31 20:20:37 +00:00
Andy Heninger
425f9eb00f ICU-13275 clear a clang warning introduced with the other warning fixes.
X-SVN-Rev: 40300
2017-07-31 17:41:42 +00:00
Markus Scherer
d563e9858d ICU-13176 char16ptr: rename member variables to avoid shadow warnings
X-SVN-Rev: 40298
2017-07-28 23:17:16 +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
Markus Scherer
9a3a03c417 ICU-13270 icu::Edits add numberOfChanges(); Edits::Iterator add findDestinationIndex(), destinationIndexFromSourceIndex(), sourceIndexFromDestinationIndex()
X-SVN-Rev: 40286
2017-07-24 22:43:53 +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
Jeff Genovy
7c841c6bb2 ICU-13278 Fix ifdefs for U_ENABLE_DYLOAD for Windows and UWP.
X-SVN-Rev: 40281
2017-07-21 00:48:43 +00:00
Markus Scherer
aa6d5e3e76 ICU-13271 add Normalizer2::isNormalizedUTF8()
X-SVN-Rev: 40280
2017-07-20 22:08:30 +00:00
Markus Scherer
09b77193dc ICU-13269 add StringByteSink(dest, initialAppendCapacity) constructor
X-SVN-Rev: 40277
2017-07-20 19:56:45 +00:00
Andy Heninger
1292197198 ICU-12507 rbbi, switch impl from UTrie to UTrie2.
X-SVN-Rev: 40270
2017-07-19 22:31:12 +00:00
Andy Heninger
4a5b4e4b44 ICU-12507 RBBI data loading, incorporate Markus's review comments.
X-SVN-Rev: 40268
2017-07-17 21:22:53 +00:00
Andy Heninger
3dcc83d0d4 ICU-13277 Locale constructor buffer overflow.
X-SVN-Rev: 40267
2017-07-15 00:22:20 +00:00
Markus Scherer
e6748afd82 ICU-13197 improved normalization data structure and code; .nrm formatVersion 3; merged from branches/markus/normv3 except for cherry-picks from trunk to there
X-SVN-Rev: 40265
2017-07-14 22:38:40 +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
Jeff Genovy
03829ff838 ICU-13263 uprv_convertToPosix uses a local stack variable out of scope.
X-SVN-Rev: 40234
2017-07-05 18:46:18 +00:00
Jeff Genovy
d10a5a945b ICU-13260 Fix use of unintended variable in tools/toolutil/package.cpp
X-SVN-Rev: 40219
2017-06-28 20:14:16 +00:00
Jeff Genovy
ade067638e ICU-13164 Fixes for compilation and test errors when building for Windows/MinGW.
X-SVN-Rev: 40203
2017-06-23 23:28:11 +00:00
Peter Edberg
d251c500ac ICU-13159 ICU 60m1 BRS, update urename.h
X-SVN-Rev: 40202
2017-06-23 17:43:07 +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
4a499c9a77 ICU-13157 Update CLDR version to 32 in testdata/root.txt
X-SVN-Rev: 40197
2017-06-23 05:28: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
acd53b0c18 ICU-13129 Changing default Parse MathContext to 34 digits instead of 16 digits.
X-SVN-Rev: 40194
2017-06-22 23:26:48 +00:00
Peter Edberg
c70ebe3ce1 ICU-13159 Integrate CLDR trunk@13513 (cldr/tags/icu-milestone-60-0-1)
X-SVN-Rev: 40193
2017-06-22 23:05:41 +00:00
Markus Scherer
03d5505974 ICU-13197 gennorm2 new .cpp files: add standard library includes
X-SVN-Rev: 40191
2017-06-22 07:49:47 +00:00
Andy Heninger
ea254bef42 ICU-13257 clear clang compile warning from use of 'override'
X-SVN-Rev: 40190
2017-06-21 20:43:47 +00:00
Norbert Runge
c009707376 ICU-13242 Rename test function to make it match the name of its equivalent function in Java.
X-SVN-Rev: 40189
2017-06-21 19:59:58 +00:00
Shane Carr
cf6c47d6b7 ICU-13149 Minor review feedback for #13149
X-SVN-Rev: 40187
2017-06-21 01:08:18 +00:00
Shane Carr
e9c5e5631b ICU-13228 Adding more symbols to localized notation mapper function, including support for multi-char symbols.
X-SVN-Rev: 40185
2017-06-21 00:38:25 +00:00
Norbert Runge
7351dbcf24 ICU-13242 fixed uppercase-comes-first collation test
X-SVN-Rev: 40184
2017-06-20 23:12:14 +00:00
Andy Heninger
a9cedfb775 ICU-12507 bump rbbi data version for change to UTrie2; consolidate version checking.
X-SVN-Rev: 40183
2017-06-20 22:11:08 +00:00
Andy Heninger
388a662bb1 ICU-13159 Regenerate configure for 60m1.
X-SVN-Rev: 40182
2017-06-20 03:41:20 +00:00
Shane Carr
0a19183f1b ICU-13230 Fixing DecimalFormat parser to ignore grouping separators when there is no grouping separator in the pattern OR when setGroupingUsed(false) is explicitly called.
X-SVN-Rev: 40181
2017-06-19 21:03:07 +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
Markus Scherer
cfef2fb339 ICU-9198 add titlecasing options: wholeString, sentences, adjustToCased
X-SVN-Rev: 40164
2017-06-09 23:04:03 +00:00
Markus Scherer
06a03303cb ICU-13234 collect string & character options bits in new stringoptions.h
X-SVN-Rev: 40162
2017-06-08 20:35:40 +00:00
Markus Scherer
3975adb564 ICU-13234 rename UCASEMAP_OMIT_UNCHANGED_TEXT to U_OMIT_UNCHANGED_TEXT
X-SVN-Rev: 40161
2017-06-08 19:36:34 +00:00
Markus Scherer
e05c15a02c ICU-13197 fix indexesLength check while loading data, more readable duplicate elimination of noNo mappings
X-SVN-Rev: 40157
2017-06-07 18:22:44 +00:00
Markus Scherer
6c1e41e0f2 ICU-13197 catch one more edge case where a mapping has no compose boundary after it
X-SVN-Rev: 40156
2017-06-07 07:13:34 +00:00
Markus Scherer
19d53e7641 ICU-13197 more gennorm2 cleanup, set smallFCD for some characters with algorithmic mappings
X-SVN-Rev: 40155
2017-06-07 05:23:53 +00:00
Markus Scherer
45da4f810d ICU-12985 final? Unicode 10 data from 20170605
X-SVN-Rev: 40153
2017-06-06 02:46:10 +00:00
Markus Scherer
425204d84b ICU-13197 split gennorm2/n2builder into 3 more manageable pieces; no output change
X-SVN-Rev: 40150
2017-06-05 03:53:14 +00:00
Markus Scherer
acf2b4cc82 ICU-13186 stop prepending UTF-8 BOM to some Unicode files
X-SVN-Rev: 40149
2017-06-02 22:52:19 +00:00
Markus Scherer
f3b00dc8ff ICU-13197 test Normalizer2::normalizeUTF8() with Edits
X-SVN-Rev: 40148
2017-06-02 21:19:33 +00:00
Markus Scherer
8dcca5dc76 ICU-13197 Normalizer2::normalizeUTF8(StringPiece->ByteSink/Edits) compose=direct UTF-8, else via UTF-16/no edits
X-SVN-Rev: 40147
2017-05-31 18:15:45 +00:00
Jeff Genovy
de6771cb4b ICU-13217 - UWP version ends up falling back to the 'en_US' locale. (Missing lines due to bad merge).
X-SVN-Rev: 40146
2017-05-31 17:17:54 +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
Steven R. Loomis
f1da2f1d9f ICU-13030 cleanup U_CALLCONV on windows. Also, initialize an uninitialized var
X-SVN-Rev: 40137
2017-05-24 23:25:33 +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
Markus Scherer
b2ead3e2e1 ICU-8130 UTS 46 conformance test using Unicode IdnaTest.txt
X-SVN-Rev: 40130
2017-05-23 04:44:58 +00:00
Peter Edberg
458a47f288 ICU-13183 on branch - Add more tests and sample data
X-SVN-Rev: 40127
2017-05-23 02:37:37 +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
72c605c1c4 ICU-13183 on branch - add locale data with Bh skeletons
X-SVN-Rev: 40125
2017-05-22 16:37:07 +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
61b0f07f39 ICU-12985 fix compiler warnings from now-unused ASPIRATIONAL script usage
X-SVN-Rev: 40111
2017-05-04 20:27:25 +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
Markus Scherer
bff565de53 ICU-12333 full case mapping set output string to nullptr if length==0, and do not convert the empty string to UTF-8
X-SVN-Rev: 40108
2017-05-04 18:30:23 +00:00
Markus Scherer
4f0f0cb395 ICU-12985 changes.txt section Unihan collators: cross-link with Unicode tools site
X-SVN-Rev: 40106
2017-05-03 23:45:33 +00:00
Andy Heninger
a3a2b57516 ICU-12507 ICU4C RBBI, switch to UTrie2
X-SVN-Rev: 40105
2017-05-03 23:44:14 +00:00
Markus Scherer
cb722b8bcd ICU-12985 Unicode 10 minor data update
X-SVN-Rev: 40104
2017-05-03 23:26:47 +00:00
Andy Heninger
379d2f3a7a ICU-13178 remove back-slashes in #include paths.
X-SVN-Rev: 40102
2017-05-03 20:18:41 +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
20bee936b1 ICU-12985 ppucd.txt more readable unassigned ranges; block compaction by size savings not value plurality reduces clutter
X-SVN-Rev: 40096
2017-05-02 22:53:28 +00:00
Markus Scherer
761c994436 ICU-12985 pre-parse VerticalOrientation.txt
X-SVN-Rev: 40086
2017-04-28 20:29:22 +00:00
Markus Scherer
eb57bf7c90 ICU-12985 implement the binary Prepended_Concatenation_Mark property
X-SVN-Rev: 40084
2017-04-27 21:11:01 +00:00
Markus Scherer
b0ad84012f ICU-12985 implement the binary Regional_Indicator property with a single hardcoded range
X-SVN-Rev: 40083
2017-04-27 18:29:07 +00:00
Markus Scherer
6ce7f348a3 ICU-12985 implement the binary Emoji_Component property for emoji 5
X-SVN-Rev: 40082
2017-04-26 23:58:36 +00:00