]> granicus.if.org Git - icu/log
icu
4 years agoICU-20979 BRS67RC Fixed a java doc issue
Yoshito Umaoka [Mon, 30 Mar 2020 15:29:19 +0000 (11:29 -0400)]
ICU-20979 BRS67RC Fixed a java doc issue

4 years agoICU-20979 BRS67RC Clean up import statements
Yoshito Umaoka [Mon, 30 Mar 2020 14:44:28 +0000 (10:44 -0400)]
ICU-20979 BRS67RC Clean up import statements

4 years agoICU-20803 Pass ByteSink to _canonicalize().
Fredrik Roubert [Thu, 12 Mar 2020 21:45:00 +0000 (22:45 +0100)]
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.

4 years agoICU-20964 Fix small typo mistake
Younies Mahmoud [Thu, 26 Mar 2020 10:50:57 +0000 (10:50 +0000)]
ICU-20964 Fix small typo mistake

See #974

4 years agoICU-21026 fix GCC warnings of signed-int left shift
Elango Cheran [Thu, 26 Mar 2020 21:21:26 +0000 (14:21 -0700)]
ICU-21026 fix GCC warnings of signed-int left shift

4 years agoICU-20979 BRS67RC Update version numbers, regenerate configure, update ICU4C README
Daniel Ju [Thu, 26 Mar 2020 20:59:30 +0000 (13:59 -0700)]
ICU-20979 BRS67RC Update version numbers, regenerate configure, update ICU4C README

4 years agoICU-20854 Add support for more currency variants.
Shane F. Carr [Thu, 26 Mar 2020 01:01:59 +0000 (01:01 +0000)]
ICU-20854 Add support for more currency variants.

See #878

4 years agoICU-21020 Fix a typo in the LocalizedNumberRangeFormatter's documentation
Victor Chang [Thu, 26 Mar 2020 12:26:47 +0000 (12:26 +0000)]
ICU-21020 Fix a typo in the LocalizedNumberRangeFormatter's documentation

4 years agoICU-20435 Fix parallel builds with Cygwin to 3.x
Jeff Genovy [Wed, 25 Mar 2020 22:32:19 +0000 (15:32 -0700)]
ICU-20435 Fix parallel builds with Cygwin to 3.x

4 years agoICU-20418 Number skeletons: implement star wildcard; user guide fixes
Shane F. Carr [Wed, 25 Mar 2020 21:22:23 +0000 (21:22 +0000)]
ICU-20418 Number skeletons: implement star wildcard; user guide fixes

See #1060

4 years agoICU-21005 Fix exhaustive test failure in IntlTestNumberFormat.
Shane F. Carr [Thu, 26 Mar 2020 01:24:08 +0000 (20:24 -0500)]
ICU-21005 Fix exhaustive test failure in IntlTestNumberFormat.

4 years agoICU-20920 Changing "Sequence" to "Mixed" in ICU4C MeasureUnit
Shane F. Carr [Wed, 25 Mar 2020 19:21:07 +0000 (14:21 -0500)]
ICU-20920 Changing "Sequence" to "Mixed" in ICU4C MeasureUnit

4 years agoICU-21022 Use logKnownIssue to avoid TestDateFormatRoundTrip exhaustive fail
Peter Edberg [Wed, 25 Mar 2020 06:59:06 +0000 (23:59 -0700)]
ICU-21022 Use logKnownIssue to avoid TestDateFormatRoundTrip exhaustive fail

4 years agoICU-20919 Merge maint/maint-66 into master
Shane F. Carr [Wed, 25 Mar 2020 17:50:01 +0000 (12:50 -0500)]
ICU-20919 Merge maint/maint-66 into master

4 years agoICU-20435 Update Cygwin to 3.x to fix CI builds.
Jeff Genovy [Mon, 23 Mar 2020 19:31:15 +0000 (12:31 -0700)]
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.

4 years agoICU-20919 Merge branch 'maint/maint-66' into 66-merge-branch 1055/head
Shane F. Carr [Wed, 25 Mar 2020 17:42:19 +0000 (12:42 -0500)]
ICU-20919 Merge branch 'maint/maint-66' into 66-merge-branch

4 years agoICU-20912 Make C/J Currency consistent on lowercase/uppercase currency equality
Shane F. Carr [Sat, 7 Dec 2019 19:47:39 +0000 (11:47 -0800)]
ICU-20912 Make C/J Currency consistent on lowercase/uppercase currency equality

- Adds additional tests for Currency equality behavior

4 years agoICU-13790 Add data tests to verify certain chars present in pinyin, stroke
Peter Edberg [Wed, 25 Mar 2020 04:54:47 +0000 (21:54 -0700)]
ICU-13790 Add data tests to verify certain chars present in pinyin, stroke

4 years agoICU-10858 Fix missing fTimeZoneFormat assignment in SimpleDateFormat::operator= ...
Campion [Tue, 14 Jan 2020 17:07:24 +0000 (12:07 -0500)]
ICU-10858 Fix missing fTimeZoneFormat assignment in SimpleDateFormat::operator= (#963)

4 years agoICU-20979 integrate CLDR release-37-beta to master
Peter Edberg [Tue, 24 Mar 2020 18:23:09 +0000 (11:23 -0700)]
ICU-20979 integrate CLDR release-37-beta to master

4 years agoICU-20806 Removing obsolete number formatting methods.
Shane F. Carr [Tue, 24 Mar 2020 07:03:31 +0000 (07:03 +0000)]
ICU-20806 Removing obsolete number formatting methods.

See #1034

4 years agoICU-20920 Add support for CLDR 37 unit identifiers in ICU4C
Shane F. Carr [Tue, 24 Mar 2020 18:28:50 +0000 (18:28 +0000)]
ICU-20920 Add support for CLDR 37 unit identifiers in ICU4C

See #964

4 years agoICU-20976 GCC 8 fixes phase 1
Steven R. Loomis [Fri, 20 Mar 2020 21:41:01 +0000 (14:41 -0700)]
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

4 years agoICU-20956 Fix monetary symbol getters in DecimalFormat
Shane Carr [Fri, 6 Mar 2020 01:53:58 +0000 (01:53 +0000)]
ICU-20956 Fix monetary symbol getters in DecimalFormat

See #987

4 years agoICU-21024 RBBI Table Builder / Coverity CID 1460598 "Dodgy Code" issue
Andy Heninger [Fri, 20 Mar 2020 21:19:44 +0000 (14:19 -0700)]
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.)

4 years agoICU-21016 Special handling of Spanish and Hebrew list format until CLDR get the data
Frank Tang [Thu, 19 Mar 2020 01:57:29 +0000 (01:57 +0000)]
ICU-21016 Special handling of Spanish and Hebrew list format until CLDR get the data

See #1043

4 years agoICU-21013 Fix OOM not checked in vtzone.cpp
Jeff Genovy [Wed, 11 Mar 2020 08:18:11 +0000 (01:18 -0700)]
ICU-21013 Fix OOM not checked in vtzone.cpp

Also change NULL to nullptr

4 years agoICU-21019 x86: Add .note.gnu.property section for Intel CET
H.J. Lu [Tue, 10 Mar 2020 11:34:46 +0000 (04:34 -0700)]
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.

4 years agoICU-21020 Document unchecked exception in various number formatter classes
Victor Chang [Fri, 13 Mar 2020 19:19:45 +0000 (19:19 +0000)]
ICU-21020 Document unchecked exception in various number formatter classes

4 years agoICU-20978 Reduce unnecessary building for tools when cross-building
Yuta Saito [Sun, 16 Feb 2020 08:16:26 +0000 (00:16 -0800)]
ICU-20978 Reduce unnecessary building for tools when cross-building

4 years agoICU-20916 late computation of roundedThreshold to ensure it is up to date
Markus Scherer [Tue, 17 Mar 2020 22:31:31 +0000 (15:31 -0700)]
ICU-20916 late computation of roundedThreshold to ensure it is up to date

4 years agoICU-20605 travis: make dist
Steven R. Loomis [Sat, 14 Mar 2020 01:32:38 +0000 (18:32 -0700)]
ICU-20605 travis: make dist

- run 'make dist' after the linux clang build

4 years agoICU-20797 fix UBS compilation error and UBS in test code
Steven R. Loomis [Sat, 31 Aug 2019 00:31:38 +0000 (17:31 -0700)]
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'

4 years agoICU-20600 build icu-data-bin files
Steven R. Loomis [Sat, 14 Mar 2020 01:19:07 +0000 (18:19 -0700)]
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

4 years agoICU-20910 C API Change Report Tool updates
Steven R. Loomis [Wed, 2 Oct 2019 17:10:03 +0000 (10:10 -0700)]
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

4 years agoICU-21008 Make ant checkTest run tests in exhaustive mode
Shane F. Carr [Fri, 6 Mar 2020 06:21:17 +0000 (06:21 +0000)]
ICU-21008 Make ant checkTest run tests in exhaustive mode

See #1021

4 years agoICU-20984 StringPiece & ByteSink overloads for char8_t*
Markus Scherer [Fri, 13 Mar 2020 02:21:24 +0000 (19:21 -0700)]
ICU-20984 StringPiece & ByteSink overloads for char8_t*

4 years agoICU-21009 LocaleMatcher() order[] always set all elements
Markus Scherer [Fri, 13 Mar 2020 22:04:11 +0000 (15:04 -0700)]
ICU-21009 LocaleMatcher() order[] always set all elements

4 years agoICU-21014 Fix OOM not checked in dtitvfmt.cpp and dtitvinf.cpp
Jeff Genovy [Wed, 11 Mar 2020 08:33:27 +0000 (01:33 -0700)]
ICU-21014 Fix OOM not checked in dtitvfmt.cpp and dtitvinf.cpp

4 years agoICU-20987 integrate CLDR release-37-alpha3 to master, adjust MeasureUnitTest.java...
Peter Edberg [Fri, 13 Mar 2020 03:19:25 +0000 (20:19 -0700)]
ICU-20987 integrate CLDR release-37-alpha3 to master, adjust MeasureUnitTest.java tools

4 years agoICU-20809 Remove FieldPositionIterator from listformatter.h
Shane F. Carr [Tue, 10 Mar 2020 02:33:51 +0000 (21:33 -0500)]
ICU-20809 Remove FieldPositionIterator from listformatter.h

4 years agoICU-21011 Debug print detail size of brk files.
Frank Tang [Tue, 10 Mar 2020 20:26:46 +0000 (13:26 -0700)]
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

4 years agoICU-20965 Remove VS2015 from CI builds, no longer supported by Azure Pipelines release-66-1
Jeff Genovy [Tue, 10 Mar 2020 00:38:44 +0000 (17:38 -0700)]
ICU-20965 Remove VS2015 from CI builds, no longer supported by Azure Pipelines

(cherry-picked from f411b4197db5c86fb52cbd788c0646e513303828)

4 years agoICU-20879 fix typo in tests, calender → calendar
Peter Edberg [Tue, 10 Mar 2020 18:05:55 +0000 (11:05 -0700)]
ICU-20879 fix typo in tests, calender → calendar

4 years agoICU-20700 uloc_acceptLanguage API doc update
Markus Scherer [Sun, 8 Mar 2020 15:28:13 +0000 (08:28 -0700)]
ICU-20700 uloc_acceptLanguage API doc update

4 years agoICU-20936 add LocaleMatcher.Builder.setDirection(with-one-way vs. only-two-way)
Markus Scherer [Mon, 9 Mar 2020 23:57:23 +0000 (16:57 -0700)]
ICU-20936 add LocaleMatcher.Builder.setDirection(with-one-way vs. only-two-way)

4 years agoICU-20844 ICU4J, reduce restriction on minInt=minFrac=0
Peter Edberg [Tue, 10 Mar 2020 03:44:43 +0000 (20:44 -0700)]
ICU-20844 ICU4J, reduce restriction on minInt=minFrac=0

4 years agoICU-21006 Improve output from RBBI Monkey Test in ICU4J
Frank Tang [Mon, 9 Mar 2020 16:36:52 +0000 (16:36 +0000)]
ICU-21006 Improve output from RBBI Monkey Test in ICU4J

See #1023

4 years agoICU-20975 update KEYS
Steven R. Loomis [Fri, 28 Feb 2020 20:48:12 +0000 (12:48 -0800)]
ICU-20975 update KEYS

- add new key 4569BBC09DA846FC91CBD21CE1BBA44593CF2AE0

4 years agoICU-20626 Update Readme badges to add CI-Valgrind pipeline
Jeff Genovy [Mon, 9 Mar 2020 18:21:38 +0000 (11:21 -0700)]
ICU-20626 Update Readme badges to add CI-Valgrind pipeline

4 years agoICU-20626 Remove "pr:none" from Valgrind CI config to enable comment triggers.
Jeff Genovy [Mon, 9 Mar 2020 19:10:15 +0000 (12:10 -0700)]
ICU-20626 Remove "pr:none" from Valgrind CI config to enable comment triggers.

It seems that having "pr:none" completely disables running on PRs, even
when explicitly triggered by a comment.

4 years agoICU-20965 Remove VS2015 from CI builds, no longer supported by Azure Pipelines
Jeff Genovy [Mon, 9 Mar 2020 18:52:13 +0000 (11:52 -0700)]
ICU-20965 Remove VS2015 from CI builds, no longer supported by Azure Pipelines

4 years agoICU-20945 Making icudt66.dll for x64 as PE32+
shaobero [Thu, 27 Feb 2020 07:20:52 +0000 (12:50 +0530)]
ICU-20945 Making icudt66.dll for x64 as PE32+

4 years agoICU-20626 Adding valgrind to the CI tests for ICU4C.
Jeff Genovy [Mon, 9 Mar 2020 07:38:51 +0000 (00:38 -0700)]
ICU-20626 Adding valgrind to the CI tests for ICU4C.

This adds a separate CI pipeline for running valgrind on ICU4C.

The Azure Pipeline images don't have valgrind installed by default though,
so we need to install valgrind first.

We also add `--error-exitcode=1` to the valgrind options, so that any
errors found by valgrind will fail the CI build.

4 years agoICU-20700 reimplement acceptLanguage() using the LocaleMatcher; replace older accept...
Markus Scherer [Sat, 7 Mar 2020 01:23:17 +0000 (17:23 -0800)]
ICU-20700 reimplement acceptLanguage() using the LocaleMatcher; replace older accept-language-string parsing by LocalePriorityList

4 years agoICU-20915 LocaleMatcher no match: always getSupportedIndex()=-1; remove defaultLocale...
Markus Scherer [Thu, 5 Mar 2020 23:03:42 +0000 (15:03 -0800)]
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

4 years agoICU-20991 Trace BreakIterator/BreakEngine creation
Frank Tang [Fri, 6 Mar 2020 19:17:02 +0000 (19:17 +0000)]
ICU-20991 Trace BreakIterator/BreakEngine creation

See #1014

4 years agoICU-20974 Fix exhaustive test failures
Shane F. Carr [Fri, 6 Mar 2020 06:16:02 +0000 (22:16 -0800)]
ICU-20974 Fix exhaustive test failures

4 years agoICU-21000 Fix abort called by DateTimePatternGenerator::getDefaultHourCycle
Jeff Genovy [Thu, 5 Mar 2020 22:33:13 +0000 (14:33 -0800)]
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.

4 years agoICU-21001 Fixing problems found by running valgrind.
Jeff Genovy [Tue, 3 Mar 2020 08:44:59 +0000 (00:44 -0800)]
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.

4 years agoICU-21004 Fix buffer over-read in ucal_open
Jeff Genovy [Mon, 2 Mar 2020 00:31:55 +0000 (16:31 -0800)]
ICU-21004 Fix buffer over-read in ucal_open

The issue shows under valgrind or as an Address Sanitizer failure.

4 years agoICU-20974 Correctly handle extreme values of double.
Shane Carr [Sat, 15 Feb 2020 02:24:14 +0000 (18:24 -0800)]
ICU-20974 Correctly handle extreme values of double.

4 years agoICU-20980 integrate CLDR release-36-1 (final) to maint-66
Peter Edberg [Thu, 5 Mar 2020 18:47:56 +0000 (10:47 -0800)]
ICU-20980 integrate CLDR release-36-1 (final) to maint-66

4 years agoICU-20967 add millisecond to DateIntervalFormat
Frank Tang [Sat, 22 Feb 2020 01:41:58 +0000 (01:41 +0000)]
ICU-20967 add millisecond to DateIntervalFormat

See #978

4 years agoICU-20961 Return correct currency plural pattern from DecimalFormat
Shane Carr [Sat, 15 Feb 2020 03:18:43 +0000 (19:18 -0800)]
ICU-20961 Return correct currency plural pattern from DecimalFormat

4 years agoICU-21003 Fix CI config to use new Git LFS syntax, add timeout to ICU4J exhaustive...
Jeff Genovy [Tue, 3 Mar 2020 08:30:41 +0000 (00:30 -0800)]
ICU-21003 Fix CI config to use new Git LFS syntax, add timeout to ICU4J exhaustive test

(cherry-picked from commit eb92d41a1cb42989385a223c9d53de2064234e5d)

4 years agoICU-21003 Fix CI config to use new Git LFS syntax, add timeout to ICU4J exhaustive...
Jeff Genovy [Tue, 3 Mar 2020 08:30:41 +0000 (00:30 -0800)]
ICU-21003 Fix CI config to use new Git LFS syntax, add timeout to ICU4J exhaustive test

4 years agoICU-20980 BRS66GA Update version numbers and README files
Daniel Ju [Mon, 2 Mar 2020 21:04:49 +0000 (13:04 -0800)]
ICU-20980 BRS66GA Update version numbers and README files

4 years agoICU-20987 integrate CLDR release-37-alpha2 to master (new tools)
Peter Edberg [Tue, 3 Mar 2020 06:01:10 +0000 (22:01 -0800)]
ICU-20987 integrate CLDR release-37-alpha2 to master (new tools)

4 years agoICU-20987 integrate CLDR release-37-alpha1 to master (using new tooling)
Peter Edberg [Thu, 27 Feb 2020 20:10:19 +0000 (12:10 -0800)]
ICU-20987 integrate CLDR release-37-alpha1 to master (using new tooling)

4 years agoICU-20975 BRS66rc Fix warnings found when building ICU4C samples. release-66-rc
Jeff Genovy [Wed, 26 Feb 2020 18:59:16 +0000 (10:59 -0800)]
ICU-20975 BRS66rc Fix warnings found when building ICU4C samples.

4 years agoICU-20975 BRS ICU 66rc - J API signature, API change report and serialization test...
Yoshito Umaoka [Tue, 25 Feb 2020 02:48:56 +0000 (21:48 -0500)]
ICU-20975 BRS ICU 66rc - J API signature, API change report and serialization test data

- Added ICU 66.1 serialization test data and removed ICU 61.1 serialization test data.
- Added ICU 66 API signature file and removed ICU 56 API signature file
- Updated API change report

4 years agoICU-20919 Merge maint/maint-66 into master
Shane F. Carr [Sat, 22 Feb 2020 05:21:26 +0000 (21:21 -0800)]
ICU-20919 Merge maint/maint-66 into master

4 years agoICU-20919 Merge branch 'maint/maint-66' into maint-66-merge 998/head
Shane Carr [Thu, 20 Feb 2020 21:16:24 +0000 (13:16 -0800)]
ICU-20919 Merge branch 'maint/maint-66' into maint-66-merge

Conflicts:
icu4j/main/shared/data/icudata.jar

4 years agoICU-20693 Update README.txt in lib directory to lessen risk of failure when setting...
David Beaumont [Fri, 21 Feb 2020 11:33:00 +0000 (11:33 +0000)]
ICU-20693 Update README.txt in lib directory to lessen risk of failure when setting up libs.

See #999

4 years agoICU-20972 Fix invalid conversion from const char8_t* to const char* (C++20)
Laurent Stacul [Tue, 11 Feb 2020 15:37:41 +0000 (15:37 +0000)]
ICU-20972 Fix invalid conversion from const char8_t* to const char* (C++20)

4 years agoICU-20893 Unicode 13 data 2020feb19
Markus Scherer [Wed, 19 Feb 2020 23:17:30 +0000 (15:17 -0800)]
ICU-20893 Unicode 13 data 2020feb19

4 years agoICU-20969 Fix file permissions (-x) on ICU4C source files.
Jeff Genovy [Mon, 10 Feb 2020 08:00:40 +0000 (00:00 -0800)]
ICU-20969 Fix file permissions (-x) on ICU4C source files.

4 years agoICU-20975 BRS66rc update Unicode license copyright
Peter Edberg [Wed, 19 Feb 2020 22:44:31 +0000 (14:44 -0800)]
ICU-20975 BRS66rc update Unicode license copyright

4 years agoICU-20842 Fix library names in pkg-config files on Windows (mingw-w64)
Vincent Torri [Thu, 13 Feb 2020 12:15:12 +0000 (13:15 +0100)]
ICU-20842 Fix library names in pkg-config files  on Windows (mingw-w64)

since the move of the DLL to bin/ the library names in .pc files is
wrong. With ICU 65.1, icu-uc.pc contains

Libs: -L${libdir} -licuuc65 -licudt65

the version number should not appear. Indeed, the linker looks for the
libraries in $prefix/lib in the following order (see [1]):

libxxx.dll.a
xxx.dll.a
libxxx.a
cygxxx.dll
libxxx.dll
xxx.dll

As the is only the import library with no versioning (which is normal),
the is a link error when using ICU pc files.

[1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Using_ld_the_GNU_Linker/win32.html

4 years agoICU-20975 update API Change Report for 66
Steven R. Loomis [Wed, 19 Feb 2020 18:52:47 +0000 (10:52 -0800)]
ICU-20975 update API Change Report for 66

- Compared against ICU4C 65.1
- no substantive change. Just dropped 'preview'

4 years agoICU-20852 Fix Makefile to build on Sparc Solaris
Mojca Miklavec [Tue, 14 Jan 2020 21:10:25 +0000 (22:10 +0100)]
ICU-20852 Fix Makefile to build on Sparc Solaris

4 years agoICU-20975 integrate CLDR release-36-1-beta to maint-66
Peter Edberg [Wed, 19 Feb 2020 05:17:56 +0000 (21:17 -0800)]
ICU-20975 integrate CLDR release-36-1-beta to maint-66

4 years agoICU-20876 Regex Grapheme Cluster matching with Break Iterators.
Andy Heninger [Fri, 14 Feb 2020 05:40:28 +0000 (21:40 -0800)]
ICU-20876 Regex Grapheme Cluster matching with Break Iterators.

Change the implementation of grapheme cluster matching in regex to use an ICU
break iterator instead of a little one-off state machine.

The old implementation had fallen behind the Unicode UAX-29 specification for
graphem clusters, and could not be easily updated.

The implementation follows the same general pattern that is used for finding
word boundaries with an ICU break iterator. In reviewing that code, a few
improvements to the handling of ICU error codes were also made.

Also note that this change adds a new dependency on Break Iteration.  Regex
patterns that previously would work with ICU builds that were configured with
no break iteration will now fail. But only if they include \X for matching
grapheme cluster boundaries.

4 years agoICU-20975 BRS66RC Update version numbers, README files, configure
Daniel Ju [Wed, 12 Feb 2020 21:48:29 +0000 (13:48 -0800)]
ICU-20975 BRS66RC Update version numbers, README files, configure

4 years agoICU-20322 Do "make install" on the CI Builds for MinGW.
Jeff Genovy [Wed, 5 Feb 2020 02:38:50 +0000 (18:38 -0800)]
ICU-20322 Do "make install" on the CI Builds for MinGW.

Also recursively list out the contents of the install directory,
and run the icuinfo.exe program.

4 years agoICU-20322 Add icudt*.dll and srtest.exe to .gitignore file.
Jeff Genovy [Tue, 4 Feb 2020 08:43:11 +0000 (00:43 -0800)]
ICU-20322 Add icudt*.dll and srtest.exe to .gitignore file.

4 years agoICU-20322 On MinGW, move the DLLs to the "bin" directory.
Jeff Genovy [Tue, 7 Jan 2020 09:38:21 +0000 (01:38 -0800)]
ICU-20322 On MinGW, move the DLLs to the "bin" directory.

This change builds on Vincent Torri's changes.

This installs the ICU DLL files in $prefix/bin instead of $prefix/lib.

Note: In order to disable this change in behavior you can edit
the "mh-mingw*" file(s). If you set the variable MINGW_MOVEDLLSTOBINDIR
to NO instead of YES, then it will retain the previous behavior of
installing the DLLs into the bin folder.

4 years agoICU-20322 Install dll in $prefix/bin instead of $prefix/lib
Vincent Torri [Fri, 13 Dec 2019 21:40:28 +0000 (22:40 +0100)]
ICU-20322 Install dll in $prefix/bin instead of $prefix/lib

4 years agoICU-20895 ICU_TIMEZONE_FILES_DIR_PREFIX_ENV_VAR
Andrew Paprocki [Tue, 12 Nov 2019 00:46:05 +0000 (19:46 -0500)]
ICU-20895 ICU_TIMEZONE_FILES_DIR_PREFIX_ENV_VAR

Adds `ICU_TIMEZONE_FILES_DIR_PREFIX_ENV_VAR`, similar to
`ICU_DATA_DIR_PREFIX_ENV_VAR`, that specifies an environment variable
to retrieve and prepend to the ICU time zone data file path.

4 years agoICU-20834 Implement UTS35 Locale ID Canonicalization
Frank Tang [Tue, 11 Feb 2020 06:45:57 +0000 (06:45 +0000)]
ICU-20834 Implement UTS35 Locale ID Canonicalization

See #951

4 years agoICU-20738 Best-match pattern for 'sS' uses <appendItem> data
Mihai Nita [Fri, 7 Feb 2020 23:49:52 +0000 (15:49 -0800)]
ICU-20738 Best-match pattern for 'sS' uses <appendItem> data

4 years agoICU-20954 Fix currency spacing in suffix.
Shane Carr [Thu, 30 Jan 2020 02:33:14 +0000 (18:33 -0800)]
ICU-20954 Fix currency spacing in suffix.

4 years agoICU-20953 Tell GitHub to treat JSON as JSONC to fix syntax highlighting for comments.
Jeff Genovy [Wed, 29 Jan 2020 19:03:20 +0000 (11:03 -0800)]
ICU-20953 Tell GitHub to treat JSON as JSONC to fix syntax highlighting for comments.

4 years agoICU-13836 C++ port of adding exponent for better plurals for compact decimal format
Elango Cheran [Sat, 25 Jan 2020 02:12:17 +0000 (18:12 -0800)]
ICU-13836 C++ port of adding exponent for better plurals for compact decimal format

4 years agoICU-20939 Fix problem w regexp \b boundaries & UTF-8 text
Andy Heninger [Sun, 2 Feb 2020 04:20:37 +0000 (20:20 -0800)]
ICU-20939 Fix problem w regexp \b boundaries & UTF-8 text

In regular expressions, when testing for word boundaries with \b, the
boundaries were incorrect when in Unicode mode, meaning that an ICU word break
iterator is being used to find the boundaries, and the text being matched is
UTF-8 encoded.

The bug stemmed from a misunderstanding of how string indexes work with UText
and break iterators, leading to the inclusion of code to convert from UTF-8 to
UTF-16 indexing, when what was wanted was the original UTF-8 index everywhere.
Removing the indexing conversion fixes the problem.

4 years agoICU-20958 Prevent SEGV_MAPERR in append
Frank Tang [Sat, 1 Feb 2020 02:39:04 +0000 (02:39 +0000)]
ICU-20958 Prevent SEGV_MAPERR in append

See #971

4 years agoICU-11548 Improve regex static UnicodeSets handling
Andy Heninger [Thu, 24 Oct 2019 21:50:25 +0000 (14:50 -0700)]
ICU-11548 Improve regex static UnicodeSets handling

Compiled regular expression patterns make use of several shared common
UnicodeSets. This change simplifies the creation and use of these
static UnicodeSets.

- Pointer fields to the static sets are removed from the compiled patterns,
  and the static variables are accessed directly. The deleted pointers
  were a hold-over from earlier code that did not use shared statics.

- The UnicodeSet pattern literals are changed from hex constants to
  u"string literals".

- The size of fRuleSets (from regexst.h) is changed from a hard-coded 10
  to the number of UnicodeSets actually required. Doing this required
  a change to regexcst.pl to export the required size. Changing and
  rerunning this perl code resulted in massive but benign changes to
  the generated file regexcst.h, the result of perl having changed its
  order of enumeration of hashes since the file was last regenerated.

- UnicodeSets are frozen when possible. Should result in faster matching.

4 years agoICU-20744 Add VS Code configuration files for c++
Younies [Tue, 21 Jan 2020 13:01:57 +0000 (13:01 +0000)]
ICU-20744 Add VS Code configuration files for c++

See #899

4 years agoICU-20938 Add --skip-dll-export option to genccode to prevent exporting statically...
Egor Pugin [Wed, 22 Jan 2020 19:55:54 +0000 (22:55 +0300)]
ICU-20938 Add --skip-dll-export option to genccode to prevent exporting statically linked ICU data from executables.