Commit graph

31995 commits

Author SHA1 Message Date
yumaoka
3d935f2d49 ICU-21957 BRS72 Updating currency numeric code data. 2022-08-30 19:34:49 -04:00
Yoshito Umaoka
3e6219ba4d ICU-21957 BRS72 organize import statements 2022-08-30 19:34:01 -04:00
Craig Cornelius
37e2956271 ICU-21957 ICU4J API status and change report 2022-08-26 11:33:50 -07:00
Peter Edberg
49d192fefe ICU-22112 word break updates for @,colon; colon tailorings for fi,sv
See #2159
2022-08-23 12:45:55 -07:00
allenwtsu
8c669a7c2e ICU-22012 Add more Japanese words into the dictionary 2022-08-23 10:18:45 -07:00
Peter Edberg
ca9bdb9780 ICU-21957 integrate CLDR release-42-alpha2 to ICU main for 72 2022-08-22 13:07:59 -07:00
Richard Purdie
4ac7cd1393 ICU-22109 icu-config hardcodes build paths unnecessarily
The makefile hardcodes paths to the build directory into icu-config. It doesn’t
need to do this and it unnecessarily breaks build reproducibility. This patch
makes a simple change to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-22 15:02:39 -05:00
Andy Heninger
b95c6b1f3e ICU-21946 RBBI Break Cache Optimizations
Adjust RuleBasedBreakIterator::BreakCache::populateNear() to retain the cache
the cache contents in additional cases where are still useful, resulting in
improved performance.

This change is related to PR #2039, which addressed the same problem. This one
retains the cache contents in more situations.
2022-08-20 16:16:30 -07:00
yumaoka
2673378260 ICU-22118 tzdata2022b updates in icu code
See #2157
2022-08-18 19:12:31 -04:00
Henri Sivonen
59615c93f6 ICU-22115 Merge passthrough and canonical combining class data into the NFD trie for ICU4X 2022-08-16 15:53:56 -07:00
Rich Gillam
8492a82916 ICU-22105 Fixed the unit-conversion logic to work correctly with negative temperature values. 2022-08-16 10:18:24 -07:00
Elango Cheran
3ef03a4087 ICU-21947 Replace FixedDecimal with DecimalQuantity in PluralRule sample parsing
See #2007
2022-08-11 15:10:37 -07:00
Mihai Nita
0eecb25011 ICU-22101 Error prone reports "StringSplitter" error in PluralRules.java
String.split(String) and Pattern.split(CharSequence) have surprising behaviour.
"a:🅱️".split(":") produces ["a", "b"], when one would expect ["a", "", "b", ""]

The recommended fix is to use the Guava Splitter, or setting an explicit limit:
String.split(String,int limit) and Pattern.split(CharSequence,int limit)
2022-08-11 08:27:19 -07:00
Peter Edberg
d99abb6d65 ICU-21957 integrate CLDR release-42-alpha1b to ICU main for 72 2022-08-09 16:05:20 -07:00
Peter Edberg
0266970e97 ICU-21957 integrate CLDR release-42-alpha1 to ICU main for 72 2022-08-05 09:39:58 -07:00
rp9-next
4cf4116dad ICU-22074 Increase the valgrind CI timeout 2022-08-01 12:51:55 +05:30
Peter Edberg
dcd19ae9bc ICU-21957 integrate CLDR release-42-alpha0 (first with Survey Tool data) to ICU main for 72 (#2142) 2022-07-29 15:32:45 -07:00
Rich Gillam
58a51495dd ICU-22088 Various fixes to make dealing with NUMBERING_SYSTEM formatters easier. 2022-07-28 16:18:01 -07:00
Henri Sivonen
c258f3d6f8 ICU-22095 Export ICU4X normalization data with tries only without Unicode sets 2022-07-25 15:54:29 -07:00
gnrunge
86166e0a2d ICU-22075 Adds a random waiting period (0 - 179 secs) to each test that runs as
part of a high concurrency performance test setup. This will disperse commits
of performance test results into the data branch over a wider time frame and
drastically reduces the chance of data uploads failing after ten unsuccesful
commit attempts.

Test runs showed a huge drop in failed commits/retry, from a high of 113
without wait down to only 4 with the extra wait.

ICU-22075 Add comment explaining the rationale of the random
sleep period prior to test execution.
2022-07-22 08:14:58 -07:00
Rich Gillam
9d230f923c ICU-21939 Fix bogus "conflicting fields" error in DateIntervalFormat. 2022-07-18 15:16:40 -07:00
Henri Sivonen
9c72bf9758 ICU-22087 Export a non-recursive canonical decomposition supplement for ICU4X 2022-07-18 10:05:10 -07:00
Rich Gillam
a8594a401f ICU-22056 Add a new unum_hasAttribute() method. 2022-07-15 16:03:56 -07:00
Peter Edberg
6394a48d06 ICU-21957 integrate CLDR release-42-m2 (mid milestone) to ICU main for 72 2022-07-14 10:56:39 -07:00
William Marlow
9a7b0e08d0 ICU-22086 Add ibm-clang_r/ibm-clang++_r to runConfigureICU 2022-07-14 17:38:59 +00:00
Rich Gillam
4f6f087f2e ICU-22085 Fix old typo on calculating path size in loadTestData() and add a few small changes to support running ICU unit tests in Xcode. 2022-07-14 08:53:16 -07:00
Rich Gillam
721d41153e ICU-22071 Fixed DateTimePatternGenerator to respect the locale's "rg" subtag (when it has one) when determining the hour cycle. 2022-07-12 10:55:03 -07:00
Daniel Schürmann
9f358ccb24 ICU-22010 Add early check for AX_CHECK_COMPILE_FLAG
This helps to avoid missleading error message:

```
./source/configure: line 7981: syntax error near unexpected token 'newline'
./source/configure: line 7981: 'AX_CHECK_COMPILE_FLAG('
```
2022-07-12 13:30:01 +05:30
Cyndy Ishida
e2ae4f5324 ICU-22054 Remove declarations for unimplemented APIs
This patch also includes marking `=delete` on specific `normal` member functions, as opposed to compiler generated functions,
based on the description of such functions' surrounding comments.
2022-07-01 08:57:10 -07:00
Robert Bastian
783b4f7b6a ICU-22061 rename 2022-06-29 13:16:26 -07:00
gnrunge
58060eafdc ICU-22036 Adds ICU4J date formatting performance test, which is last of the
ICU4J performance tests.
2022-06-29 12:02:29 -07:00
Henri Sivonen
3cefbd55c7 ICU-22028 Export collation and normalization data for ICU4X 2022-06-28 08:37:32 -07:00
Shane F. Carr
d7c424b00f ICU-22073 Do not throw away CompactDecimalFormat's affixes 2022-06-27 12:53:22 -07:00
allenwtsu
929cf40ecb ICU-22059 Add one Thai word into the Thai dictionary
See #2112
2022-06-27 09:27:56 -07:00
gnrunge
6df8bb7307 ICU-22036 Adds ICU4J performance tests to post-merge continuous integration
workflow. Also fixes a tiny oversight in the ICU4J performance framework.
2022-06-27 08:47:48 -07:00
Frank Tang
43f2ae75ca ICU-22004 Avoid UBSan bug by casting only when success 2022-06-24 18:00:03 -07:00
Paul Harris
86cc2b98cb ICU-22002 Don't undef __STRICT_ANSI__ 2022-06-23 11:55:06 -07:00
Frank Tang
2f6cc2f7e7 ICU-22070 Return if UErrorCode is error in calendar.cpp 2022-06-23 09:26:41 -07:00
gnrunge
5a77fd9d11 ICU-21997 Fixes currency code retrieval for locale: instead of selecting the
first currency in the list now select the first legal tender currency in the
list. Or the first currency if the list has no legal tender currencies (which
is the previous behaviour).

ICU-21997 Removed an overlooked earlier unit test attempt.

ICU-21997 Shields C++ unit test from compilation when configuration flag
UCONFIG_NO_FORMATTING is set.
2022-06-16 13:49:15 -07:00
Shane Carr
c5872e7f67 ICU-22017 Fix numbering system resolution in NumberRangeFormatter
See #2085
2022-06-15 13:08:46 -07:00
gnrunge
df8fbc22e8 ICU-22036 Modify ICU4J performance test framework to work when executed by
GitHub Action. This includes introducing a new flag (-a) to indicate
invocation from command line/GHA shell, moving elements of the workflow
from Perl into the Java framework (calculation of iteration numbers), and
generating NDJSON output for GitHub Benchmark processing.
Backward compatibility with the Perl script invocation has been preserved.

ICU-22036 Adds a comment clarifying the reason why NDJSON output is generated.
2022-06-09 14:57:21 -07:00
Cyndy Ishida
1eb6f38b96 ICU-22053 Clean up usages of Macro Header Guards 2022-06-09 10:18:28 -07:00
Cyndy Ishida
0dcb1cb065 ICU-22035 Remove instances of pre c++11 default constructor prevention pattern 2022-06-08 16:28:02 -07:00
agrieve
18dd0e4c22 ICU-21960 Add missing "const" to kAttributeKey
This variable was flagged by a chromium check that looks for variables named like constants that end up in the `.data` ELF section (rather than in `.rodata`).
2022-06-08 16:56:24 +00:00
Peter Edberg
33af80e980 ICU-21957 improve logKnownIssue skip for FormattedStringBuilderTest::testInsertOverflow crash 2022-06-03 09:02:31 -07:00
Markus Scherer
c5d0fff5a0 ICU-21980 parse multiple @missing lines 2022-06-02 21:29:24 +00:00
Younies Mahmoud
d6fc9b828c ICU-21935 Add DisplayOptions to NumberFormatterSettings
See #2099
2022-05-31 13:02:01 -07:00
Peter Edberg
64b3548126 ICU-21957 integrate CLDR release-42-m1 (early milestone) to ICU main for 72 (rebased on main) +
FormattedStringBuilderTest::testInsertOverflow infolns,logKnownIssue skip for CI exhaustive crash
2022-05-27 13:50:43 -07:00
Frank Tang
fc64f8db3f ICU-22041 Fix "Africa/Casablanca" show strange LONG displayName
See #2096
2022-05-26 14:59:10 -07:00
Markus Scherer
8d5a97ae0f ICU-21935 DisplayOptions cleanup 2022-05-26 18:30:07 +00:00