Commit Graph

20937 Commits

Author SHA1 Message Date
Shane Carr
61191ffda3 ICU-13568 Adding assertSuccess in test function.
X-SVN-Rev: 40852
2018-02-07 23:28:56 +00:00
Shane Carr
023af04592 ICU-13568 Fixing uninitialized memory in test code.
X-SVN-Rev: 40851
2018-02-07 22:56:38 +00:00
Steven R. Loomis
4b36c0ad9c ICU-13568 Fix crasher introduced in r40839 (bad test code)
Root cause (why the construction failed) unknown.

X-SVN-Rev: 40850
2018-02-07 22:49:43 +00:00
Andy Heninger
be54542b86 ICU-12677 clean up extra trailing spaces.
X-SVN-Rev: 40844
2018-02-06 21:28:05 +00:00
Shane Carr
48a633f41f ICU-13574 Defining more fundamental parsing types.
X-SVN-Rev: 40843
2018-02-06 09:43:37 +00:00
Shane Carr
bb862e217e ICU-13574 Merging utility classes from old branch to new branch
X-SVN-Rev: 40842
2018-02-06 07:54:52 +00:00
Shane Carr
237acf183a ICU-13574 Porting the parsing utility classes StringSegment and UnicodeSetStaticCache to C++.
X-SVN-Rev: 40841
2018-02-06 07:52:58 +00:00
Shane Carr
5315ad603e ICU-13568 ICU-13400 ICU-13389 ICU-13075 Merging fixes from branch to trunk.
X-SVN-Rev: 40839
2018-02-06 03:15:37 +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
Andy Heninger
aaebaf90a3 ICU-12677 RBBI, fix incorrect stripping of comments from saved rules.
X-SVN-Rev: 40837
2018-02-03 19:10:50 +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
Andy Heninger
628ec44872 ICU-13541 RBBI patch #2 from grhoten. Optimize object layout.
X-SVN-Rev: 40812
2018-01-27 01:07:26 +00:00
Yoshito Umaoka
32ba591832 ICU-13552 tzdata2018c updates to ICU trunk. ICU override for Europe/Dublin was commented out in icuzones.
X-SVN-Rev: 40798
2018-01-24 03:20:50 +00:00
Yoshito Umaoka
a222a6fa25 ICU-13552 tzdata2018b updates to ICU trunk. Also fixed a few issues in the test code and script. tz2icu was also updated to support customized Links for ICU overide zones.
X-SVN-Rev: 40794
2018-01-24 01:37:07 +00:00
Markus Scherer
0dc85d2408 ICU-13560 make some toUnicode converter check toULength not toUnicodeStatus for continuing after partial sequences; ucnv.cpp framework code only resets toULength after an error
X-SVN-Rev: 40793
2018-01-23 21:32:36 +00:00
Andy Heninger
ac0972f12c ICU-13541 Improve RuleBasedBreakIterator construction time, patch from grhoten.
X-SVN-Rev: 40789
2018-01-19 22:30:56 +00:00
Yoshito Umaoka
a3dca5a303 ICU-13552 tzdata2018a updates to ICU trunk. Zoneinfo data Europe/Dublin is modified to keep DST offset positive. The tz tool tz2icu was updated to replace zoneinfo imported from tz database with ICU local definition.
X-SVN-Rev: 40787
2018-01-19 05:13:00 +00:00
Fredrik Roubert
4fb629a23d ICU-13542 Add using-statements to citer.cpp
X-SVN-Rev: 40779
2018-01-15 10:19:52 +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
85d3cf4f2f ICU-13516 Defining behavior when an invalid code point is passed to foldCase.
X-SVN-Rev: 40748
2017-12-22 23:44:35 +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
76a9c82e1e ICU-13461 remove register keyword from C++ code
X-SVN-Rev: 40744
2017-12-18 23:17:26 +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
Markus Scherer
90b7a6e4e8 ICU-13510 test & fix UTF-8->UTF-8 conversion overflow for supplementary characters
X-SVN-Rev: 40715
2017-12-08 21:47:21 +00:00
Markus Scherer
c1a8c3a771 ICU-13510 test & fix UTF-8->UTF-8 conversion overflow
X-SVN-Rev: 40714
2017-12-08 20:46:04 +00:00
Markus Scherer
d636fabe79 ICU-13506 fix U_ICU_VERSION_SHORT docs for ICU 4.8- vs 49+
X-SVN-Rev: 40707
2017-12-06 22:37:29 +00:00
Markus Scherer
9ba5fe8c77 ICU-13460 set U_USING_ICU_NAMESPACE to 0 by default
X-SVN-Rev: 40705
2017-12-06 18:20:48 +00:00
Andy Heninger
d4206fa2e5 ICU-13447 Document RBBI: getRuleStatus() behavior when going past the end of the input text.
X-SVN-Rev: 40700
2017-12-05 22:56:31 +00:00
Markus Scherer
cf4cb10c3d ICU-13462 fix Script_Extensions for 5 characters: data generator needs to revert them from block scx to sc (merged from maint-60 r40667)
X-SVN-Rev: 40699
2017-12-05 20:53:14 +00:00
Markus Scherer
56fd8a74c5 ICU-13467 U8_NEXT() handles all in macro, no function call
X-SVN-Rev: 40698
2017-12-05 19:19:34 +00:00
Andy Heninger
9a542da329 ICU-13388 remove unused code in break iterator tests.
X-SVN-Rev: 40697
2017-12-05 18:45:53 +00:00
Andy Heninger
d7f2cd98d3 ICU-10688 Break Iterator type logic removal, a few minor cleanups.
X-SVN-Rev: 40689
2017-12-05 00:07:30 +00:00
Andy Heninger
023e8b289f ICU-10688 Remove break iterator type logic. It's implicit from the rules.
X-SVN-Rev: 40687
2017-12-04 02:14:32 +00:00
Andy Heninger
ca7b62180e ICU-10688 branch, work in progress.
X-SVN-Rev: 40686
2017-12-03 00:36:54 +00:00
Peter Edberg
6d58ccae2a ICU-13474 Integrate cldr/tags/release-32-0-1.beta1 into ICU, update tests
X-SVN-Rev: 40685
2017-12-02 00:02:56 +00:00
Shane Carr
c67d9d0a4a ICU-13496 Adds missing NumberFormatter test to ICU4C
X-SVN-Rev: 40682
2017-12-01 07:57:05 +00:00
Shane Carr
10ff53a889 ICU-13461 Fixing signed/unsigned operation that was causing runtime warnings in Clang.
X-SVN-Rev: 40681
2017-12-01 07:46:22 +00:00
Andy Heninger
2ec1aa972e ICU-12711 Default U_USING_ICU_NAMESPACE to 0 when building ICU library code.
X-SVN-Rev: 40679
2017-11-30 23:19:14 +00:00
Andy Heninger
963b29f56f ICU-13395 Remove uprv_checkValidMemory(). Was incompatible with memory and thread sanitizers.
X-SVN-Rev: 40678
2017-11-30 21:58:56 +00:00
Andy Heninger
254e5f9580 ICU-13420 svn properties check tool fix, and prop update of files match autoprops settings.
X-SVN-Rev: 40674
2017-11-29 19:32:58 +00:00
Fredrik Roubert
d6401ddcaa ICU-13470 update config.guess and config.sub (again)
Updated files copied from the savannah.gnu.org Git repository.

X-SVN-Rev: 40671
2017-11-15 21:00:09 +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
Jeff Genovy
179510836d ICU-13463 VS project file needs to copy stringoptions.h to the output include folder.
X-SVN-Rev: 40668
2017-11-10 03:41:30 +00:00
Yoshito Umaoka
edf744f31e ICU-13458 Update logKnownIssue set by #12620 to ignore more test failures.
X-SVN-Rev: 40660
2017-10-31 07:04:33 +00:00
Peter Edberg
4727aef32b ICU-12770 Update/fix comments about TZDEFAULT target on various systems
X-SVN-Rev: 40659
2017-10-31 03:36:22 +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
16598e5468 ICU-13436 Fix various typos and spelling mistakes.
X-SVN-Rev: 40645
2017-10-26 21:33:43 +00:00
Andy Heninger
366ae1d5d0 ICU-13455 Add missing #include to rbbi_cache.cpp for RBBIDebugPrintf definition.
X-SVN-Rev: 40644
2017-10-26 21:12:42 +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
Steven R. Loomis
42a7565808 ICU-13415 disable std::move testing on AIX/z for now.
X-SVN-Rev: 40641
2017-10-25 22:11:18 +00:00
Markus Scherer
f86f114660 ICU-13428 char* result array was too small for UTF-8 version of 112-UChar Dzongkha (dz) date/time format string
X-SVN-Rev: 40640
2017-10-25 21:25:01 +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
Yoshito Umaoka
46dd205917 ICU-13141 tzdata2017c updates. Some patches in Makefile to support the latest Makefile in tzcode2017c. Added logKnownIssue in some test cases. See the ticket for the details.
X-SVN-Rev: 40634
2017-10-25 15:43:29 +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
6921697be2 ICU-13415 Due to build issues, disabling new number formatting code on Solaris
X-SVN-Rev: 40631
2017-10-25 00:33:58 +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
Steven R. Loomis
5e63d2297e ICU-13415 porting: std::isinf/std::isnan back to uprv. also see ICU-13315
X-SVN-Rev: 40629
2017-10-24 22:39:03 +00:00
Jungshik Shin
811b30b9c2 ICU-13192 revert accidentally committed files
X-SVN-Rev: 40628
2017-10-23 23:06:43 +00:00
Jungshik Shin
050e62025a ICU-13192 gCorrectedPOSIXLocaleis changed to const char*
X-SVN-Rev: 40627
2017-10-23 23:01:58 +00:00
Shane Carr
de3c990b0b ICU-13415 Refactoring shadowed virtual method in IFixedDecimal.
X-SVN-Rev: 40626
2017-10-23 07:12:39 +00:00
Peter Edberg
a5e9be8dd6 ICU-13433 Integrate CLDR 32 tags/release-32-beta3
X-SVN-Rev: 40625
2017-10-20 03:29:11 +00:00
Shane Carr
df08682680 ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider.
X-SVN-Rev: 40624
2017-10-19 23:47:20 +00:00
Norbert Runge
1e72170543 ICU-13405 prevents double-free-triggered segmentation fault by setting pointer to NULL after free.
X-SVN-Rev: 40619
2017-10-12 23:09:43 +00:00
Yoshito Umaoka
6873ed8e2c ICU-13419 Imported the latest CLDR 32 locale data, updated some test cases.
X-SVN-Rev: 40616
2017-10-12 12:24:55 +00:00
Andy Heninger
1c794eb111 ICU-13394 nul-terminated buffer handling fixed from Chromium.
X-SVN-Rev: 40615
2017-10-11 22:22:45 +00:00
Shane Carr
3db8233029 ICU-13415 Fixing compiler warnings in GCC
X-SVN-Rev: 40614
2017-10-11 21:28:38 +00:00
Jeff Genovy
bb430ebdf1 ICU-13177 Fix some comments for the new NumberFormatter API.
X-SVN-Rev: 40606
2017-10-09 20:32:40 +00:00
Yoshito Umaoka
ddfc308603 ICU-13385 Fixed a build error with glibc 2.26. Checks xlocale.h availability by autoconf.
X-SVN-Rev: 40603
2017-10-09 14:18:53 +00:00
Peter Edberg
7604adc4b3 ICU-13352 Fix ordering of limit test and array ref in ufmt_utop
X-SVN-Rev: 40602
2017-10-09 06:57:17 +00:00
Peter Edberg
9ac09264c9 ICU-13313 Fix ucol_next/prev docs to use UCOL_NULLORDER, not NULLORDER
X-SVN-Rev: 40601
2017-10-09 06:40:55 +00:00
Shane Carr
aca96338b6 ICU-13177 Adding RTTI tests for MeasureUnit class hierarchy.
X-SVN-Rev: 40600
2017-10-07 02:46:49 +00:00
Norbert Runge
b96966a131 ICU-13358 No-data test fixes (cf. BRS task).
X-SVN-Rev: 40599
2017-10-06 23:11:11 +00:00
Markus Scherer
a86ba51982 ICU-13358 update pool bundles for ICU 60
X-SVN-Rev: 40598
2017-10-06 22:49:59 +00:00
Jeff Genovy
3b05ead47b ICU-13188 Merge patch for building reduced data file.
X-SVN-Rev: 40597
2017-10-06 22:46:56 +00:00
Jeff Genovy
328dd95b9c ICU-13177 Fix minor typos/spelling in comments.
X-SVN-Rev: 40596
2017-10-06 22:44:25 +00:00
Jeff Genovy
b1a2e40781 ICU-13177 Check if the other NullableValue object is null before trying to use its value.
X-SVN-Rev: 40594
2017-10-06 21:13:56 +00:00
Jeff Genovy
97901d274e ICU-13177 Fix warnings reintroduced by the NumberFormatting work.
X-SVN-Rev: 40593
2017-10-06 20:32:13 +00:00
Norbert Runge
d835c3aac4 ICU-13384 fixes issues found in public header checks and unconfig.h variation check.
X-SVN-Rev: 40592
2017-10-06 16:52:14 +00:00
Shane Carr
6a43ed9826 ICU-13177 Moving FixedDecimal and IFixedDecimal destructors to cpp file.
X-SVN-Rev: 40591
2017-10-06 09:02:10 +00:00
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
Markus Scherer
0b8c83334a ICU-13358 adjust dependencies graph for recently added code
X-SVN-Rev: 40588
2017-10-06 04:55:41 +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
Peter Edberg
dbc623d0d8 ICU-13359 Integrate updated CLDR 32 @13761 for 60rc. The previous issues #13366,#13368,#13374,#13390,#13391 are fixed.
X-SVN-Rev: 40582
2017-10-06 00:46:48 +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
Andy Heninger
24297c1601 ICU-9954 RBBI, conditionalize debug printfs.
X-SVN-Rev: 40580
2017-10-06 00:19:27 +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
Markus Scherer
835b426bec ICU-13390 include unicode/utf16.h when using U16_ macros
X-SVN-Rev: 40577
2017-10-05 23:07:36 +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
Norbert Runge
eaf4de59f4 ICU-13384 Adjusts unit test to work with UCONFIG_NO_BREAK_ITERATION flag set.
X-SVN-Rev: 40569
2017-10-05 16:53:51 +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
011c4fed3a ICU-13368 Responding to Markus code review feedback on r40528.
X-SVN-Rev: 40563
2017-10-05 01:32:05 +00:00
Jeff Genovy
dbc2c443e2 ICU-13159 Fix broken datafile for UWP, it is currently versionless.
X-SVN-Rev: 40562
2017-10-05 01:21:57 +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
Steven R. Loomis
4b9ca817eb ICU-13387 autoconf fixes for disabled tools and tests and draft api
X-SVN-Rev: 40556
2017-10-04 22:41:40 +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
Steven R. Loomis
78944eae33 ICU-10452 update make dist to work without svn export
X-SVN-Rev: 40552
2017-10-04 22:26:24 +00:00
Norbert Runge
b6c8bac9bb ICU-13384 Fixes ICU4C header check failures, blacklists files that are C++ only, adds a directory to test script.
X-SVN-Rev: 40549
2017-10-04 19:54:30 +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
acb0dc3593 ICU-13030 Fix one more location using U_CALLCONV.
X-SVN-Rev: 40547
2017-10-04 17:42:36 +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
Yoshito Umaoka
2a76f7596a ICU-13390 Fixed TestTimeZoneRoundTrip test code issue with Chakma digits.
X-SVN-Rev: 40545
2017-10-04 15:34:10 +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
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