]> granicus.if.org Git - icu/log
icu
4 years agoRename TempSingleUnit -> SingleUnitImpl
Shane F. Carr [Wed, 18 Mar 2020 00:30:11 +0000 (19:30 -0500)]
Rename TempSingleUnit -> SingleUnitImpl

4 years agoRevert changes to LocalArray (localpointer.h)
Shane F. Carr [Wed, 18 Mar 2020 00:29:59 +0000 (19:29 -0500)]
Revert changes to LocalArray (localpointer.h)

4 years agoFix compile error
Shane Carr [Sun, 15 Mar 2020 22:10:27 +0000 (15:10 -0700)]
Fix compile error

4 years agoMerge remote-tracking branch 'upstream/master' into unit-id
Shane F. Carr [Fri, 13 Mar 2020 23:05:31 +0000 (18:05 -0500)]
Merge remote-tracking branch 'upstream/master' into unit-id

4 years agoTouch-ups to the API surface
Shane F. Carr [Fri, 13 Mar 2020 23:03:59 +0000 (18:03 -0500)]
Touch-ups to the API surface

4 years agoUpdate measunit_impl.h
Shane F. Carr [Fri, 13 Mar 2020 04:24:38 +0000 (23:24 -0500)]
Update measunit_impl.h

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-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

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-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 agoMerge remote-tracking branch 'upstream/master' into unit-id
Shane Carr [Sat, 15 Feb 2020 02:21:09 +0000 (18:21 -0800)]
Merge remote-tracking branch 'upstream/master' into unit-id

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 agoAdd tests for large powers
Shane Carr [Sat, 1 Feb 2020 02:34:33 +0000 (18:34 -0800)]
Add tests for large powers

4 years agoMove MSVC macro down in file
Shane Carr [Sat, 1 Feb 2020 02:15:35 +0000 (18:15 -0800)]
Move MSVC macro down in file

4 years agoMerge pull request #15 from jefgen/jefgen/disable-warning-for-MSVC
Shane F. Carr [Sat, 1 Feb 2020 02:12:52 +0000 (18:12 -0800)]
Merge pull request #15 from jefgen/jefgen/disable-warning-for-MSVC

Disable warning 4661 for MSVC for NumberFormatterSettings and [Un]loc…

4 years agoDisable warning 4661 for MSVC for NumberFormatterSettings and [Un]localizedNumberForm...
Jeff Genovy [Wed, 29 Jan 2020 03:46:39 +0000 (19:46 -0800)]
Disable warning 4661 for MSVC for NumberFormatterSettings and [Un]localizedNumberFormatter.

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 agoFix docs build
Shane Carr [Thu, 30 Jan 2020 22:49:06 +0000 (14:49 -0800)]
Fix docs build

4 years agoFixing test failures.
Shane Carr [Thu, 30 Jan 2020 02:31:56 +0000 (18:31 -0800)]
Fixing test failures.

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 agoMaking sequence units composed of single units. Renaming "power" to "dimensionality".
Shane Carr [Wed, 29 Jan 2020 04:51:13 +0000 (20:51 -0800)]
Making sequence units composed of single units. Renaming "power" to "dimensionality".

4 years agoFix Doxygen warnings
Shane Carr [Fri, 24 Jan 2020 17:18:20 +0000 (09:18 -0800)]
Fix Doxygen warnings

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.

4 years agoICU-20099 Implementing Java ListFormatter proposals for ICU 67.
Shane Carr [Sat, 16 Nov 2019 07:14:54 +0000 (07:14 +0000)]
ICU-20099 Implementing Java ListFormatter proposals for ICU 67.

See #904

4 years agoICU-20767 Potential negative index access in one of the sample codes
Keita Suzuki [Fri, 9 Aug 2019 07:51:49 +0000 (16:51 +0900)]
ICU-20767 Potential negative index access in one of the sample codes

4 years agoICU-13836 Represent suppressed exponent for better plural support
Elango Cheran [Tue, 26 Nov 2019 23:42:24 +0000 (15:42 -0800)]
ICU-13836 Represent suppressed exponent for better plural support

4 years agoFix depstest by separating number_skeletons into its own group
Shane F. Carr [Tue, 21 Jan 2020 22:31:28 +0000 (23:31 +0100)]
Fix depstest by separating number_skeletons into its own group

4 years agoUse new unit identifier parsing code in number skeletons
Shane F. Carr [Tue, 21 Jan 2020 22:12:49 +0000 (23:12 +0100)]
Use new unit identifier parsing code in number skeletons

4 years agoICU-20693 Tidyups and small fixes for ICU conversion code
David Beaumont [Mon, 20 Jan 2020 00:13:20 +0000 (01:13 +0100)]
ICU-20693 Tidyups and small fixes for ICU conversion code

4 years agoICU-20919 Merge maint/maint-66 to master
Shane F. Carr [Mon, 20 Jan 2020 19:44:41 +0000 (20:44 +0100)]
ICU-20919 Merge maint/maint-66 to master

4 years agoICU-20934 Fix TZ test error 967/head
Frank Tang [Sat, 4 Jan 2020 02:08:51 +0000 (18:08 -0800)]
ICU-20934 Fix TZ test error

Somehow these tests are now fail on trunks.
Per https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html
     Brazil has canceled DST and will stay on standard time indefinitely.

Cherry-picked from: 11ad8d69fb4c70e529c592d37df5a30c925b6af4

4 years agoICU-20942 Update Apache Ivy to 2.5.0 to fix failing ICU4J builds.
Jeff Genovy [Sat, 18 Jan 2020 08:22:54 +0000 (00:22 -0800)]
ICU-20942 Update Apache Ivy to 2.5.0 to fix failing ICU4J builds.

4 years agoAdd U_HIDE_DRAFT_API
Shane F. Carr [Fri, 17 Jan 2020 18:27:38 +0000 (19:27 +0100)]
Add U_HIDE_DRAFT_API

4 years agoFix dependencies.txt
Shane F. Carr [Fri, 17 Jan 2020 18:22:15 +0000 (19:22 +0100)]
Fix dependencies.txt

4 years agoMove measunit_extra.o to avoid merge conflict
Shane F. Carr [Fri, 17 Jan 2020 16:32:52 +0000 (17:32 +0100)]
Move measunit_extra.o to avoid merge conflict

4 years agoChange public method to use StringPiece
Shane F. Carr [Fri, 17 Jan 2020 16:13:16 +0000 (17:13 +0100)]
Change public method to use StringPiece

4 years agoImplementing sequence units and fixing bugs
Shane F. Carr [Thu, 16 Jan 2020 23:24:56 +0000 (00:24 +0100)]
Implementing sequence units and fixing bugs

4 years agoRenaming and refactoring
Shane F. Carr [Thu, 16 Jan 2020 21:17:46 +0000 (22:17 +0100)]
Renaming and refactoring

4 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 20:05:27 +0000 (21:05 +0100)]
Checkpoint

4 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 17:31:09 +0000 (18:31 +0100)]
Checkpoint

4 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 17:15:40 +0000 (18:15 +0100)]
Checkpoint

4 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 15:08:53 +0000 (16:08 +0100)]
Checkpoint

4 years agoNext checkpoint
Shane F. Carr [Wed, 15 Jan 2020 14:17:12 +0000 (15:17 +0100)]
Next checkpoint

4 years agoAdditional WIP
Shane F. Carr [Tue, 14 Jan 2020 22:25:36 +0000 (23:25 +0100)]
Additional WIP

4 years agoAdding measunit_extra.cpp with basic trie
Shane F. Carr [Tue, 14 Jan 2020 15:47:18 +0000 (16:47 +0100)]
Adding measunit_extra.cpp with basic trie

4 years agoRemoving fCurrency to always use fId
Shane F. Carr [Tue, 14 Jan 2020 14:12:27 +0000 (15:12 +0100)]
Removing fCurrency to always use fId

4 years agoIntermediate work on new unit identifiers
Shane F. Carr [Mon, 13 Jan 2020 20:52:52 +0000 (21:52 +0100)]
Intermediate work on new unit identifiers

4 years agoICU-20665 Removing number-dependence from ICU4C FormattedStringBuilder fields.
Shane Carr [Wed, 20 Nov 2019 02:22:20 +0000 (02:22 +0000)]
ICU-20665 Removing number-dependence from ICU4C FormattedStringBuilder fields.

See #727

4 years agoICU-20673 Allow built-in translit ID w/o data.
Frank Yung-Fong Tang [Fri, 17 Jan 2020 01:57:49 +0000 (01:57 +0000)]
ICU-20673 Allow built-in translit ID w/o data.

See #958

4 years agoICU-20418 Implementing concise number skeletons in ICU4J.
Shane Carr [Sat, 14 Dec 2019 01:30:31 +0000 (17:30 -0800)]
ICU-20418 Implementing concise number skeletons in ICU4J.

4 years agoICU-20418 Fix indentation of CHECK_NULL in number_skeletons.cpp
Shane Carr [Fri, 13 Dec 2019 01:37:09 +0000 (17:37 -0800)]
ICU-20418 Fix indentation of CHECK_NULL in number_skeletons.cpp

4 years agoICU-20418 Adding concise number skeletons in ICU4C
Shane Carr [Thu, 12 Dec 2019 04:45:54 +0000 (20:45 -0800)]
ICU-20418 Adding concise number skeletons in ICU4C

4 years agoICU-20418 Adding *internal* parse method for core unit identifiers.
Shane Carr [Thu, 12 Dec 2019 04:46:18 +0000 (20:46 -0800)]
ICU-20418 Adding *internal* parse method for core unit identifiers.

Also see ICU-20286

4 years agoICU-20921 Adding find and compare to StringPiece
Shane Carr [Thu, 12 Dec 2019 04:46:08 +0000 (20:46 -0800)]
ICU-20921 Adding find and compare to StringPiece

4 years agoICU-20875 Include <cstddef> for max_align_t
Joshua Root [Mon, 21 Oct 2019 19:18:00 +0000 (06:18 +1100)]
ICU-20875 Include <cstddef> for max_align_t

The definition of max_align_t is not guaranteed to be available unless
the appropriate header is included. Since use of <stddef.h> from C++ is
deprecated, that's <cstddef>, and max_align_t is thus defined under the
std namespace rather than in the global namespace.

4 years agoICU-20442 Adding support for hour-cycle on DateTimePatternGenerator
Caio Lima [Fri, 13 Dec 2019 03:14:28 +0000 (19:14 -0800)]
ICU-20442 Adding support for hour-cycle on DateTimePatternGenerator

DateTimePatternGenerator needs to consider the hour-cycle preferred by
Locale. This means that we need to to override the hour-cycle when a
locale contains "hc" keyword. This patch is adding such functionality.
In addition, "DateTimePatternGenerator::adjustFieldTypes" should adjust
hour field to properly follow tr35
spec(https://www.unicode.org/reports/tr35/tr35-dates.html#dfst-hour).

4 years agoICU-20928 Fix incorrect javadoc reference in DecimalFormatProperties
Nikita Iashchenko [Sat, 21 Dec 2019 16:24:37 +0000 (16:24 +0000)]
ICU-20928 Fix incorrect javadoc reference in DecimalFormatProperties

ParseMode.COMPATIBILITY was eventually renamed to
ParseMode.JAVA_COMPATIBILITY but it's javadoc was not updated.

4 years agoICU-20871 Fixed: no rule was defined to create the $(OUTDIR) directory if it didn...
Smaarn [Wed, 16 Oct 2019 20:52:05 +0000 (22:52 +0200)]
ICU-20871 Fixed: no rule was defined to create the $(OUTDIR) directory if it didn't exist.

This would cause failures during cross compilation cases such as:

make[6]: Leaving directory '/spksrc/spk/bazarr/work-qoriq-6.1/icu/source/data'
make[5]: *** No rule to make target 'out', needed by 'out/icudt64b.dat'.  Stop.

4 years agoICU-20924 Use pkg-config to generate the path to pkgdata.inc
Hugh McMaster [Mon, 23 Dec 2019 11:11:05 +0000 (22:11 +1100)]
ICU-20924 Use pkg-config to generate the path to pkgdata.inc

4 years agoICU-20934 Fix TZ test error
Frank Tang [Sat, 4 Jan 2020 02:08:51 +0000 (18:08 -0800)]
ICU-20934 Fix TZ test error

Somehow these tests are now fail on trunks.
Per https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html
     Brazil has canceled DST and will stay on standard time indefinitely.