Commit Graph

22557 Commits

Author SHA1 Message Date
Peter Edberg
b8a338fd7d ICU-20979 integrate CLDR release-37-beta2 to master 2020-04-01 18:27:51 -07:00
Peter Edberg
dcfe6c4ada ICU-20979 BRS 67rc, ICU4C API promotion 2020-04-01 16:28:42 -07:00
Daniel Ju
b718ccf17a ICU-20979 Update ICU4C readme 2020-04-01 15:43:18 -07:00
Peter Edberg
c5cabf1953 ICU-21022 Update logKnownIssue to refer to ticket for fixing in a future release 2020-04-01 15:30:37 -07:00
Jeff Genovy
822eb4e622 ICU-20979 Fixing minor MSVC warnings 2020-04-01 14:31:28 -07:00
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
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
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
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
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
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
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
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
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
shaobero
bdba9c93e4 ICU-20945 Making icudt66.dll for x64 as PE32+ 2020-03-09 10:28:50 -07:00
Markus Scherer
d2ea4513dc ICU-20700 reimplement acceptLanguage() using the LocaleMatcher; replace older accept-language-string parsing by LocalePriorityList 2020-03-08 08:01:31 -07:00
Markus Scherer
3edff03393 ICU-20915 LocaleMatcher no match: always getSupportedIndex()=-1; remove defaultLocaleIndex field; constructor check if locales are equivalent to default, not just equal; simplify locale sorting; minor builder & test deflaking 2020-03-08 07:54:46 -07:00
Frank Tang
94c9ff2089 ICU-20991 Trace BreakIterator/BreakEngine creation
See #1014
2020-03-06 14:18:43 -08:00
Shane F. Carr
01523b4da6 ICU-20974 Fix exhaustive test failures 2020-03-06 01:34:51 -08:00
Jeff Genovy
7302079653 ICU-21000 Fix abort called by DateTimePatternGenerator::getDefaultHourCycle
If you call the API getDefaultHourCycle on an empty DateTimePatternGenerator
instance (ie: no locale) then it calls UPRV_UNREACHABLE which calls abort().
We should return an error code instead of aborting.
2020-03-05 18:19:04 -08:00
Jeff Genovy
ce7e060d50 ICU-21001 Fixing problems found by running valgrind.
This makes fixes in order to run the icu4c tests (intltest, cintltst,
iotest, and icuinfo) cleanly under valgrind with --leak-check=full.
2020-03-05 14:34:20 -08:00
Jeff Genovy
bd08ba2c5b ICU-21004 Fix buffer over-read in ucal_open
The issue shows under valgrind or as an Address Sanitizer failure.
2020-03-05 14:09:34 -08:00
Shane Carr
0b7f6b1864 ICU-20974 Correctly handle extreme values of double. 2020-03-05 13:40:59 -08:00