Commit Graph

31054 Commits

Author SHA1 Message Date
Shane F. Carr
bda3a3e68c ICU-13724 Removing obsolete numberformat2test.cpp 2020-03-31 15:02:24 -05:00
Peter Edberg
e7995571db ICU-20979 BRS 67rc, update urename.h 2020-03-31 09:14:17 -07:00
Yoshito Umaoka
ea9ce7e34f ICU-20979 BRS67RC Fixed a java doc issue 2020-03-30 15:10:54 -04:00
Yoshito Umaoka
2b33caaff4 ICU-20979 BRS67RC Clean up import statements 2020-03-30 15:10:28 -04:00
Fredrik Roubert
879f6728f0 ICU-20803 Pass ByteSink to _canonicalize().
This eliminates the need for the fixed size scratch buffer inside of
locale_set_default_internal() and also eliminates the need for counting
bytes, something that ByteSink and CharString now will handle correctly,
when needed.

None of this should have any externally visible effect (apart from
removing the arbitrary size limit imposed by the fixed size scratch
buffer), it's all about cleaning up implementation internals.
2020-03-27 17:47:32 +01:00
Younies Mahmoud
20c29becd6 ICU-20964 Fix small typo mistake
See #974
2020-03-27 09:16:55 -07:00
Elango Cheran
72e07c0d52 ICU-21026 fix GCC warnings of signed-int left shift 2020-03-26 17:54:08 -07:00
Daniel Ju
73b50e6463 ICU-20979 BRS67RC Update version numbers, regenerate configure, update ICU4C README 2020-03-26 17:21:05 -07:00
Shane F. Carr
2b7ed6119a ICU-20854 Add support for more currency variants.
See #878
2020-03-26 15:14:02 -05:00
Victor Chang
7c0de5fd1a ICU-21020 Fix a typo in the LocalizedNumberRangeFormatter's documentation 2020-03-26 11:07:38 -07:00
Jeff Genovy
f78136f653 ICU-20435 Fix parallel builds with Cygwin to 3.x 2020-03-26 10:18:23 -07:00
Shane F. Carr
ac4540f8a4 ICU-20418 Number skeletons: implement star wildcard; user guide fixes
See #1060
2020-03-26 00:15:03 -05:00
Shane F. Carr
0d26f83f83 ICU-21005 Fix exhaustive test failure in IntlTestNumberFormat. 2020-03-26 00:09:31 -05:00
Shane F. Carr
b03feb6338 ICU-20920 Changing "Sequence" to "Mixed" in ICU4C MeasureUnit 2020-03-25 16:13:39 -05:00
Peter Edberg
1084c1430a ICU-21022 Use logKnownIssue to avoid TestDateFormatRoundTrip exhaustive fail 2020-03-25 10:50:42 -07:00
Shane F. Carr
677fbe4de6
ICU-20919 Merge maint/maint-66 into master 2020-03-25 12:50:01 -05:00
Jeff Genovy
a8b07c98d0 ICU-20435 Update Cygwin to 3.x to fix CI builds.
Cygwin doesn't fully build with a parallel make, so split it out
in order to speed things up somewhat.
2020-03-25 10:46:51 -07:00
Shane F. Carr
dd8484d721 ICU-20919 Merge branch 'maint/maint-66' into 66-merge-branch 2020-03-25 12:42:19 -05:00
Shane F. Carr
b186f2cff6 ICU-20912 Make C/J Currency consistent on lowercase/uppercase currency equality
- Adds additional tests for Currency equality behavior
2020-03-25 12:21:34 -05:00
Peter Edberg
cfef59f0b8 ICU-13790 Add data tests to verify certain chars present in pinyin, stroke 2020-03-25 08:33:49 -07:00
Campion
b525045209 ICU-10858 Fix missing fTimeZoneFormat assignment in SimpleDateFormat::operator= (#963) 2020-03-24 20:04:35 -07:00
Peter Edberg
c163f7dc29 ICU-20979 integrate CLDR release-37-beta to master 2020-03-24 13:28:54 -07:00
Shane F. Carr
6edd38f35f ICU-20806 Removing obsolete number formatting methods.
See #1034
2020-03-24 15:21:32 -05:00
Shane F. Carr
fc6612cc56 ICU-20920 Add support for CLDR 37 unit identifiers in ICU4C
See #964
2020-03-24 14:15:19 -05:00
Steven R. Loomis
2ced2624fc ICU-20976 GCC 8 fixes phase 1
Some initial fixes for GCC 8

- setup a GCC 8 buildbot with -Wextra
- rewrite ucol_sit to use CharString
- workaround for gcc7+ on mac
  see https://github.com/arbor-sim/arbor/issues/562#issuecomment-409970434
- fix ucnv_2022 strcpy site
2020-03-24 11:51:20 -07:00
Shane Carr
1e24bcd721 ICU-20956 Fix monetary symbol getters in DecimalFormat
See #987
2020-03-23 20:12:14 -05:00
Andy Heninger
d7e40df284 ICU-21024 RBBI Table Builder / Coverity CID 1460598 "Dodgy Code" issue
Fix the issue identified by Coverity.
The problem was in code handling the mapping from the table build time
representation of a set of status values for an RBBI rule to the corresponding
status data as saved in a binary RBBI rule file.

The problem was benign, the rbbi data built by the incorrect code would
would still operate correctly, although it might not byte-for-byte match
that built by ICU4C. (The problem was in Java only.)
2020-03-21 13:22:23 -07:00
Frank Tang
f6622ab2f1 ICU-21016 Special handling of Spanish and Hebrew list format until CLDR get the data
See #1043
2020-03-19 19:36:15 -07:00
Jeff Genovy
fcb9b5579a ICU-21013 Fix OOM not checked in vtzone.cpp
Also change NULL to nullptr
2020-03-18 13:55:23 -07:00
H.J. Lu
9b4d092de2 ICU-21019 x86: Add .note.gnu.property section for Intel CET
Intel Control-flow Enforcement Technology (CET):

https://software.intel.com/en-us/articles/intel-sdm

contains shadow stack (SHSTK) and indirect branch tracking (IBT).  When
CET is enabled, ELF object files must be marked with .note.gnu.property
section.  GCC provides <cet.h> which can be included in assembly codes
to generate CET maker when compiling with -fcf-protection.
2020-03-18 10:55:22 -07:00
Victor Chang
3f13312e8a ICU-21020 Document unchecked exception in various number formatter classes 2020-03-17 22:52:18 -05:00
Yuta Saito
1a01c5edc1 ICU-20978 Reduce unnecessary building for tools when cross-building 2020-03-17 18:42:30 -07:00
Markus Scherer
1b71013da0 ICU-20916 late computation of roundedThreshold to ensure it is up to date 2020-03-17 18:28:32 -07:00
Steven R. Loomis
b1af32bfa7 ICU-20605 travis: make dist
- run 'make dist' after the linux clang build
2020-03-17 11:37:24 -07:00
Steven R. Loomis
cb8e278ee6 ICU-20797 fix UBS compilation error and UBS in test code
Two issues here:

- fix 2 build issue in i18n when compiling with clang++ -fsanitize=undefined
the following two symbols were not exported (and they should be):
  typeinfo for icu::CollationCacheEntry
  typeinfo for icu::numparse::impl::CodePointMatcher

- remove undefined behavior warning in NumberFormatTestTuple.. minor, but very annoying
when repeated many times during every test run. Tends to mask real errors.

> numberformattesttuple.cpp:319:5: runtime error: member access within null pointer of type 'NumberFormatTestTuple'
2020-03-17 09:11:58 -07:00
Steven R. Loomis
f63a8bb4e7 ICU-20600 build icu-data-bin files
make dist will now produce:
- icu4c-67.1-data-bin-b.zip
- icu4c-67.1-data-bin-l.zip
2020-03-17 08:30:33 -07:00
Steven R. Loomis
24b3cf182e ICU-20910 C API Change Report Tool updates
- This commit was used to generate ICU4C 65's report
- This commit was inadvertently left out of [ICU-20162]

Changes:
- fixup copyright messages
- code cleanup
- fix unreplaced '$rightVer' in born stable APIs
2020-03-17 08:04:40 -07:00
Shane F. Carr
081579544a ICU-21008 Make ant checkTest run tests in exhaustive mode
See #1021
2020-03-16 15:33:20 -05:00
Markus Scherer
524748c6bf ICU-20984 StringPiece & ByteSink overloads for char8_t* 2020-03-16 10:49:21 -07:00
Markus Scherer
d2d144a5bd ICU-21009 LocaleMatcher() order[] always set all elements 2020-03-14 14:07:29 -07:00
Jeff Genovy
5c8b142a92 ICU-21014 Fix OOM not checked in dtitvfmt.cpp and dtitvinf.cpp 2020-03-13 18:05:46 -07:00
Peter Edberg
69b3523593 ICU-20987 integrate CLDR release-37-alpha3 to master, adjust MeasureUnitTest.java tools 2020-03-13 12:01:39 -07:00
Shane F. Carr
2d83fc2278 ICU-20809 Remove FieldPositionIterator from listformatter.h 2020-03-11 21:13:45 -05:00
Frank Tang
9aed97703e ICU-21011 Debug print detail size of brk files.
To print it,
$ CXXFLAGS="-DRBBI_DEBUG" ./runConfigureICU --enable-debug --disable-release  Linux/gcc --disable-layoutex
$ make clean
$ U_RBBIDEBUG="size" make
2020-03-11 11:36:28 -07:00
Jeff Genovy
5f681ecbc7 ICU-20965 Remove VS2015 from CI builds, no longer supported by Azure Pipelines
(cherry-picked from f411b4197d)
2020-03-11 10:21:07 -07:00
Peter Edberg
d6eabe4155 ICU-20879 fix typo in tests, calender → calendar 2020-03-10 23:06:21 -07:00
Markus Scherer
d490170520 ICU-20700 uloc_acceptLanguage API doc update 2020-03-10 08:23:40 -07:00
Markus Scherer
72cd937620 ICU-20936 add LocaleMatcher.Builder.setDirection(with-one-way vs. only-two-way) 2020-03-10 08:22:28 -07:00
Peter Edberg
547030b8da ICU-20844 ICU4J, reduce restriction on minInt=minFrac=0 2020-03-09 22:31:34 -07:00
Frank Tang
9153d05987 ICU-21006 Improve output from RBBI Monkey Test in ICU4J
See #1023
2020-03-09 20:17:00 -07:00