Commit graph

32040 commits

Author SHA1 Message Date
Peter Edberg
8f5529f30d ICU-20894 Add UserGuide info on date pattern chars B, b 2022-09-22 16:14:44 -07:00
Craig Cornelius
7c1f8d675b ICU-21957 update API Changes in ICU4C 72 2022-09-22 14:55:24 -07:00
Peter Edberg
cd12cebb87 ICU-21879 Fix UserGuide link to info in Korean transliteration 2022-09-22 13:54:40 -07:00
Yoshito Umaoka
ef706cddf1 ICU-21957 BRS72 ICU4J serialization test data 2022-09-22 16:49:16 -04:00
Yoshito Umaoka
306be3ddf6 ICU-21957 BRS72 J API signature file 2022-09-22 16:39:47 -04:00
Yoshito Umaoka
b5acb0ffc2 ICU-21957 Fixed java compiler warnings 2022-09-22 16:37:56 -04:00
Peter Edberg
0c9d6f6b85 ICU-21957 Fix status tags for U_HIDDEN, unum_hasAttribute 2022-09-22 10:50:22 -07:00
yumaoka
329c95e3b9 ICU-21957 BRS72 Cleanup import statements 2022-09-22 08:07:12 -04:00
Craig Cornelius
4f707beade ICU-21957 Update ICU4J & ICU4C Change Reports BRS#19 and BRS#20
See #2193
2022-09-21 16:16:28 -07:00
Mihai Nita
b23d6c1afe ICU-22124 Tag the default constructor of OrderedMap as internal/deprecated
ICU-22124 Tag the default constructor of OrderedMap as internal/deprecated

Fix for apireport, see #2193
2022-09-21 11:50:09 -07:00
Rahul Pandey
b08e51fa91 ICU-21957 BRS72RC Update version number and regenerate configure 2022-09-21 12:06:18 +05:30
Younies Mahmoud
dbfe830108 ICU-22122 Support Locale Tags (ms, mu and rg)
See #2182
2022-09-20 16:51:24 -07:00
Mihai Nita
f5367befba ICU-22124 Update the MessageFormat v2 links to the main branch 2022-09-20 16:47:38 -07:00
Peter Edberg
b403a10e51 ICU-21957 integrate CLDR release-42-beta1b to ICU main for 72 2022-09-19 14:43:59 -07:00
Peter Edberg
e646ea23e9 ICU-20512 ICU4J: just add test of parse with empty curr symbol, code already works 2022-09-16 19:01:06 -07:00
yumaoka
17435c4533 ICU-22151 Update timezone-region supplementation mapping data for Jan Mayen and some others 2022-09-16 16:49:42 -07:00
Rich Gillam
498abf6961 ICU-21125 Improvements to resource fallback:
- Added code to use the parentLocales data in supplementalData.xml to determine the "parent locale ID" to use when
  the requested resource bundle is not present (ICU-21126).
- Added code to change the parent-chain search path to handle the script better (ICU-21125; algorithm was described
  in CLDR-15265):
  - The base search patch is now ll_Ssss_RR -> ll_RR -> ll_Ssss -> ll -> root
  - If the requested script is not the default script for the requested language and region, we automatically
    avoid fallbacks that will implicitly change the script.
- Added new code to the CLDR-to-ICU data generation tool to generate source code, and used it to generate the lookup
  tables for the new resource-fallback logic (we can't use the existing resource files for this, since that would
  involve opening a resource bundle while trying to open another resource bundle).  The data-generation stuff is
  intended to be generic enough to allow for us to generate more static data tables in the future.
- Commented out a few collator tests, and changed one resource bundle test, because they're incompatible with the
  new fallback logic (specifically, the default-script logic).
2022-09-16 14:26:50 -07:00
Shane F. Carr
9dc1c020a1 ICU-20512 Add extra matchers to handle empty currency symbols 2022-09-16 09:00:50 -07:00
Peter Edberg
b734048799 ICU-21957 fix NumberFormatterSettings::unitDisplayCase status, remove FormattedNumber:getGender 2022-09-16 08:34:28 -07:00
Mihai Nita
db59034793 ICU-22124 Adding a tech preview implementation of MessageFormat v2
See #2170
2022-09-15 10:32:13 -07:00
Peter Edberg
06259cc6c3 ICU-21957 integrate CLDR release-42-beta1 to ICU main for 72 2022-09-13 11:18:37 -07:00
Peter Edberg
cfd99f3f3f ICU-22143 Increase COMPACT_MAX_DIGITS from 15 to 20, needed for new ja data 2022-09-12 17:17:19 -07:00
Markus Scherer
99dee47fb7 ICU-21959 add the uemoji feature to ICU Data Build Tool chapter 2022-09-12 08:57:06 -07:00
Kirill Müller
a48ae42864 ICU-22117 Replace uprv_strncpy() by uprv_memcpy()
This fixes a warning on gcc 9.4.0, which is triggered because the third argument to strncpy() depends on the length of the second argument (but should actually indicate the buffer size). Replacing by memcpy() seems harmless because a null terminator is appended further below, and the buffer is sized to be "large enough" elsewhere.

See https://github.com/duckdb/duckdb/issues/4391 for details.

Fixing the warning is important for us, because the checks in the duckdb repository treat all warnings as errors.
2022-09-09 17:07:53 -07:00
Shane Carr
e4df304367 ICU-21957 Update double-conversion to 256ac809561b756645e73ab7127c2aaaeabaa427
See #2179
2022-09-09 15:47:12 -07:00
Frank Tang
b9fdd2a7cf ICU-22025 Rename the enum type for Hebrew calendar to Month 2022-09-09 01:29:06 -07:00
Peter Edberg
baee21aa7a ICU-22125 Add note about future deprecation to MeasureUnit createMetricTon/getMetricTon/METRIC_TON 2022-09-08 20:59:07 -07:00
floratmin
1dfe456fe8 ICU-21983 Fix fraction precision skeleton
See #2058
2022-09-08 20:17:48 -07:00
Markus Scherer
5de6ee0c61 ICU-21959 fix DateIntervalFormat general usage example 2022-09-08 18:59:19 -07:00
Peter Edberg
d3a753a0d4 ICU-21957 BRS 72rc, update urename.h 2022-09-08 18:19:30 -07:00
Peter Edberg
1de1e36d6f ICU-21957 integrate CLDR release-42-alpha3 to ICU main for 72 2022-09-08 18:19:10 -07:00
Cyndy Ishida
48124d1706 ICU-22072 Update Darwin Specific Macros
* Update `U_PF_IPHONE` to be 0 when building for macOS/macCatalyst.
* add macro definition for `attribute((visibility("hidden")))` for cases
  where internal structs exist within exposed classes.
2022-09-08 09:08:57 -07:00
rp9-next
bebcd6b8bb ICU-22114 Update pipeline workflows to use macOS-latest 2022-09-08 09:02:31 -07:00
Cyndy Ishida
03b94e9cb3 ICU-22068 Cleanup inconsistent annotations between declarations and definitions
This cleans up inconsistent annotations between declared APIs in headers
vs defined implementations in cpp's. This better ensures the API's
referenceable in headers represent what is exposed and defined in the
ultimate binary library's symbol table.
2022-09-08 08:34:56 -07:00
Fredrik Roubert
030fa1a479 ICU-21148 Consistently use standard lowercase true/false everywhere.
This is the normal standard way in C, C++ as well as Java and there's no
longer any reason for ICU to be different. The various internal macros
providing custom boolean constants can all be deleted and code as well
as documentation can be updated to use lowercase true/false everywhere.
2022-09-07 20:56:33 +02:00
gnrunge
00003dcbf2 ICU-21957 Update TODO ticket reference: CLDR-13044 (done) ---> ICU-21420 (open). 2022-09-06 09:14:07 -07:00
Elango Cheran
6e3a923056 ICU-22116 Update CI job for ICU4J to use Java 8 instead of Java 7
See #2173
2022-09-06 09:09:22 -07:00
gnrunge
baa104b50b ICU-21957 Clean-up of TODO and logKnownIssue entries (BRS task):
Removed logKnownIssue(ICU-21322) in plurults.cpp, ICU-21322 is done and the
entire if-statement was commented out.

Replaced CLDR-13700 with CLDR-13701 in several TODOs. 13700 is a duplicate of
13701.

Likewise for CLDR-14502 --> CLDR-14582.

PR#1999 from ICU 71 release missed some of the cases.
2022-09-02 09:54:57 -07:00
Rich Gillam
4ab713b1c6 ICU-22081 Added missing copyright notice to PersonName.java. 2022-09-01 13:36:05 -07:00
Rich Gillam
69dcdde885 ICU-22081 More API-review fixes: Hoisted the PersonName object to the top level (in its own source file) and moved
NameField and FieldModifier there, plus a number of smaller changes.
2022-09-01 13:36:05 -07:00
Rich Gillam
df93dd00bf ICU-22081 Addressed review comments:
- Changed all public Javadoc to use the proper verbiage for identifying this code as
  a tech preview.
- Changed all references to ULocale in the API to use Locale instead.
- Changed PersonNameFormatter and SimplePersonName so that they're constructed by way
  of separate builder objects.
- Added an internal constructor for PersonNameFormatter just for the use of the unit tests,
  and added some unit tests that take advantage of the new constructor to test the internals
  more thoroughly.
- Renamed format() to formatToString(), to make room to add a format() method later that
  returns a FormattedPersonName.
- Added logic to guess the locale of a name object when the name object doesn't supply
  a locale.
- Moved the function that constructs a SimplePersonName from a single string containing
  key-value pairs out of the API and into the unit tests.
- Various smaller changes in response to API- and code-review comments.
2022-09-01 13:36:05 -07:00
Rich Gillam
53775accd5 ICU-22081 PersonNameFormatter tech preview 2022-09-01 13:36:05 -07:00
Yoshito Umaoka
9acba58c49 ICU-22116 Updating minimum Java runtime support to Java 8 2022-09-01 13:02:27 -04:00
Markus Scherer
8050af5484 ICU-21980 Unicode 15 update 2022aug30 2022-08-31 16:15:42 -07:00
Rich Gillam
5334e2819d ICU-21958 ICU 70 API Promotions 2022-08-31 15:38:22 -07:00
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