Commit graph

6431 commits

Author SHA1 Message Date
Mojca Miklavec
ff702ad727 ICU-21513 check if TARGET_OS_SIMULATOR has been defined
clang 11 throws an error when using undefined variables starting with
TARGET_OS_, and TARGET_OS_SIMULATOR is missing in earlier versions
of macOS, so the code would not compile without an additional guard.

See also ICU-13440.
2021-04-07 13:47:42 -05:00
Frank Tang
b926f52688 ICU-21550 Add zzzz to subdivision if len==2
See #1662
2021-04-07 13:47:42 -05:00
Markus Scherer
152867f7ab ICU-21459 properly guard BytesTrie.Result.getValue()
and clone/copy objects so that objects shared among instances are not modified
and use an atomic int for the C++ refcount
2021-04-06 17:10:46 -07:00
Jeff Genovy
c5406692bb ICU-21546 Fix warnings from running the samples with MSVC. 2021-04-05 13:59:43 -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
Frank Tang
cec7de7a39 ICU-21537 Fix invalid free by long locale name
Do not free baseName if it is pointing to fullNameBuffer.

Better Fix
2021-03-17 10:34:27 -07:00
Craig Cornelius
bc7e2e230c ICU-21480 Scrub TODOs for completed issues 21292 and 21236
See #1652
2021-03-16 11:17:14 -07:00
Craig Cornelius
0619ea317f ICU-21480 BRS-50: updated docmain.h
See #1647
2021-03-15 15:33:05 -07:00
Peter Edberg
6c26ea21b2 ICU-21341 for getISO codes, add some CLDR-valid regions, remove some CLDR-invalid langs 2021-03-11 14:31:07 -08:00
Rich Gillam
e43c4e5f1b ICU-21335 Disallowed looking up resources by index in table-based resources. 2021-03-10 16:51:51 -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
Markus Scherer
767598009d ICU-21368 unit-test & fix BytesTrie jump delta encoding 2021-03-08 17:18:14 -08:00
Peter Edberg
b11ba74dd4 ICU-21480 brs 69rc, update urename.h pass 0 2021-03-08 11:15:49 -08:00
yumaoka
d80f7bbd0e ICU-21498 Improve comment in uprv_tzname 2021-03-08 09:13:55 -08:00
Frank Tang
ce640dc850 ICU-21127 Error when rbbi got unpaired surrogate char
See #1520
2021-03-05 15:45:37 -08:00
Frank Tang
75874eb0eb ICU-21521 Fix cast of uprv_strcmp
See #1618
2021-03-05 14:19:51 -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
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
Jeff Genovy
9d8a70abdc ICU-21499 Suppress warnings about non-NULL address in uprv_memcpy and uprv_memmove 2021-02-18 12:27:51 -08:00
Markus Scherer
66460b9fad ICU-13702 add missing API functions
and fix a bug in Java UnicodeSet.retain(String) which added the string even if the set did not contain it before,
and some drive-by API doc fixes/clarifications
2021-02-17 10:12:10 -08:00
Peter Edberg
7159e334ff ICU-21480 integrate CLDR release 39 alpha1 to ICU trunk 2021-02-16 21:44:12 -08: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
Victor Chang
048e46674a ICU-21455 Add new API ubrk_clone() and deprecate ubrk_safeClone() 2021-02-09 08:49:55 -08:00
Michael Block
a138318922 ICU-21179 Clean up unused code in the RBBI dictbe
The wordsMatched conditional gave the misleading impression that only the first "first word" candidate that was followed by a dictionary word would be marked, but because the wordsMatched declaration is inside the while loop, every "first word" candidate that's followed by a dictionary word is marked (resulting in the shortest and not the longest first candidate that's followed by a second dictionary word).
2021-02-04 17:55:05 -08:00
Markus Scherer
5a7a8f015c ICU-21461 uprops.h: remove unused gc macros
and some underused character constants
2021-02-01 18:45:59 -08:00
Jeff Genovy
8082d0e145 ICU-21449 Infinite loop can occur with locale IDs that contain RES_PATH_SEPARATOR 2021-01-29 13:10:34 -08:00
Jeff Genovy
a1a1fafb7d ICU-21465 Fix Windows Time Zone mapping when the Automatic DST setting is OFF. 2021-01-26 15:43:40 -08: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
Younies Mahmoud
0895a223a3 ICU-21349 Adjust C++ MeasureUnitImpl::serialize to be as same as the Java one
See #1496
2021-01-13 22:31:05 +01:00
Markus Scherer
fc12cf095c ICU-21279 decompose (NFD/NFKD) UTF-8 with Edits
See #1518
2021-01-07 15:38:16 -08:00
Erik Torres Aguilar
bd3b202741 ICU-21018 Fix typos across repo that start with letter A
See #1506
2021-01-06 15:15:35 -08:00
Erik Torres Aguilar
6eea259143 ICU-21018 Fix typos across repo that start with letter C
See #1525
2021-01-06 15:15:26 -08:00
Markus Scherer
dea5448cb1 ICU-13702 C++ UnicodeSet cleanup: use UTF-16 literals 2020-12-29 19:07:55 -08:00
Markus Scherer
67cc873789 ICU-20698 C++ Hashtable allow integer value zero 2020-12-29 13:47:17 -08:00
Markus Scherer
1863bea230 ICU-20698 UHashtable allow integer value zero 2020-12-29 10:33:33 -08:00
Markus Scherer
9963b4d62a ICU-13702 allow empty string in UnicodeSet
See #1519
2020-12-29 09:33:35 -08:00
Peter Edberg
c023eef140 ICU-21405 brs 68.2, update urename.h 2020-12-14 13:01:30 -08:00
Erik Torres Aguilar
17f725fe0d ICU-21118 check that dst and src are not null in uprv_memcpy
See #1489
2020-12-10 10:59:49 -08:00
inokawa
bb5d29b143 ICU-21416 Fix typos in comments 2020-12-09 14:17:14 -08:00
Frank Tang
d9ff1888ee ICU-21414 Fix toLanguageTag x-private
Also fix ICU-21433 forLanguageTag when there are variant and -x-
extension
2020-12-08 22:51:18 -08:00
Frank Tang
c3ed0c5371 ICU-21430 propagate error code 2020-12-07 23:03:23 -08:00
Frank Tang
5f8df0d288 ICU-21406 canonicalize -T- extension
See #1491
2020-12-07 21:21:41 -08:00
Erik Torres Aguilar
89721186ab ICU-21405 BRS 68.2 Version update and regenerate configure for v68.2 2020-12-04 09:28:19 -08:00
Frank Tang
63cd3a7d40 ICU-21419 Fix memory leak in AliasReplacer 2020-12-02 10:44:45 -08:00
Frank Tang
1aa229daff ICU-21402 replace sd and rg by subdivisionAlias
See #1475
2020-11-24 17:22:12 -08:00
Frank Tang
0ab995ec84 ICU-21408 Prohibit alpha4 as language inside tlang. 2020-11-24 14:16:02 -08:00
Frank Tang
916f6a0b73 ICU-21401 Fix C++ canonicalize cel-gaulish to xtg
Java is already doing so.
2020-11-19 16:48:30 -08:00
Shane F. Carr
a593239dba
ICU-21389 Merge maint/maint-68 to master 2020-11-16 18:50:26 -06:00