Commit graph

5905 commits

Author SHA1 Message Date
Shane F. Carr
7fd2844d10 ICU-21540 Fix FormattedList test and behavior regression 2021-04-06 16:55:30 -05:00
Frank Tang
0ba723ded2 ICU-21563 Fix delete-incomplete on windows
See #1671
2021-03-31 12:02:58 -07:00
Frank Tang
78c3e1ed6d ICU-21562 Add include to fix std:abs build problem 2021-03-30 21:33:22 -07:00
Markus Scherer
46720c4120 ICU-21559 more guards for self-assignment 2021-03-30 12:19:11 -07:00
Shane F. Carr
0bd125eb45 ICU-21480 Update double-conversion 2021-03-17 19:45:13 -05:00
Peter Edberg
34030d911e ICU-21480 brs 69rc, adjust nonstable API macros 2021-03-15 09:43:54 -07:00
Shane F. Carr
c26d99b3a6 ICU-21330 Use =0 and =1 plural forms in compact notation
See #1632
2021-03-11 17:34:35 -06:00
Peter Edberg
3dd1ca10df ICU-21532 In UTimeZoneLocalOption enum, add dummy value if U_HIDE_DRAFT_API 2021-03-11 10:40:24 -08:00
Frank Tang
63b9a8aea8 ICU-21041 Fix fuzzer memory read error.
See #1622
2021-03-10 15:26:52 -08:00
Hugo van der Merwe
54b896962b ICU-21123 Calculate built-in units' gender when CLDR lacks the data
See #1620
2021-03-10 20:09:51 +01:00
Elango Cheran
c263b5b370 ICU-21519 Add PluralOperand 'c' as alias to 'e', parse FixedDecimal strings 2021-03-09 16:55:33 -08:00
Yoshito Umaoka
33104d7eab ICU-20918 ucal_openTimeZones() to call ucal_openTimeZoneIDEnumeration()
See #1630
2021-03-09 14:22:16 -05:00
Hugo van der Merwe
864682f5dd ICU-21349 Delete MeasureUnitImpl copy constructor, drop an indirection 2021-03-09 20:04:57 +01:00
Hugo van der Merwe
119dfa4f24 ICU-21123 Support FormattedNumber::getGender() for "short" and "narrow" formatting too
See #1617
2021-03-05 00:32:30 +01:00
Shane F. Carr
b79c299f90 ICU-20886 Implement trailingZeroDisplay
See #1583
2021-03-04 08:19:59 -07:00
Frank Tang
d7fd8848b7 ICU-21222 Fix Era in Interval format
See #1373
2021-03-03 17:25:19 -08:00
Rich Gillam
be039c5936 ICU-21480 Promoted all @draft ICU 67 APIs to @stable ICU 67. 2021-03-03 17:21:42 -08:00
Hugo van der Merwe
56fb139fc0 ICU-20941 Port Arbitrary Units support from ICU4C to ICU4J
See #1597
2021-03-02 20:34:19 +01:00
yumaoka
53aa0505c5 ICU-21372 getOffsetFromLocal for C and C++
See #1610
2021-03-02 10:21:28 -08:00
Hugo van der Merwe
c231cf7c4f ICU-21349 ICU4J units cleanup: eclipse warnings, unsuppress one warning
toString() now uses category, so @SuppressWarnings("unused") is no
longer needed.
2021-03-02 18:54:22 +01:00
Shane F. Carr
e8dfea9bb6 ICU-21493 Add more rounding modes in ICU4C
See #1575
2021-02-27 11:25:08 -07:00
Shane F. Carr
d7db6c1f86 ICU-20019 Implement withSignificantDigits option
See #1598
2021-02-27 02:01:21 -07:00
Shane F. Carr
e85938bd2c ICU-21203 ICU-21198 ICU-21479 Improve docs discoverability for NumberFormatter
See #1559
2021-02-25 14:16:25 -07:00
Hugo van der Merwe
8b48e1862c ICU-20941 Fix uninitialized values: DerivedComponents' compound0_ and compound1_ 2021-02-24 21:15:50 -08:00
Shane F. Carr
1aa0dad8e0 ICU-21484 Add SignDisplay NEGATIVE 2021-02-25 03:10:27 +01:00
Hugo van der Merwe
aebe91cdda ICU-20941 Fix ResourceTable lifetime to make ResourceTracer happy
This is a separate commit from the previous ICU-20941 commit for the
sake of documentation / future code archaeology.

See #1588
2021-02-24 09:27:39 +01:00
Hugo van der Merwe
b2d97ebcb4 ICU-20941 NumberFormatter: format arbitrary compound units, with inflections
See #1588.
2021-02-24 09:27:39 +01:00
Younies Mahmoud
2138ac8a0e ICU-21349 Add extra UnitsRouter constructor that takes only CLDR unit…
See #1579
2021-02-24 03:43:50 +00:00
Younies Mahmoud
c825da1d29 ICU-21349 Add extra UnitsConverter constructor that takes only CLDR unit identifiers
See #1578
2021-02-24 02:06:43 +00:00
Younies Mahmoud
00cedadc92 ICU-21349 Add extra ComplexUnitsConverter constructor that takes only CLDR units Identifier
See #1586
2021-02-19 07:54:39 +01:00
Christoph Gohlke
4fd9b8de8d ICU-21210 Fix static builds on Windows 2021-02-18 12:24:36 -08:00
Shane F. Carr
b6687af59c ICU-20421 Add span fields to NumberRangeFormatter
See #1572
2021-02-18 09:56:48 -06:00
Andy Heninger
f062244cdb ICU-21492 Fix regex compile assertion failure.
A regex pattern containing nested look-behind blocks could trigger an assertion
failure during pattern compilation. The problem was caused by an off-by-one
error in the code that computes an upper bound on the match length, needed
because look-behind expressions are constrained to not have unbounded match
length.

Nested look-behind blocks come into play because, when computing the maximum
match length of an outer block, any inner look-behind blocks are skipped over -
they do not directly contribute to the length matched by the outer block. The
problem was in the code that skips over these nested look-behind blocks.
2021-02-17 18:49:55 -08:00
Hugo van der Merwe
1dbe70ac18 ICU-21123 Support unit inflections in ICU4C
See #1574
2021-02-17 23:36:40 +01:00
Hugo van der Merwe
dcfa2a7874 ICU-21284 Deal with remaining unit normalization TODOs
See #1580
2021-02-16 20:52:12 +01:00
Erik Torres Aguilar
9c73e15d02 ICU-21480 BRS69RC Version update and regenerate configure for v69
See #1567
2021-02-11 15:43:55 -08:00
Peter Edberg
3333fd557c ICU-21480 integrate CLDR release 39 alpha0 to ICU trunk 2021-02-10 11:58:26 -08:00
younies
916b9fad75 ICU-21349 Add UnitsConverter.getConversionInfo(...)
See #1568
2021-02-10 14:10:44 +01:00
Shane F. Carr
993e58a2c9 ICU-20888 Hide or remove old list formatter methods 2021-02-09 22:38:11 -06:00
Hugo van der Merwe
84469100c5 ICU-21306 ldml2icu: add rules for Inflections-related CLDR data
See #1566
2021-02-10 01:08:50 +01:00
Shane F. Carr
8196fc14ac ICU-21275 Remove obsolete functions from numberrangeformatter.h 2021-02-09 16:10:20 -06:00
Hugo van der Merwe
c0a490d49d ICU-21284 Correctly normalize Unit Identifiers
See #1527
2021-02-09 12:52:05 +01:00
Shane F. Carr
9ac51f21ed ICU-21351 Don't coalesce adjacent list formatter fields in ICU4J 2021-02-08 20:49:03 -06:00
Hugo van der Merwe
7feb300a87 ICU-21284 More MeasureFormatTest and NumberFormatterApiTest test cases
See #1530
2021-02-08 21:51:24 +01:00
Younies Mahmoud
412ac386f4 ICU-21349 Change UnitConverter name to UnitsConverter
See #1557
2021-02-03 14:50:04 +01:00
Hugo van der Merwe
8e69552228 ICU-21451 Implement inverse unit handling for new consumption unit preferences in CLDR
See #1550
2021-02-03 00:42:43 +01:00
Hugo van der Merwe
5dc0513b29 ICU-21472 Update ICU to support latest CLDR units updates (ofglucose, new constants)
See #1545
2021-02-02 12:34:17 +01:00
Hugo van der Merwe
01da2732b7 ICU-21349 Improve forIdentifier docs to exclude long_unit_identifier. 2021-01-27 19:02:45 +01:00
Hugo van der Merwe
1c61c57ece ICU-21357 Support IEC Binary Prefixes in MeasureUnit
See #1474
2021-01-27 15:34:10 +01:00
gnrunge
3c9f5aa9b2 ICU-21464 Modifies comments to address warnings when Doxygen 1.8.20 is used to
build the ICU4C docs. Typical changes: avoid linebreaks in {@link ...}
declarations, remove duplicate @param declaration.
The document building task in GHA CI is designed to fail upon warnings but
currently still passes because GHA uses an older version of Doxygen.

ICU-21464 Fix a typo.
2021-01-26 15:13:58 -08:00