instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uncrustify__uncrustify__3095 | uncrustify/uncrustify | 3,095 | defect | eb324f2184ae40bebfabdb3997d99ed64abd1b0f | c618d5082c3898e02d68aafc5febe2bf78530e41 | Fix issue 3061 | Issue #3061 was introduced by commit 313f6eb7 (PR #3014).
'void newlines_remove_disallowed()' should not eat new line characters
in the following cases:
1. we are at the end of the file
2. there are consecutive new line characters
because that is already dealt with in a different part of the code.
Tests with ... | diff --git a/src/newlines.cpp b/src/newlines.cpp
index 161530da0b..ef54691857 100644
--- a/src/newlines.cpp
+++ b/src/newlines.cpp
@@ -3647,14 +3647,19 @@ void newlines_remove_disallowed()
{
LOG_FUNC_ENTRY();
- auto *pc = chunk_get_head();
+ chunk_t *pc = chunk_get_head();
+ chunk_t *next;
while ((pc... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use an explicit `next != nullptr` comparison in the new condition in newlines_remove_disallowed() instead of testing the pointer for truthiness.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
uncrustify__uncrustify__3200 | uncrustify/uncrustify | 3,200 | defect | d00895aa29ef2009d8bbe38d5dbc92ef6cacce46 | 847216d52ae6e8896419cae4d39b04512c6dc0e6 | Fix lambda indent alignment when indent_align_assign is turned on | Fixes the regression mentioned in https://github.com/uncrustify/uncrustify/pull/3136. Prevent manipulation to indenting if indent_align_assign is turned on. | diff --git a/.gitignore b/.gitignore
index 9fb21e7edb..bc2b623626 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,3 +62,4 @@ cmake-build-*/
# Vim
*.swp
+tags
diff --git a/src/indent.cpp b/src/indent.cpp
index fc6679ef6c..b7975e3e86 100644
--- a/src/indent.cpp
+++ b/src/indent.cpp
@@ -1627,7 +1627,7 @@ void indent_t... | 4 | 3 | 0 | [{"id": "G0", "claim": "Remove the ctags-generated `tags` file from version control by not adding it to .gitignore.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reformat the boolean conditions in src/indent.cpp so that all the bool operators (... | null |
uncrustify__uncrustify__3257 | uncrustify/uncrustify | 3,257 | defect | 911c94c304788f5af93a5e1f02704d9bad1bc576 | 9bd74ef0f64e02c2c7af0920309192b53e8789c0 | Apply sp_cparen_oparen to parenthesized indirect function calls | `sp_cparen_oparen` is the right option to apply to `(get_hello())()`. Furthermore, this patch provides a workaround for issue #3252 because setting `sp_cparen_oparen = ignore` will avoid unwanted space removal in cases where Uncrustify does not parse function pointers correctly. | diff --git a/src/space.cpp b/src/space.cpp
index a1562a4b5b..18581fad94 100644
--- a/src/space.cpp
+++ b/src/space.cpp
@@ -1603,8 +1603,8 @@ static iarf_e do_space(chunk_t *first, chunk_t *second, int &min_sp)
return(options::sp_after_cast());
}
// Must be an indirect/chained function call?
- ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer found a bug in the pre-existing do_symbol_check: its `!pc->flags.test_any(PCF_IN_TYPEDEF | PCF_IN_TEMPLATE)` test prevents mark_function_type from being called, so `void (*x)(void);` and `void (*y)(void);` are typed differently, casting doubt on the PR's diagnostic (see proposal #32... | null |
uncrustify__uncrustify__3333 | uncrustify/uncrustify | 3,333 | defect | 0bdedc784473d313f26d0ffa28b0161af01687be | f19bf09cdce5822cf3d71065cb3900ea52f6e5c7 | Drop cases covered by sp_*_constr_colon from add_space_table | And create a separate indent_ctor_init_following option so that it's
still possible to indent the first initializer line less than subsequent
initializer lines.
Fixes #3330 | diff --git a/documentation/htdocs/config.txt b/documentation/htdocs/config.txt
index 908a00a112..0d4b45b5e6 100644
--- a/documentation/htdocs/config.txt
+++ b/documentation/htdocs/config.txt
@@ -452,10 +452,14 @@ sp_after_class_colon = ignore # ignore/add/remove/force/not_defined
sp_before_class_colon ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The default value of sp_after_constr_colon must not be changed (to add, as the comment '= IARF_ADD' records), because that default value is already in use by many users.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
uncrustify__uncrustify__3349 | uncrustify/uncrustify | 3,349 | defect | 2d82af100d4ea9e66bb1aa471eb1b43bef43202e | 0e87b4a8a17a58691ccbff11ade6bea0fc025a33 | Add sp_return option | Fixes #3348 | diff --git a/src/options.h b/src/options.h
index c60a800056..6525d561c8 100644
--- a/src/options.h
+++ b/src/options.h
@@ -817,6 +817,10 @@ sp_func_class_paren;
extern Option<iarf_e>
sp_func_class_paren_empty;
+// Add or remove space after 'return'.
+extern Option<iarf_e>
+sp_return; // = IARF_FORCE
+
// Add or re... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new sp_return handling in do_space should call only log_rule(\"sp_return\"), not an additional \"sp_return/FORCE\" rule call in a REMOVE branch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uncrustify__uncrustify__3407 | uncrustify/uncrustify | 3,407 | defect | 3fea1e6209dd122b3ebb280d8203063a0476a0b6 | da593cd76a6b058206e8f6908050db308f393c09 | A few fixes in cpp parsing and formatting in some corner cases. | I've started using Uncrustify and found a few issues in my codebase which I hopefully have properly fixed.
The original test are passing, and I've only extended the test cases adding new ones that fail without the fixes.
Here is the current list of the fixes:
* Fixes '&' reference seen as 'BYREF' in 'ARITH' contex... | diff --git a/src/combine.cpp b/src/combine.cpp
index 826b37bef9..7b54c3ebe1 100644
--- a/src/combine.cpp
+++ b/src/combine.cpp
@@ -1485,7 +1485,7 @@ void do_symbol_check(chunk_t *prev, chunk_t *pc, chunk_t *next)
{
set_chunk_type(pc, CT_ARITH);
- if (chunk_is_token(prev, CT_WORD))
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new one-line `if (chunk_is_token(prev, CT_WORD) && !chunk_is_token(next, CT_NUMBER))` condition in src/combine.cpp should be broken across two lines as the reviewer prefers.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
uncrustify__uncrustify__3900 | uncrustify/uncrustify | 3,900 | defect | 5e1d2eccffae9ef5ddc6311dc01b9647af620994 | 20110f895277c46f8ad5629ee6bba95861c80a27 | Regression fix sp arth and refs | Three c++ 0.73 regression fixes here regarding `&` | diff --git a/src/combine.cpp b/src/combine.cpp
index d7f95472be..716720dd2e 100644
--- a/src/combine.cpp
+++ b/src/combine.cpp
@@ -1538,12 +1538,16 @@ void do_symbol_check(Chunk *prev, Chunk *pc, Chunk *next)
if (pc->Is(CT_AMP))
{
+ Chunk *prevNext = prev->GetNext();
+
if (prev->Is(CT_DELETE))
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The added null test on prevNext is unnecessary because GetNext() is designed to never return a nullptr.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "nextNext can never be a nullptr, so the negative test on CT_DC_MEMBER ... | null |
uncrustify__uncrustify__3988 | uncrustify/uncrustify | 3,988 | defect | 744bd86c6f7c491008840898db6d83937d4412bc | 386541596362c08d1f7bd69ccb08e2bdbea5241c | introduce more MS suffixes | fixes #3980 | diff --git a/src/tokenize.cpp b/src/tokenize.cpp
index 15185bc4fa..9e7454d9e8 100644
--- a/src/tokenize.cpp
+++ b/src/tokenize.cpp
@@ -1096,8 +1096,16 @@ static bool parse_number(TokenContext &ctx, Chunk &pc)
pc.Str().append(ctx.get());
}
- // skip the Microsoft-specific '32' and '64' suffix
- if ( ( ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new test entry in tests/cpp.test refers to input file Issue_3785.cpp while the input file added by the PR is Issue_3980.cpp, which is probably a mistake.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
uncrustify__uncrustify__4073 | uncrustify/uncrustify | 4,073 | defect | 506e27ff8723a9d67cb46e53899e6aeab22662c4 | f493e4d9e003648753e6574ba2cd61f5c0bd1352 | Option to add space before qualifier, 'operator', class or namespace name, '::' | Fixes #402 and #4071
New options:
* `sp_before_qualifier_ptr_star` - add or remove space before pointer star '*' that is followed by a qualifier.
* `sp_before_operator_ptr_star` - add or remove space before pointer star '*' that is followed by 'operator' keyword.
* `sp_before_scope_ptr_star` - add or remove sp... | diff --git a/src/options.h b/src/options.h
index bb7b32a46c..91721694d5 100644
--- a/src/options.h
+++ b/src/options.h
@@ -265,6 +265,29 @@ sp_before_ptr_star;
extern Option<iarf_e>
sp_before_unnamed_ptr_star;
+// Add or remove space before pointer star '*' that is followed by a qualifier.
+// If set to ignore, sp_... | 4 | 3 | 2 | [{"id": "G0", "claim": "The three test config files sp_before_operator_ptr_star-a.cfg, -f.cfg and -r.cfg have incorrect values — they should read `add`, `force` and `remove` respectively instead of `ignore` — and should be amended as necessary.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
uncrustify__uncrustify__4089 | uncrustify/uncrustify | 4,089 | defect | 158f43ac5b36b1bc9ab10046e9d6ae9622a37aa9 | 2e0e019dc28cac0844b5cff81d05859ee1a02394 | Options to define minimum and maximum number of new lines after function body | Fixes #2787
New options:
* `nl_min_after_func_body` - the minimum number of newlines after '}' of a multi-line function body
* `nl_max_after_func_body` - the maximum number of newlines after '}' of a multi-line function body
They aren't applied when `nl_after_func_body` is set.
If `nl_min_after_func_body`... | diff --git a/documentation/htdocs/config.txt b/documentation/htdocs/config.txt
index 969e988475..f32f28f5ed 100644
--- a/documentation/htdocs/config.txt
+++ b/documentation/htdocs/config.txt
@@ -2332,8 +2332,18 @@ nl_after_func_class_proto_group = 0 # unsigned number
nl_class_leave_one_liner_groups = false #... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comments for the new options nl_min_after_func_body and nl_max_after_func_body should be rephrased to state that they only work when nl_after_func_body is 0, since that dependency is not clear without looking at the code.", "category": "documentation", "verdict": "supported", "priority": "P2... | null |
uncrustify__uncrustify__4155 | uncrustify/uncrustify | 4,155 | defect | b8c95286f70ef8e0e83bd055a3a7aabb614a0781 | b280e3251c82322b7d0b91d712dffe97ff87ade9 | Fix VBRACE semicolon | Fixes https://github.com/uncrustify/uncrustify/issues/3191 which was caused by https://github.com/uncrustify/uncrustify/commit/2748cfc041bc59c1de6389945dc0fb1b76c312e4.
Mentioned commit causes that code like
```
if (foo)
return {};
```
is formatted to
```
if (foo)
return {}
;
```
which is ob... | diff --git a/src/brace_cleanup.cpp b/src/brace_cleanup.cpp
index 565dae462c..64bad76814 100644
--- a/src/brace_cleanup.cpp
+++ b/src/brace_cleanup.cpp
@@ -513,7 +513,8 @@ static void parse_cleanup(BraceState &braceState, ParsingFrame &frm, Chunk *pc)
frm.pop(__func__, __LINE__, pc);
print_stack(LBCS... | 4 | 1 | 1 | [{"id": "G0", "claim": "The new test's expected output shows no newline although the config `nl_after_if = add` asks for one to be added after the `if`, which seems not correct.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fix does not seem to... | null |
uncrustify__uncrustify__4614 | uncrustify/uncrustify | 4,614 | defect | 8adc7211e9b4312e92e14dbe457ddef38ad2b682 | 8d023593123ee5e19e558b5f723983d64100f4fa | feat(newlines): add nl_collapse_*_one_liner options | Adds opts to collapse braced single-stmt ctrl blocks, recursively, to inline style:
```c
if (cond)
{
func();
}
```
to
```c
if (cond) { func(); }
```
New opts:
- `nl_collapse_if_one_liner`
- `nl_collapse_for_one_liner`
- `nl_collapse_while_one_liner`
- `nl_collapse_do_one_liner`
- `nl_collaps... | diff --git a/README.md b/README.md
index dbb6fe63a2..88b9903fa0 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
A source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.
## Features
-* Highly configurable - 857 configurable options as of version 0.82.0
+* Highly configurable - 881 configu... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `if (tmp->Is(CT_SEMICOLON))` statement and the subsequent `else if()` could be grouped into a single `if` since they do the same thing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the changes to README.md (t... | null |
uncss__uncss__335 | uncss/uncss | 335 | defect | 10c4337c973d1fc091556f467ba4ca9f3485a82e | c3407b6ba3ddb2889a5d04c97e1700f7b00f40a2 | Modernize code | Note that this PR is against the `develop` branch.
I don't know if we should upgrade the JS API to either switch to Promises only, or support both Promises and callbacks. Thoughts? | diff --git a/.eslintrc.json b/.eslintrc.json
index 9379e0ee..313476da 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,13 +1,13 @@
{
"root": true,
"env": {
- "node": true
+ "node": true,
+ "es6": true
},
"extends": "eslint:recommended",
"rules": {
"array-bra... | 1 | 1 | 0 | [{"id": "G0", "claim": "The cleanup function should be defined before the code that references it rather than after (mikelambert asked whether the reference works with the definition below and stated a small preference for putting it earlier).", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
undertow-io__undertow__1041 | undertow-io/undertow | 1,041 | defect | 543a1fc2fcab997c46ce497af715df558de669f0 | ffe253073417d167980cdbbfae708781c3c83458 | UNDERTOW-1794 DefaultAccessLogReceiver violates Closeable contract | Issue: https://issues.redhat.com/browse/UNDERTOW-1794
main: https://github.com/undertow-io/undertow/pull/1041
2.3.x: https://github.com/undertow-io/undertow/pull/1825
2.2.x: https://github.com/undertow-io/undertow/pull/1593
2.4.x PR: #1902 | diff --git a/core/src/main/java/io/undertow/UndertowLogger.java b/core/src/main/java/io/undertow/UndertowLogger.java
index 38060a2120..884272dbd3 100644
--- a/core/src/main/java/io/undertow/UndertowLogger.java
+++ b/core/src/main/java/io/undertow/UndertowLogger.java
@@ -434,4 +434,12 @@ void nodeConfigCreated(URI conne... | 21 | 11 | 4 | [{"id": "G0", "claim": "It might be better to use peek() plus remove() instead of poll() when taking a message in run().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The close() comment saying 'run() will exist ASAP' is a typo and should read 'run() wi... | null |
undertow-io__undertow__1117 | undertow-io/undertow | 1,117 | defect | 43244ccfc51c4aa7bbdc8be0641d9b8b53f76959 | 526746b927935cca5f6d2d85a77bec7c15c7f834 | [UNDERTOW-1886] [master] Request dispatcher is returned when the path points to outside the servlet context | Issue: https://issues.redhat.com/browse/UNDERTOW-1886
The `CanonicalPathUtils.canonicalize` now receives an optional boolean to return null when out of context. It's only used in the request dispatcher related methods. A system property `-Dio.undertow.REQUEST_DISPATCHER_NULL_DISALLOWED=true` restores the old behavio... | diff --git a/core/src/main/java/io/undertow/util/CanonicalPathUtils.java b/core/src/main/java/io/undertow/util/CanonicalPathUtils.java
index 390e8418bb..0cf94b858a 100644
--- a/core/src/main/java/io/undertow/util/CanonicalPathUtils.java
+++ b/core/src/main/java/io/undertow/util/CanonicalPathUtils.java
@@ -33,17 +33,21 ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The system property io.undertow.REQUEST_DISPATCHER_NULL_DISALLOWED that offers users a non-spec-compliant alternative should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "DefaultServletCachingListenerTestCase fails in... | null |
undertow-io__undertow__1140 | undertow-io/undertow | 1,140 | defect | c0461a48cee3c7b12fe85f24d8a3ef8edacc2483 | 489dfa0a1e62f712c188278789f50404fc65e2ef | [UNDERTOW-1880] Graceful shutdown of HTTP/2 server using GOAWAY | Jira: https://issues.redhat.com/browse/UNDERTOW-1880
Reverted by #1905
Track HTTP/2 server connections in `GracefulShutdownHandler` to enable graceful shutdown using GOAWAY according to `RFC9113 6.8`
A shutdown() will trigger the following on HTTP/2 connections:
- Send initial GOAWAY with last stream id set to... | diff --git a/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java b/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java
index a8a4b6fcd1..50b5efbc3f 100644
--- a/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java
+++ b/core/src/main/java/io/undertow/protocols/http2/Http2Channel.ja... | 1 | 1 | 0 | [{"id": "G0", "claim": "The isLastFrame field and the matching constructor parameter in Http2GoAwayStreamSinkChannel should be renamed to lastFrame to follow good practices.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
undertow-io__undertow__1203 | undertow-io/undertow | 1,203 | defect | 139a4311c3db598d12730751a35a07038c01acfc | 43cf0c023e842dff07c572642e51ac1aa14fd64d | [UNDERTOW-1917] Logic in try/finally blocks hides exceptions | Fixes https://issues.redhat.com/browse/UNDERTOW-1917 | diff --git a/core/src/main/java/io/undertow/protocols/http2/Http2PushBackParser.java b/core/src/main/java/io/undertow/protocols/http2/Http2PushBackParser.java
index 71b0f2df6a..e8921982a5 100644
--- a/core/src/main/java/io/undertow/protocols/http2/Http2PushBackParser.java
+++ b/core/src/main/java/io/undertow/protocols/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The three instanceof checks that rethrow the caught Throwable as RuntimeException, Error or IOException are useless.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
undertow-io__undertow__1290 | undertow-io/undertow | 1,290 | defect | b24d45550dfe7dd420c00cb06795ebe2e60898ba | 4a1de6e82e770a59ae1a8a37b04117979b0e536b | UNDERTOW-2019: Blocking exchanges can set HEAD response length | Jira: https://issues.redhat.com/browse/UNDERTOW-2019 | diff --git a/core/src/main/java/io/undertow/io/UndertowOutputStream.java b/core/src/main/java/io/undertow/io/UndertowOutputStream.java
index b013c46ef4..cacebdf4bc 100644
--- a/core/src/main/java/io/undertow/io/UndertowOutputStream.java
+++ b/core/src/main/java/io/undertow/io/UndertowOutputStream.java
@@ -26,6 +26,7 @@... | 3 | 2 | 0 | [{"id": "G0", "claim": "The close() skip path could be used any time Content-Length is already set, regardless of the request method, though the author notes that could impact existing code if values are set incorrectly.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G... | null |
undertow-io__undertow__1292 | undertow-io/undertow | 1,292 | defect | 50898f26c2ef6fd59475460f4eb58efdc47c3195 | 043f8e5660e2acb09001d1428d10103ecd3419c5 | [UNDERTOW-1934] invoke onClose in case of network failure | Issue: https://issues.redhat.com/browse/UNDERTOW-1934
Ref: https://github.com/undertow-io/undertow/pull/1293 | diff --git a/core/src/main/java/io/undertow/websockets/core/WebSocketChannel.java b/core/src/main/java/io/undertow/websockets/core/WebSocketChannel.java
index aacebd8e51..9d7681e082 100644
--- a/core/src/main/java/io/undertow/websockets/core/WebSocketChannel.java
+++ b/core/src/main/java/io/undertow/websockets/core/Web... | 2 | 2 | 1 | [{"id": "G0", "claim": "The hardcoded TODO'd close message on the added CLOSE_MSG field should be added to WebSocketMessages, following the same pattern as WebSocketMessages.messageToBig.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The review... | null |
undertow-io__undertow__1397 | undertow-io/undertow | 1,397 | defect | 41c02bd638d268eeff9317f5d7e14848b5b2f34a | 6b7899c53c470ae7e4a6fcad1cbd7dcdd88cff7c | Upstream backports to 2.2.x branch | https://issues.redhat.com/browse/UNDERTOW-1818
https://issues.redhat.com/browse/UNDERTOW-1971
https://issues.redhat.com/browse/UNDERTOW-2069
https://issues.redhat.com/browse/UNDERTOW-2097
https://issues.redhat.com/browse/UNDERTOW-2111
https://issues.redhat.com/browse/UNDERTOW-2141
https://issues.redhat.com/browse... | diff --git a/core/src/main/java/io/undertow/security/impl/SimpleNonceManager.java b/core/src/main/java/io/undertow/security/impl/SimpleNonceManager.java
index 3d8acb6a28..1b71e7c52d 100644
--- a/core/src/main/java/io/undertow/security/impl/SimpleNonceManager.java
+++ b/core/src/main/java/io/undertow/security/impl/Simpl... | 1 | 1 | 1 | [{"id": "G0", "claim": "UNDERTOW-1902 contains API changes and for that reason it should not be backported (its backport must be dropped from this 2.2.x pull request).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
undertow-io__undertow__1428 | undertow-io/undertow | 1,428 | defect | d24d91fa0c0cc6cc55a1a2d42e6683d637b29fd0 | 4815694565760619fec16bb29590c74dd9b6cb67 | UNDERTOW-2194 - improve cookie parsing so its aligned with spec without 3rd part deps. | Issue: https://issues.redhat.com/browse/UNDERTOW-2194
This will replace: https://github.com/undertow-io/undertow/pull/1408
2.4.x PR: #1903
Undertow EE:
Main PR: https://github.com/undertow-io/undertow-ee/pull/60
1.0.x PR: https://github.com/undertow-io/undertow-ee/pull/61 | diff --git a/core/src/main/java/io/undertow/server/DelegatingIterable.java b/core/src/main/java/io/undertow/server/DelegatingIterable.java
index 5bba713f30..a0ef284816 100644
--- a/core/src/main/java/io/undertow/server/DelegatingIterable.java
+++ b/core/src/main/java/io/undertow/server/DelegatingIterable.java
@@ -22,21... | 8 | 8 | 0 | [{"id": "G0", "claim": "OverridableTreeSet is package-private, so the pull request should remove the class completely instead of adding a deprecation annotation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "MultiValueHashListStorage should be declared ... | null |
undertow-io__undertow__1465 | undertow-io/undertow | 1,465 | defect | fd4cc49c43af9b04e6ed7bd8e0963b8a6d35849a | ebbfdc334f9b8ffaea1bad04b4fbda4e432606e2 | [UNDERTOW-2216] fix resource serving via predicates + test | Issue: https://issues.redhat.com/browse/UNDERTOW-2216
2.2.x PR: #1484 | diff --git a/core/src/main/java/io/undertow/attribute/RequestURLAttribute.java b/core/src/main/java/io/undertow/attribute/RequestURLAttribute.java
index e090b6d040..b50e229ca2 100644
--- a/core/src/main/java/io/undertow/attribute/RequestURLAttribute.java
+++ b/core/src/main/java/io/undertow/attribute/RequestURLAttribut... | 1 | 1 | 1 | [{"id": "G0", "claim": "The original renderDirectoryListing(String, Resource) method, whose signature this PR changed, should be kept and deprecated with an attribute marking it for removal (2.4.0.Final).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
undertow-io__undertow__1578 | undertow-io/undertow | 1,578 | defect | ddb4aeeb32f7ed58d715124acf1d464fc14b30dd | 619a21b2d8b4545f2e85799a2ae131115547bceb | [UNDERTOW-2361] handle inflater wrapping properly in deflate encoding | Issue: https://issues.redhat.com/browse/UNDERTOW-2361
2.2.x PR: #1751
2.3.x PR: #1752 | diff --git a/core/src/main/java/io/undertow/conduits/GzipStreamSourceConduit.java b/core/src/main/java/io/undertow/conduits/GzipStreamSourceConduit.java
index 12b15fe684..d428d66eb0 100644
--- a/core/src/main/java/io/undertow/conduits/GzipStreamSourceConduit.java
+++ b/core/src/main/java/io/undertow/conduits/GzipStream... | 3 | 1 | 1 | [{"id": "G0", "claim": "The three-argument constructor should delegate to the new four-argument constructor via this(...) instead of duplicating the field assignments.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "isZlibHeaderPresent reads two bytes from ... | null |
undertow-io__undertow__1644 | undertow-io/undertow | 1,644 | defect | 182e4ca1543c52f438b0244c930dca3d8b6e68e3 | 0feb2df52abcb7e8d18c8acda285baac95e206b3 | [UNDERTOW-2422] Return the protocol field of the HttpServerExchange into the status line | Issue: https://issues.redhat.com/browse/UNDERTOW-2422
Currently, no matter what you set the HttpServerExchange.protocol field to, the value "HTTP/1.1" will always be used. This change will use the value of the protocol field (or "HTTP/1.1" if the field is empty) in the HTTP response's status line.
There is a test... | diff --git a/core/src/main/java/io/undertow/UndertowMessages.java b/core/src/main/java/io/undertow/UndertowMessages.java
index 40e7219fcc..10202e3720 100644
--- a/core/src/main/java/io/undertow/UndertowMessages.java
+++ b/core/src/main/java/io/undertow/UndertowMessages.java
@@ -647,4 +647,7 @@ public interface Undertow... | 3 | 3 | 0 | [{"id": "G0", "claim": "The four commits should be merged (squashed) into one commit.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Update the copyright year in StatusLineTestCase.java to 2024.", "category": "maintainability", "verdict": "supported", "... | null |
undertow-io__undertow__1938 | undertow-io/undertow | 1,938 | defect | 6fb0157efa845cee3227f1c54ef3e662b1bf731e | 6016427733b0535ac40bdd4fc90acd33f7f54f86 | [UNDERTOW-2738][UNDERTOW-2739][UNDERTOW-2740][UNDERTOW-2741] Fixes for Cookie header parsing | Jiras:
https://redhat.atlassian.net/browse/UNDERTOW-2738
https://redhat.atlassian.net/browse/UNDERTOW-2739
https://redhat.atlassian.net/browse/UNDERTOW-2740
https://redhat.atlassian.net/browse/UNDERTOW-2741
Main PR: #1956 | diff --git a/core/src/main/java/io/undertow/server/HttpServerExchange.java b/core/src/main/java/io/undertow/server/HttpServerExchange.java
index e7d660a0f5..7f7ee57e87 100644
--- a/core/src/main/java/io/undertow/server/HttpServerExchange.java
+++ b/core/src/main/java/io/undertow/server/HttpServerExchange.java
@@ -76,10... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new List-based parseRequestCookies overloads should not return a Map (asLegacyMap builds throwaway flat maps of small objects on every call from HttpServerExchange).", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The depr... | null |
undertow-io__undertow__787 | undertow-io/undertow | 787 | defect | fa9263dccd8acd0aa361e6990a3d1de6af4036c7 | c47e2531bb52d44f84fdffbf796086425b3354ea | [UNDERTOW-1569] HttpServletRequest getLocalName() returns IP instead … | …of hostname
Issue: https://issues.jboss.org/browse/UNDERTOW-1569 | diff --git a/servlet/src/main/java/io/undertow/servlet/spec/HttpServletRequestImpl.java b/servlet/src/main/java/io/undertow/servlet/spec/HttpServletRequestImpl.java
index 34fcc8d375..0824ba728d 100644
--- a/servlet/src/main/java/io/undertow/servlet/spec/HttpServletRequestImpl.java
+++ b/servlet/src/main/java/io/underto... | 1 | 1 | 1 | [{"id": "G0", "claim": "getLocalName() should not return the IP address when the host name cannot be resolved, because per the ServletRequest javadoc the method should never return an IP address.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
undertow-io__undertow__876 | undertow-io/undertow | 876 | defect | ae4240bf8e6937cf5f9847b3ad5941284d629628 | 8c9c0593da4a723ab027cc5553967658c13fff3f | UNDERTOW-1683 Don't throw an exception if isReady is called before re… | …quest returns
Jira: https://issues.redhat.com/browse/UNDERTOW-1683 | diff --git a/servlet/src/main/java/io/undertow/servlet/spec/AsyncContextImpl.java b/servlet/src/main/java/io/undertow/servlet/spec/AsyncContextImpl.java
index 78af925119..2e713aa153 100644
--- a/servlet/src/main/java/io/undertow/servlet/spec/AsyncContextImpl.java
+++ b/servlet/src/main/java/io/undertow/servlet/spec/Asy... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the accidentally generated setInitialRequestDone setter on AsyncContextImpl, since nothing calls it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
undertow-io__undertow__985 | undertow-io/undertow | 985 | defect | 9025dd59435be36ccf72e03a8fc5544ef5933720 | fe13149b943af13d42517fe1c4e010f8b4e3d2c2 | UNDERTOW-1806 better HTTP/2 close behaviour | port for 2.0.x branch
Issue: https://issues.redhat.com/browse/JBEAP-20407
Upstream Issue: https://issues.redhat.com/browse/UNDERTOW-1806
Upstream PR: https://github.com/undertow-io/undertow/pull/981
2.1.x PR: #1004 | diff --git a/core/src/main/java/io/undertow/protocols/http2/Http2DataStreamSinkChannel.java b/core/src/main/java/io/undertow/protocols/http2/Http2DataStreamSinkChannel.java
index 21a7d5ad9e..6c73ef874e 100644
--- a/core/src/main/java/io/undertow/protocols/http2/Http2DataStreamSinkChannel.java
+++ b/core/src/main/java/i... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test's log line `log.error(\"Callback invoked\")` looks like it should be logged at debug level rather than error.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
unicode-org__icu4x__6814 | unicode-org/icu4x | 6,814 | defect | 9f6802b29088d0c655ffcb2406d04477bb9a9e23 | bda3adb5adb005cfa424459ee53bfba724f48429 | Make merge separator compare less than U+0000 on the identical strength | See #6811.
This change does not fix the issue for sort keys.
Includes the test changeset from #6812. | diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs
index 2d8ff7543c7..ff1d099ff69 100644
--- a/components/collator/src/comparison.rs
+++ b/components/collator/src/comparison.rs
@@ -694,8 +694,8 @@ macro_rules! compare {
}
let ret = self.compare_impl(left... | 3 | 1 | 0 | [{"id": "G0", "claim": "Placing the U+FFFE code-point-specific logic directly inside the main `compare` macro seems un-elegant; it should be moved elsewhere.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is uncertain that U+FFFE is the only code point ... | null |
unicode-org__icu4x__7006 | unicode-org/icu4x | 7,006 | defect | 1b2f61ad7a7148280f84ff36b942d992d8919bc9 | 088478d95ae642a2efa2acce82096d4dfad731e3 | Use simple approximation for LunarChinese | https://github.com/unicode-org/icu4x/issues/5778
Replaces #6995 | diff --git a/components/calendar/src/cal/chinese.rs b/components/calendar/src/cal/chinese.rs
index c6d3feda26d..9c20dc8da4a 100644
--- a/components/calendar/src/cal/chinese.rs
+++ b/components/calendar/src/cal/chinese.rs
@@ -176,8 +176,7 @@ impl Rules for China {
let Some((number, is_leap)) = month_code.parsed... | 5 | 2 | 1 | [{"id": "G0", "claim": "Keep the intermediate variables in periodic_duration_on_or_before instead of the inlined expression, since the function is sufficiently non-obvious.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G16", "claim": "The condition in the whi... | null |
unicode-org__icu4x__7013 | unicode-org/icu4x | 7,013 | defect | 66aba40f38daca55c034b9549bddca5c0eb7cafa | 0150ddb164824578ac4c918eb2172a5b495f86fb | Add Dangi to generate_reference_years, fix reference year checking test | In https://github.com/unicode-org/icu4x/pull/7007/files#r2393049682 I noticed a Korean reference year was incorrect. At first I thought it was due to a KASI mismatch, but it turns out our algorithm matches KASI from 1912 onwards (https://github.com/unicode-org/icu4x/pull/7008), and you can see the bug in our code too.
... | diff --git a/components/calendar/src/cal/chinese.rs b/components/calendar/src/cal/chinese.rs
index 9c20dc8da4a..5483c5d8b7b 100644
--- a/components/calendar/src/cal/chinese.rs
+++ b/components/calendar/src/cal/chinese.rs
@@ -348,7 +348,7 @@ impl Rules for Dangi {
(2, true, false) => 1947,
(2, ... | 2 | 2 | 0 | [{"id": "G0", "claim": "In the generated test helper the year data should be read via calendar.0.year_data(year) instead of the separately passed rules parameter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The generate_reference_years_for he... | null |
unicode-org__icu4x__7116 | unicode-org/icu4x | 7,116 | defect | 8371b92075c90a689b6eb0a094bc6f15c19f364a | 5eae8bfa386f35f441a85631ace5c30fdd2b7fb5 | Move DateFields::month_code over to being a byte slice | Depends on #7115, depends on #7105
Attempt at fixing #7104.
The user experience of the byte slice is a little bit worse if you want to use MonthCode::new_normal/new_leap since you have to persist those for a while.
Most people will not be creating them for long, though. In theory we could produce byte versions... | diff --git a/components/calendar/src/cal/abstract_gregorian.rs b/components/calendar/src/cal/abstract_gregorian.rs
index 0449f1ded54..c88c9f417fe 100644
--- a/components/calendar/src/cal/abstract_gregorian.rs
+++ b/components/calendar/src/cal/abstract_gregorian.rs
@@ -105,7 +105,7 @@ impl<Y: GregorianYears> DateFieldsR... | 1 | 1 | 0 | [{"id": "G0", "claim": "This PR does not yet fix the Debug impl for DateFields (whose era and month_code are now byte slices that a derived Debug would not render as readable strings), which the author calls an easy addition he will do soon.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sc... | null |
unicode-org__icu4x__7158 | unicode-org/icu4x | 7,158 | defect | 2908d243f4c2d4be7f852e2cb97c050f535a2b5e | 886028a44f132c273c348b096d19555b95e1a046 | Fix calendar preference resolution | Add a test to test our non-data-driven calendar resolution against CLDR.
Our Hijri resolution was very spotty, we had only hardcoded `und-SA-u-ca-islamic` to `HijriUmmAlQura` before, but we also need `und-{AE,BH,KW,QA}-u-ca-islamic` to `HijriUmmAlQura` and the rest of `und-u-ca-islamic` to `HijriTabularTypeIIFriday`... | diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs
index 34a3fc2e5c6..13ea2a6d20d 100644
--- a/components/calendar/src/any_calendar.rs
+++ b/components/calendar/src/any_calendar.rs
@@ -14,7 +14,6 @@ use crate::{types, AsCalendar, Calendar, Date, Ref};
use crate::preference... | 1 | 1 | 0 | [{"id": "G0", "claim": "Potentially mention calendarPreferenceData.json and test_calendar_resolution near the new match in AnyCalendarKind::new, since the resolution is tested far away from its source.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unicode-org__icu4x__7209 | unicode-org/icu4x | 7,209 | defect | 1fbff08420e7ff1f105de5e3760bf786924e54d9 | ab547cd2fe3b916f60e1b16e534d80583f46d5f4 | add schemars support for zerovec | implement the `schemars::JsonSchema` for the public types in the `zerovec` crate.
i was unsure, if i should also add a `JsonSchema` impl for `VarZeroSlice`, as #4792 did not do that and none of the reviews mention that it should be done, so i didn't do it either, but i did want to point it out.
for the tests i us... | diff --git a/Cargo.lock b/Cargo.lock
index 169d03cae8f..af36ccdd0ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -522,6 +522,18 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "console"
+version = "0.15.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "054ccb5b10f9f2cbf51eb355c... | 2 | 2 | 0 | [{"id": "G0", "claim": "Place all the schemars impls (and tests) in a separate schemars.rs file instead of inline in the zerovec source files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Also implement JsonSchema for ZeroMap, as was done for ... | null |
unicode-org__icu4x__7213 | unicode-org/icu4x | 7,213 | defect | 2aaac235edbe2af7600d9cb2e5448374bf50aced | d5ddc771d716e1f4595b1ffb635f4c3d8b513df6 | Optimize Hebrew and Julian calendars | Aligns some Hebrew code with the other lunisolar calendars, and applies the Neri-Schneider optimisatios to the Julian calendar as well.
I implemented new Hebrew code in `icu_calendar` as there we can keep it internal and iterate on it. | diff --git a/components/calendar/src/cal/abstract_gregorian.rs b/components/calendar/src/cal/abstract_gregorian.rs
index 17cd85e3f58..430db074a80 100644
--- a/components/calendar/src/cal/abstract_gregorian.rs
+++ b/components/calendar/src/cal/abstract_gregorian.rs
@@ -52,18 +52,14 @@ impl<Y: GregorianYears> DateFieldsR... | 5 | 3 | 1 | [{"id": "G0", "claim": "The Hebrew year/keviyah math that this PR reimplements in icu_calendar's hebrew.rs should remain in (or be moved to) calendrical_calculations instead — on the Keviyah/YearInfo types, e.g. as part of year_containing_rd and month_day_for — rather than being split out and reimplemented in icu_calen... | null |
unicode-org__icu4x__7226 | unicode-org/icu4x | 7,226 | defect | e721b813e4149ec310f45caaac380ce20783b643 | 19e5bfbaeafc6ca46c6a8d06db4ad2857a687cd8 | calendar: add snapshot test for Date::try_add_with_options (clean version) | This PR adds a snapshot test for `Date::try_add_with_options` to ensure that date addition using `DateDuration` behaves as expected and produces stable results.
It is a clean recreation of the previous PR (#7221), which was linked to:
- Fixes #7215
- Related to #7077
The earlier PR accidentally included uninten... | diff --git a/components/calendar/tests/date_addition_snapshot.rs b/components/calendar/tests/date_addition_snapshot.rs
new file mode 100644
index 00000000000..181b290059b
--- /dev/null
+++ b/components/calendar/tests/date_addition_snapshot.rs
@@ -0,0 +1,75 @@
+use icu_calendar::{
+ options::DateAddOptions, types::Da... | 8 | 7 | 5 | [{"id": "G0", "claim": "The pull request still changes many files that it should not touch, and the author should verify PR contents before opening them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The snapshot entry should use a compact format such as `... | null |
unicode-org__icu4x__7305 | unicode-org/icu4x | 7,305 | defect | c46d47f1a81b111892932fd422c10c59a58ae189 | 253375b41a6e78b891bbe6f31b86eb74b758e6c1 | Dense zero trie Out of Range handling #7303 | Working on https://github.com/unicode-org/icu4x/issues/7303.
When creating a dense sparse zerotrie, if the incoming values are too spread out for a dense matrix:
- Select the row offset that gets the greatest number of values into the dense matrix.
- Put all out-of-range values into the primary trie, as we do with... | diff --git a/utils/zerotrie/src/builder/dense.rs b/utils/zerotrie/src/builder/dense.rs
index fb5128b957c..c205a15fdc8 100644
--- a/utils/zerotrie/src/builder/dense.rs
+++ b/utils/zerotrie/src/builder/dense.rs
@@ -28,6 +28,28 @@ pub(crate) struct DenseSparse2dAsciiWithFixedDelimiterBuilder<'a> {
}
impl<'a> DenseSpar... | 4 | 4 | 0 | [{"id": "G0", "claim": "Also add test values at cluster_start + row_width - 3, -2, -1, +0, +1, ideally out of order and including duplicates, to exercise the window boundary.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add assertions on the two sizes... | null |
unicode-org__icu4x__7342 | unicode-org/icu4x | 7,342 | defect | 9844a298e11a26b0e0e174b9d004142357f52585 | 5ea69c038f436014b0f71a10d6b63c650ae3561d | Change `AstronomicalSimulation` |
## Changelog
icu_calendar: Use UmmAlQura under the hood for AstronomicalSimulation.
- Clients wishing to use the Reingold simulation are encouraged to write their own implementation of `hijri::Rules` using code from `calendrical_calculations`. | diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs
index 83904adade8..d0bb9322d86 100644
--- a/components/calendar/src/any_calendar.rs
+++ b/components/calendar/src/any_calendar.rs
@@ -670,8 +670,6 @@ pub enum AnyCalendarKind {
/// This corresponds to the `"hebrew"` [CLD... | 12 | 8 | 1 | [{"id": "G0", "claim": "The new `Hijri(Some(Rgsa)) => Err(())` arm - the only `Err` path in this `TryFrom<CalendarAlgorithm>` impl - makes `-u-ca-islamic-rgsa` fall back unconditionally to Gregorian via `AnyCalendarKind::new`; `islamic-rgsa` should instead resolve to the locale default, i.e. behave like `islamic-zzz`."... | null |
unicode-org__icu4x__7455 | unicode-org/icu4x | 7,455 | defect | 2be5aa00102cc21bfb2ba4d70076caac9e510174 | 5c793ce89c53673ada492a32e7eefa9fae6a5e12 | Deprecate `AstronomicalSimulation` | #7320
## Changelog
icu_calendar: Deprecate `AstronomicalSimulation` (use `UmmAlQura` or a custom calendar instead) | diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs
index 461123db528..c96fcf7a2fe 100644
--- a/components/calendar/src/any_calendar.rs
+++ b/components/calendar/src/any_calendar.rs
@@ -24,7 +24,6 @@ macro_rules! make_any_calendar {
#[$unstable_cfg:meta],
$... | 4 | 2 | 0 | [{"id": "G0", "claim": "Add a line or two of documentation on AstronomicalSimulation itself explaining why it is deprecated.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add sffc's provided doc text to AstronomicalSimulation explaining that it p... | null |
unicode-org__icu4x__7641 | unicode-org/icu4x | 7,641 | defect | 10ccfd6bcc39af8aaa43743b9413902fe799cd44 | cf7eed7ca03f6b388f883fc0d6d5b0e00980e46c | Correct Hijri reference years | The existing code incorrectly produced past years for nonexistant Hijri MonthDays, which ends up in stuff constraining to the wrong month.
The reference_year function must be able to handle any number thrown at it: if you throw `day = 35` , it should resolve to the reference year for `day = 30`, or if that's not a t... | diff --git a/components/calendar/src/cal/hijri.rs b/components/calendar/src/cal/hijri.rs
index 2685c3e4d7f..8b497b26be6 100644
--- a/components/calendar/src/cal/hijri.rs
+++ b/components/calendar/src/cal/hijri.rs
@@ -246,7 +246,7 @@ impl Rules for UmmAlQura {
(9, _) => 1392,
(10, 30..) => 1390... | 2 | 1 | 1 | [{"id": "G0", "claim": "Questions whether year 1392 really contained all of those 30-day months and whether the previous mapping was just completely wrong, i.e. whether the changed month-day-to-reference-year mapping is correct.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}... | null |
unicode-org__icu4x__7652 | unicode-org/icu4x | 7,652 | defect | fbdb9c983b73b804afce9912bcc432d686e91965 | bdcdccaad89375c0a2bac8ad79a3adb5fc8bca03 | Add regression tests for locale default hour cycle (Fixes #594) | Fixes #594
This PR adds regression tests to make sure datetime formatting falls back
to the correct default hour cycle based on CLDR region data when no
explicit -u-hc- preference is provided.
I added both runtime and datagen tests so that the behavior is covered
at formatting time as well as at the data level.
... | diff --git a/components/datetime/tests/simple_test.rs b/components/datetime/tests/simple_test.rs
index f70bc5fb452..1af0d5c2032 100644
--- a/components/datetime/tests/simple_test.rs
+++ b/components/datetime/tests/simple_test.rs
@@ -216,3 +216,94 @@ fn test_5387() {
assert_writeable_eq!(formatter_h12.format(&datet... | 3 | 3 | 0 | [{"id": "G0", "claim": "Import `Gregorian` from `icu_calendar` at the top of simple_test.rs and use the short name instead of the fully qualified `icu_calendar::Gregorian`, for consistency with other test files like resolved_components.rs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scop... | null |
unicode-org__icu4x__7676 | unicode-org/icu4x | 7,676 | defect | d77b22cd5ecd57718c9017fc2f4ec0cdbbcd3294 | ac86cbf738849aa605dc22ec8348657d1f42ff6e | Correctly check the RD range for Date::try_from_fields and Date::try_add* | Progress on https://github.com/unicode-org/icu4x/issues/7076
This does a bunch of things:
- Adds `GENEROUS_YEAR_RANGE`, which is a year range that is slightly wider than `VALID_RD_RANGE` for all calendars, "good enough" for early checks.
- Uses `GENEROUS_YEAR_RANGE` as a precondition in `try_from_fields`, and ... | diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs
index 9f69c1e49fa..bb081b20077 100644
--- a/components/calendar/src/any_calendar.rs
+++ b/components/calendar/src/any_calendar.rs
@@ -325,7 +325,7 @@ macro_rules! make_any_calendar {
date: &Self::DateInner,
... | 35 | 26 | 2 | [{"id": "G0", "claim": "The coarse preemptive overflow check feels redundant next to the existing year range-checking infrastructure; the author floats having `surpasses_inner` return a YearOverflowError that `surpasses()` turns into `true`.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "in... | null |
unicode-org__icu4x__7734 | unicode-org/icu4x | 7,734 | defect | 86bec54c9e84fda4103435ea7f134ad7742845cc | 40a0915db6e258337005b8a2845f5334f8cab8c3 | Validate `DateInner` compatibility | The until operation only works if both calendars are the same. This is not just a concern for `AnyCalendar`, any calendar can be parameterised, and some of our calendars actually are (~although none in a way that affects the until method~). Given that `Calendar::DifferenceError` is an associated type, we need to allow ... | diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs
index 9e70e54ed4c..3df76eb51de 100644
--- a/components/calendar/src/any_calendar.rs
+++ b/components/calendar/src/any_calendar.rs
@@ -102,7 +102,7 @@ macro_rules! make_any_calendar {
impl $crate::Calendar for $any_ca... | 6 | 2 | 1 | [{"id": "G0", "claim": "Eq and Ord for dates should just compare RD instead of needing the new per-calendar eq/cmp scaffolding.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Adding several new methods to the stable Calendar trait to power the Eq/Ord impls... | null |
unicode-org__icu__1947 | unicode-org/icu | 1,947 | defect | 54e4120738355e1fb0b03e93b00f04e258b16e17 | c6d3b2fbc3c5c46746c5b3738ad7588dda2d88e6 | ICU-21862 icu4c unit conversions: support inverting 0 and Infinity (for vehicle-fuel) | This only fixes ICU4C, since ICU4J unit conversions don't support Inf/NaN yet.
Fixing Java depends on first fixing https://github.com/icu-units/icu/issues/132
<!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
Y... | diff --git a/icu4c/source/i18n/units_converter.cpp b/icu4c/source/i18n/units_converter.cpp
index 7e946e584bb7..82b8eea3d8cf 100644
--- a/icu4c/source/i18n/units_converter.cpp
+++ b/icu4c/source/i18n/units_converter.cpp
@@ -9,6 +9,7 @@
#include "cmemory.h"
#include "double-conversion-string-to-double.h"
#include "mea... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `!bothNaN` check in assertEqualsNear's final condition is redundant now that both-NaN cases return early at the top, and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test case for 0 mpg converti... | null |
unicode-org__icu__1977 | unicode-org/icu | 1,977 | defect | e951f4aec4600a3fbec9d7ff2252f2550a3856ec | a0422dc54ddcd5c7d8f3521203ee9d65bde6b064 | ICU-21881 TrailingZeroDisplay + RoundingMode | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/test/intltest/numbertest_api.cpp b/icu4c/source/test/intltest/numbertest_api.cpp
index 8a357436cd15..c8a3d28d861c 100644
--- a/icu4c/source/test/intltest/numbertest_api.cpp
+++ b/icu4c/source/test/intltest/numbertest_api.cpp
@@ -3011,6 +3011,17 @@ void NumberFormatterApiTest::roundingFraction(... | 3 | 2 | 2 | [{"id": "G0", "claim": "Add a C++ test using UNUM_ROUND_HALF_UP, since that is the rounding mode of the case reported in bug ICU-21881.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a Java test using RoundingMode.HALF_UP, since that is the rounding... | null |
unicode-org__icu__2012 | unicode-org/icu | 2,012 | defect | c86a2bd7d79c9a221013d1d9b174898ef77e1f01 | 6dc781ae090b75b36fb21e80abddcc5685a02236 | ICU-21322 Add parse and format methods for DecimalQuantity with exponent | ##### Checklist
- [X] Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-21322
- [X] Required: The PR title must be prefixed with a JIRA Issue number. <!-- For example: "ICU-1234 Fix xyz" -->
- [X] Required: The PR description must include the link to the Jira Issue, for example by completing the ... | diff --git a/icu4c/source/i18n/number_decimalquantity.cpp b/icu4c/source/i18n/number_decimalquantity.cpp
index ef53d3aa29b0..01c027b4cb6b 100644
--- a/icu4c/source/i18n/number_decimalquantity.cpp
+++ b/icu4c/source/i18n/number_decimalquantity.cpp
@@ -557,6 +557,71 @@ void DecimalQuantity::_setToDecNum(const DecNum& dec... | 5 | 5 | 1 | [{"id": "G0", "claim": "Inline the new DecimalQuantity_DualStorageBCD(String, int) constructor into fromString instead of keeping it as a separate public constructor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new public static method from... | null |
unicode-org__icu__2085 | unicode-org/icu | 2,085 | defect | e96e9410bde06962c211fa6f21c3d91263a90f86 | 9310a4865b044e7d57cfe24e8cc6684c195708c1 | ICU-22017 Fix numbering system resolution in NumberRangeFormatter | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/i18n/numrange_impl.cpp b/icu4c/source/i18n/numrange_impl.cpp
index 3c440c193c7b..06efc7b2815e 100644
--- a/icu4c/source/i18n/numrange_impl.cpp
+++ b/icu4c/source/i18n/numrange_impl.cpp
@@ -130,7 +130,7 @@ NumberRangeFormatterImpl::NumberRangeFormatterImpl(const RangeMacroProps& macros
f... | 3 | 2 | 0 | [{"id": "G0", "claim": "The Java NumberRangeFormatterImpl may have the same numbering-system resolution issue at its nsName check as the C++ side this PR fixes, and needs the same fix.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Separate the ex... | null |
unicode-org__icu__2096 | unicode-org/icu | 2,096 | defect | f6300c97cd4b8f1224776e43226d3a8bbb695c2c | 8a841d88f60b7b57cda48a6455fb62982d66107f | ICU-22041 Fix "Africa/Casablanca" show strange LONG displayName | Fix incorrect raw offset and display name of "Africa/Casablanca" caused by
extra `* U_MILLIS_PER_SECOND` before using return value of
uprv_getUTCtime() which is already in ms per source/common/putilimp.h
Adding test to show the issue
The code is currently only printout in -v mode
Running (notice the -v param... | diff --git a/icu4c/source/i18n/olsontz.cpp b/icu4c/source/i18n/olsontz.cpp
index cae471a5a25c..fd186c6473a0 100644
--- a/icu4c/source/i18n/olsontz.cpp
+++ b/icu4c/source/i18n/olsontz.cpp
@@ -430,8 +430,7 @@ void OlsonTimeZone::setRawOffset(int32_t /*offsetMillis*/) {
int32_t OlsonTimeZone::getRawOffset() const {
... | 4 | 4 | 0 | [{"id": "G0", "claim": "OlsonTimeZone::getRawOffset() multiplies the epoch milliseconds returned by uprv_getUTCtime() by U_MILLIS_PER_SECOND, producing a far-future time and therefore wrong raw offsets for zones whose transition table is populated into the next 50 years (e.g. Africa/Casablanca, Sao_Paulo).", "category"... | null |
unicode-org__icu__2098 | unicode-org/icu | 2,098 | defect | f6300c97cd4b8f1224776e43226d3a8bbb695c2c | bea2810ea6d89df8e426f0d3ce7961927712c399 | ICU-21946 RBBI Break Cache Optimizations | Adjust RuleBasedBreakIterator::BreakCache::populateNear() to retain
the cache contents in additional cases where they 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.
<!--
Thank yo... | diff --git a/icu4c/source/common/rbbi_cache.cpp b/icu4c/source/common/rbbi_cache.cpp
index 26d82df78118..b19a6f0e06d9 100644
--- a/icu4c/source/common/rbbi_cache.cpp
+++ b/icu4c/source/common/rbbi_cache.cpp
@@ -341,41 +341,82 @@ UBool RuleBasedBreakIterator::BreakCache::populateNear(int32_t position, UErrorC
}
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new cache-retention logic relies on unexplained magic-number thresholds (15 and 20 in C++, 15/20 and the surrogate-pair 2 in Java), and the reviewer asks that each be given a named constant together with a note about how the value is picked.", "category": "maintainability", "verdict": "suppo... | null |
unicode-org__icu__2099 | unicode-org/icu | 2,099 | defect | fcc981a5b7a11628187ee6a1f97203449b48bd36 | 45cbf82ed02fb27b2c29f4b6cbdc4a17eb0fb03a | ICU-21935 Add DisplayOptions to NumberFormatterSettings | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/i18n/number_fluent.cpp b/icu4c/source/i18n/number_fluent.cpp
index fd486afb5122..7bbc7afe1990 100644
--- a/icu4c/source/i18n/number_fluent.cpp
+++ b/icu4c/source/i18n/number_fluent.cpp
@@ -288,6 +288,36 @@ Derived NumberFormatterSettings<Derived>::usage(const StringPiece usage)&& {
return... | 6 | 3 | 0 | [{"id": "G0", "claim": "Add a new @internal function on DisplayOptions (e.g. getGrammaticalCaseWithNull) so the undefined-case handling in displayOptions becomes a one-liner, a change the author marked done but that is absent from the PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
unicode-org__icu__2182 | unicode-org/icu | 2,182 | defect | 030fa1a4791ee7c2f58505ebb61253c3032916ec | e13b5d977e2e070d48ebe01a304b33c3a50dabe2 | ICU-22122 Support Locale Tags (ms, mu and rg) | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4j/main/classes/core/src/com/ibm/icu/impl/number/UsagePrefsHandler.java b/icu4j/main/classes/core/src/com/ibm/icu/impl/number/UsagePrefsHandler.java
index 6de6152d08ca..04c6cf65a0a7 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/impl/number/UsagePrefsHandler.java
+++ b/icu4j/main/classes/core/src/... | 7 | 4 | 2 | [{"id": "G0", "claim": "The new locale-tag tests should cover all combinations of input measure (fahrenheit/celsius), usage (none/default/other), base locales and the +/- mu, +/- ms and +/- rg tag combinations, driven from a table of test cases and expected outputs.", "category": "testing", "verdict": "supported", "pri... | null |
unicode-org__icu__2245 | unicode-org/icu | 2,245 | defect | fbb4a5a167192d2d918ee0020e8e084c299de97d | f385136756d30d1fe8d303dccc7df37aba440fc6 | ICU-20926 Add tests for identity behavior in DateIntervalFormat | Replaces #1105
##### Checklist
- [x] Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-20926
- [x] Required: The PR title must be prefixed with a JIRA Issue number. <!-- For example: "ICU-1234 Fix xyz" -->
- [x] Required: The PR description must include the link to the Jira Issue, for example by... | diff --git a/icu4c/source/test/intltest/dtifmtts.cpp b/icu4c/source/test/intltest/dtifmtts.cpp
index 3fc2af1235a9..166676bf0a35 100644
--- a/icu4c/source/test/intltest/dtifmtts.cpp
+++ b/icu4c/source/test/intltest/dtifmtts.cpp
@@ -66,6 +66,8 @@ void DateIntervalFormatTest::runIndexedTest( int32_t index, UBool exec, con... | 2 | 2 | 0 | [{"id": "G0", "claim": "The assertTrue on the non-identity case expects a span field to be present but its failure message says 'Span field should not be in identity formats', so the message should be corrected in both the C++ and the Java test.", "category": "documentation", "verdict": "supported", "priority": "P2", "... | null |
unicode-org__icu__2277 | unicode-org/icu | 2,277 | defect | 90caafbcd437e04147106d8e35a29b189977f0b7 | 14d9147bda840eeee9ef146197078687295f23f7 | ICU-22093 Polish for SimpleNumberFormatter | _No hurry to review this; I don't expect a review until January_
CC @Manishearth
##### Checklist
- [x] Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-22093
- [x] Required: The PR title must be prefixed with a JIRA Issue number. <!-- For example: "ICU-1234 Fix xyz" -->
- [x] Required: Th... | diff --git a/icu4c/source/i18n/number_capi.cpp b/icu4c/source/i18n/number_capi.cpp
index 13b0cd0aef3f..bc08989fc95d 100644
--- a/icu4c/source/i18n/number_capi.cpp
+++ b/icu4c/source/i18n/number_capi.cpp
@@ -255,13 +255,22 @@ unumf_close(UNumberFormatter* f) {
U_CAPI USimpleNumber* U_EXPORT2
usnum_openForInt64(int64... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new usnumf_format doc comment does not say what happens if the caller formats again without calling usnum_setToInt64 - whether they get an error or the previous value formatted again.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
unicode-org__icu__2309 | unicode-org/icu | 2,309 | defect | 0264f411b8e0d7ede4bba157b42193fde5ebc150 | 98ba6e3433d9374f2ad22da4535faa3f35b50068 | ICU-22262 Automate environment test | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/.github/workflows/icu_envtest.yml b/.github/workflows/icu_envtest.yml
new file mode 100644
index 000000000000..1a88d6ccab5d
--- /dev/null
+++ b/.github/workflows/icu_envtest.yml
@@ -0,0 +1,137 @@
+# Copyright (C) 2016 and later: Unicode, Inc. and others.
+# License & terms of use: http://www.unicode.org/co... | 7 | 6 | 1 | [{"id": "G0", "claim": "Add workflow_dispatch configuration lines so the Env Test workflow can be triggered manually on demand instead of relying on the pull_request trigger.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add the missing closing parenthe... | null |
unicode-org__icu__2418 | unicode-org/icu | 2,418 | defect | 2a2995951bb2226b998ed8e30d7709e80012cdd5 | 811e7df7b6910fdc1893742e397a7e74442b94f6 | ICU-22342 Implement ExternalBreakEngineAPI | Implement the ExternalBreakEngineAPI and change the RBBI to use it internally. Add test cases to show how to do that in two fake break engines.
<!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automat... | diff --git a/icu4c/source/common/brkeng.cpp b/icu4c/source/common/brkeng.cpp
index ce3d09cf23b8..5be8f6a1d697 100644
--- a/icu4c/source/common/brkeng.cpp
+++ b/icu4c/source/common/brkeng.cpp
@@ -21,6 +21,7 @@
#include "unicode/uscript.h"
#include "unicode/ucharstrie.h"
#include "unicode/bytestrie.h"
+#include "unico... | 24 | 23 | 11 | [{"id": "G0", "claim": "In ICULanguageBreakFactory::ensureEngines, fEngines = engines.orphan() must not happen when there is a U_FAILURE(status); make it conditional on U_SUCCESS or early-return on failure as the original code did.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
unicode-org__icu__2483 | unicode-org/icu | 2,483 | defect | de26ea8c6a37c4f6e1382560fb8f791f7cecaa2b | 9ccf09af24ff751d8dc4af19a3f7995e29efd39c | ICU-21952 Add withoutLocale functions to LocalizedNumber[Range]Formatter | Will send an API proposal shortly.
##### Checklist
- [x] Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-21952
- [x] Required: The PR title must be prefixed with a JIRA Issue number. <!-- For example: "ICU-1234 Fix xyz" -->
- [x] Required: The PR description must include the link to the Jira... | diff --git a/icu4c/source/i18n/number_fluent.cpp b/icu4c/source/i18n/number_fluent.cpp
index 45d6b06c6df8..42df92a4bf26 100644
--- a/icu4c/source/i18n/number_fluent.cpp
+++ b/icu4c/source/i18n/number_fluent.cpp
@@ -430,6 +430,14 @@ UnlocalizedNumberFormatter::UnlocalizedNumberFormatter(const NFS<UNF>& other)
// No... | 3 | 1 | 0 | [{"id": "G0", "claim": "The MSVC build fails four locale test assertions because the expected Japanese strings added by this PR's test file have the wrong source encoding, which the author says can probably be fixed in the test file.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "intro... | null |
unicode-org__icu__2572 | unicode-org/icu | 2,572 | defect | 6afef81b5e33d403c2f05d2cdfb060642aae550d | 9ba26cfb1c800afc76b96afb5c1a4e5323017fea | ICU-22455 Implemented algorithm in CLDR-16981 to preserve regional un… | …it overrides when they don't conflict
with the ms subtag.
<!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is acc... | diff --git a/icu4c/source/i18n/units_data.cpp b/icu4c/source/i18n/units_data.cpp
index 801ede88378c..b1e069660f2d 100644
--- a/icu4c/source/i18n/units_data.cpp
+++ b/icu4c/source/i18n/units_data.cpp
@@ -7,9 +7,11 @@
#include "bytesinkutil.h"
#include "cstring.h"
+#include "measunit_impl.h"
#include "number_decimal... | 2 | 1 | 0 | [{"id": "G0", "claim": "The metric_adjacent carve-out should apply only when the requested localeSystem is metric, since a unit preference with metric_adjacent units under an imperial request (e.g. uksystem) should be overridden with imperial units rather than kept.", "category": "correctness", "verdict": "opposed", "p... | null |
unicode-org__icu__2629 | unicode-org/icu | 2,629 | defect | 6d1999fbb9fd8dbca901b692cda6acb147982673 | ccd206442e714a61e06006688e255b5e023bd986 | ICU-22517 Limit the closure expansion loop and return error | To avoid very slow return from the constructor, we return an error while the Collation rule expand too big.
Add a limit constant to limit to the number of loop needed for 8 Hanguls.
Necessary number of loops: H(0)=0; H(i)=3H(i-1)+2.
Where i is the length of Hangul in the rule.
H(1) = 2, H(2) = 8, H(3)=26, H(4)=80, ... | diff --git a/icu4c/source/i18n/collationbuilder.cpp b/icu4c/source/i18n/collationbuilder.cpp
index d8fb89738c6a..e793e45e57e4 100644
--- a/icu4c/source/i18n/collationbuilder.cpp
+++ b/icu4c/source/i18n/collationbuilder.cpp
@@ -1113,12 +1113,23 @@ CollationBuilder::addWithClosure(const UnicodeString &nfdPrefix, const Un... | 6 | 6 | 3 | [{"id": "G0", "claim": "The new comment above kClosureLoopLimit should be reworded for grammar as given in the suggestion block (e.g. \"This constant defines a ... limit ... to return an error\" and \"for compiling a rule with eight Hangul syllables\").", "category": "documentation", "verdict": "supported", "priority":... | null |
unicode-org__icu__2710 | unicode-org/icu | 2,710 | defect | 8d3d214ad7f76b7d0650f19a871a0e7d58a5986f | a1b39d86f6f3f2c02ae6ec1a267ad1240d85826e | ICU-22549 Add Fuzzer for Unicode property API | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/test/fuzzer/Makefile.in b/icu4c/source/test/fuzzer/Makefile.in
index 28edbcb4963c..377ab04793fd 100644
--- a/icu4c/source/test/fuzzer/Makefile.in
+++ b/icu4c/source/test/fuzzer/Makefile.in
@@ -33,7 +33,7 @@ CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcd
DEFS ... | 3 | 2 | 0 | [{"id": "G0", "claim": "The FUZZER_TARGETS line added by this PR duplicates `uprop_fuzzer` and inserts a stray double space, and should be replaced with the corrected single-entry line.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fuzzer entry... | null |
unicode-org__icu__2712 | unicode-org/icu | 2,712 | defect | 8d3d214ad7f76b7d0650f19a871a0e7d58a5986f | 1c7ea66f9fe41eb1e3df2263e211f1c462f6a2cb | ICU-22522 Update the Azure CI from Clang 14 to Clang 16 | ##### Checklist
- [X] Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-22522
- [X] Required: The PR title must be prefixed with a JIRA Issue number.
- [X] Required: The PR description must include the link to the Jira Issue, for example by completing the URL in the first checklist item
- [X] Re... | diff --git a/.ci-builds/.azure-pipelines.yml b/.ci-builds/.azure-pipelines.yml
index d1288509d610..873cbeaf7fc1 100644
--- a/.ci-builds/.azure-pipelines.yml
+++ b/.ci-builds/.azure-pipelines.yml
@@ -72,7 +72,7 @@ jobs:
CC: clang
CXX: clang++
#----------------------------------------------------------... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new job name ICU4C_Clang_Cpp16_Debug_Ubuntu_2204 should use Cpp17 instead of Cpp16, since the Cpp token was historically the C++ version and has been out of sync since it was last set to Cpp17.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unicode-org__icu__2736 | unicode-org/icu | 2,736 | defect | 4da7ffaa3648386704e1e4c6cbd1447bbac1678f | 97749855f4e6d230ea00a50bdd0015c32076e29f | ICU-22585 Fix infinity loop while unicode set contains single surrogate | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/common/rbbiscan.cpp b/icu4c/source/common/rbbiscan.cpp
index df75212a191e..c04f501d326e 100644
--- a/icu4c/source/common/rbbiscan.cpp
+++ b/icu4c/source/common/rbbiscan.cpp
@@ -1257,7 +1257,7 @@ void RBBIRuleScanner::scanSet() {
// Don't just set fScanIndex because the line/char positio... | 1 | 1 | 0 | [{"id": "G0", "claim": "Optionally change uset in RBBIRuleScanner::scanSet() to a LocalPointer<UnicodeSet> and get rid of the explicit deletes of it on error conditions within the function, which would be cleaner and less error prone.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "... | null |
unicode-org__icu__2782 | unicode-org/icu | 2,782 | defect | 23d1fc5989c87d5a0572eed54f7c1000f1e3e71b | 42df6285cd6085d61bb02cc7dcb89e7a6ec8f2a4 | ICU-22626 Fix leakage when 2 '=' in PluralRules | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/i18n/plurrule.cpp b/icu4c/source/i18n/plurrule.cpp
index 839d14147cc2..0fbefbdc017e 100644
--- a/icu4c/source/i18n/plurrule.cpp
+++ b/icu4c/source/i18n/plurrule.cpp
@@ -656,6 +656,10 @@ PluralRuleParser::parse(const UnicodeString& ruleData, PluralRules *prules, UErr
case tEqual:
... | 2 | 1 | 0 | [{"id": "G0", "claim": "It is illogical to keep the U_ASSERT(curAndConstraint != nullptr) right before code that handles that condition, so the assertion should be deleted and all assertions in PluralRuleParser::parse() (reachable from public API) investigated and replaced with proper error handling.", "category": "des... | null |
unicode-org__icu__2792 | unicode-org/icu | 2,792 | defect | 078b88a11abe97766824a0f0e712fa876bbb08b4 | 527b3de14eb4527b2a36872ff226751acace05f1 | ICU-22637 Rewrite custom timezone parser | The old code use NumberFormat to parse and have the following problem
1. It accept non ASCII digits when the default locale is in a locale which use native non ASCII digits
2. It accept timezone offset in Scientific notation such as GMT-4E23 or GMT-2E03 which should be rejected
3. It may cause integer overflow in ca... | diff --git a/icu4c/source/i18n/timezone.cpp b/icu4c/source/i18n/timezone.cpp
index 02cbc78ceffb..6408ed43ee4d 100644
--- a/icu4c/source/i18n/timezone.cpp
+++ b/icu4c/source/i18n/timezone.cpp
@@ -42,7 +42,9 @@
#include "unicode/utypes.h"
#include "unicode/ustring.h"
#include "uassert.h"
+#include "uinvchar.h"
#inclu... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request should do the same parser rewrite for the Java version (icu4j), not only the C++ one.", "category": "scope", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment listing the supported patterns without ':' should be moved into the i... | null |
unicode-org__icu__2821 | unicode-org/icu | 2,821 | defect | 939f08f2743dc7ec752e3a74758ccde0bb7a91d4 | 9d505db05d4c8ba63b7b946b9ddf51bac22dbd13 | ICU-22661 Limit the size of variants in Locale | Limit the size of acceptable variants in Locale to avoid long running time of
resource fallback look up when trying all different combinations of many variants.
I first try to limit to the max size of 10 variants but some test break, so I change it to 20 now.
Also ensure the Locale::getVariant will not return i... | diff --git a/icu4c/source/common/uloc.cpp b/icu4c/source/common/uloc.cpp
index f5f2219540e8..111bd28d7c21 100644
--- a/icu4c/source/common/uloc.cpp
+++ b/icu4c/source/common/uloc.cpp
@@ -1331,7 +1331,10 @@ _getVariant(const char* localeID,
char prev,
ByteSink* sink,
const char** p... | 10 | 8 | 5 | [{"id": "G0", "claim": "Instead of trying resource fallback for every variant in a locale, the PR should lazily build the variant combinations that actually occur in the resource bundles and only cycle through those, which would be much faster.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "p... | null |
unicode-org__icu__2864 | unicode-org/icu | 2,864 | defect | d1fa15bc1f91335427c9718bfa3609bdae4a9d38 | 57c463bd7f64dcb97bc51b0117846bf11aa33c0c | ICU-22534 BRS#27 scrub closed issues (frontload) | <!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors license agreement (CLA) before the PR is accepted.
- sign: https://cla-assistant.io/unicode-org/icu
- licen... | diff --git a/icu4c/source/test/intltest/callimts.cpp b/icu4c/source/test/intltest/callimts.cpp
index bfb946db4ef3..973da7cb11d9 100644
--- a/icu4c/source/test/intltest/callimts.cpp
+++ b/icu4c/source/test/intltest/callimts.cpp
@@ -418,7 +418,7 @@ CalendarLimitTest::doLimitsTest(Calendar& cal,
if (maxActual... | 3 | 2 | 1 | [{"id": "G0", "claim": "Removing the logKnownIssue(\"cldrbug:17001\") exception block leaves nmg without its localized-language-name exception, so TestLocaleDisplayNames fails for language nmg (CI failure shown).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1",... | null |
unicode-org__icu__2887 | unicode-org/icu | 2,887 | defect | 2a1853c9a9e92df4e2d2b6182c66b4448d06bb3f | 562580359cb4f272eee70153dec3c32b3bce24bb | ICU-22202 Fixed DateIntervalFormat to solve a couple "conflicting fie… | …lds" errors.
(As with ICU-21939, the problem only exists on the Java side, but I added a corresponding unit test on the C++ side just in case we see something similar in the future.)
<!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on ... | diff --git a/icu4c/source/test/intltest/dtifmtts.cpp b/icu4c/source/test/intltest/dtifmtts.cpp
index 9989d6ff5d29..e477f15a4e94 100644
--- a/icu4c/source/test/intltest/dtifmtts.cpp
+++ b/icu4c/source/test/intltest/dtifmtts.cpp
@@ -2386,6 +2386,22 @@ void DateIntervalFormatTest::testTicket21939() {
UnicodeStrin... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new year branch of fieldExistsInSkeleton should also check for the other TR35 year field letters such as Y, u and r, not only U (per tr35-dates #dfst-year).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unicode-org__icu__2889 | unicode-org/icu | 2,889 | defect | ce052f52c2d1d56a8b290dc67773c65204d48f1e | 88ca60e88b264bc1c8442da07eada905dfb1cae3 | ICU-22689 Add PPUCD-based data driven test for binary props | ##### Checklist
- [X] Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-22689
- [X] Required: The PR title must be prefixed with a JIRA Issue number. <!-- For example: "ICU-1234 Fix xyz" -->
- [X] Required: The PR description must include the link to the Jira Issue, for example by completing the ... | diff --git a/icu4c/source/test/intltest/ucdtest.cpp b/icu4c/source/test/intltest/ucdtest.cpp
index a63b86e21642..b3e1656e9c6f 100644
--- a/icu4c/source/test/intltest/ucdtest.cpp
+++ b/icu4c/source/test/intltest/ucdtest.cpp
@@ -12,9 +12,11 @@
#include "unicode/putil.h"
#include "unicode/uscript.h"
#include "unicode/u... | 19 | 17 | 3 | [{"id": "G0", "claim": "The return statement inside getPropertyEnum should be indented to a multiple of 4 spaces.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "u_getPropertyEnum's result should not be explicitly cast to int32_t in getPropertyEnum.", "cat... | null |
unicode-org__icu__2931 | unicode-org/icu | 2,931 | defect | f7d641d5adb0460d1f58bad5947a29725870cc83 | 3b9c0b42c333767edf39d1ddba03dbd73be5fe3c | ICU-22261 Add UCONFIG_NO_MF2 flag that can be used to disable MessageFormat 2 functionality | This is a followup to #2579 that adds a compile-time flag to disable the MessageFormat 2 functionality.
<!--
Thank you for your pull request!
Please see http://site.icu-project.org/processes/contribute for general
information on contributing to ICU.
You will be automatically asked to sign the contributors l... | diff --git a/.github/workflows/icu4c.yml b/.github/workflows/icu4c.yml
index c2b10cb7f464..3509ccdb65fe 100644
--- a/.github/workflows/icu4c.yml
+++ b/.github/workflows/icu4c.yml
@@ -367,20 +367,21 @@ jobs:
- "-DUCONFIG_NO_IDNA=1"
- "-DUCONFIG_NO_COLLATION=1"
- "-DUCONFIG_NO_FORMATTING=1"
... | 1 | 1 | 1 | [{"id": "G0", "claim": "In messageformat2test_utils.h the config switches are checked before any public header has been included, so the compiler may not yet have seen uconfig.h; a public header such as unicode/utypes.h should be included first, before checking the switches.", "category": "correctness", "verdict": "sup... | null |
unicode-org__icu__2977 | unicode-org/icu | 2,977 | defect | 0e4c2d8bc68bbd46f2b74c0404e0cc26a98251f7 | c667936bdd9c2d4d513b18e28b1230f9b0bdafb2 | ICU-22742 Fix handling of XA,XB,XC for addLikelySubtags | <!--
Thank you for your pull request!
* General info on contributing: please see https://github.com/unicode-org/icu/blob/main/CONTRIBUTING.md
* Ticket numbers for minor changes: for minor changes (ex: docs typos), you can reuse one of the open catch-all tickets for our next release
- ICU 76 ticket: docs minor f... | diff --git a/icu4c/source/common/loclikelysubtags.cpp b/icu4c/source/common/loclikelysubtags.cpp
index c182191057f4..e80a8cd20af8 100644
--- a/icu4c/source/common/loclikelysubtags.cpp
+++ b/icu4c/source/common/loclikelysubtags.cpp
@@ -565,24 +565,16 @@ LSR LikelySubtags::makeMaximizedLsr(const char *language, const cha... | 1 | 1 | 1 | [{"id": "G0", "claim": "The S1 change does not fix the PS* (PSACCENT/PSBIDI/PSCRACK) variants: it adds !returnInputIfUnmatch only to the region-XA/XB/XC check and leaves the variant[0]=='P' && variant[1]=='S' block unwrapped, so wrapping both ifs in if (!returnInputIfUnmatch) is needed (in icu4j as well as icu4c).", "c... | null |
unicode-org__icu__2979 | unicode-org/icu | 2,979 | defect | 0e4c2d8bc68bbd46f2b74c0404e0cc26a98251f7 | d2deb804e74dc2b14e99ea699287fb073eace623 | ICU-22750 Fix Floating-point-exception in icu::Calendar::roll | In some calendar, the gap could be 0 and cause FPE when we % gap
<!--
Thank you for your pull request!
* General info on contributing: please see https://github.com/unicode-org/icu/blob/main/CONTRIBUTING.md
* Ticket numbers for minor changes: for minor changes (ex: docs typos), you can reuse one of the open cat... | diff --git a/icu4c/source/i18n/calendar.cpp b/icu4c/source/i18n/calendar.cpp
index 38080b4088c0..b6f675fae25f 100644
--- a/icu4c/source/i18n/calendar.cpp
+++ b/icu4c/source/i18n/calendar.cpp
@@ -1765,11 +1765,14 @@ void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& statu
int32_t gap... | 3 | 2 | 1 | [{"id": "G0", "claim": "Guarding only the division may hide an underlying problem: for gap to be zero the field's max would have to be less than min, so getActualMinimum/getActualMaximum may be failing, and in that case the new field value should not be set and the error should be reported back to the caller.", "catego... | null |
unicode-org__icu__3012 | unicode-org/icu | 3,012 | defect | 6ac6fdda74948d0a2ddd51ee81a672baa5c2bf35 | 804ab9e4151432a961836f9bd5b8f3f4b280fee5 | ICU-22763 MF2: Handle time zones correctly in :datetime | Previously, the time zone components of date/time literals were ignored. In order to store the time zone properly for re-formatting, this change also changes the representation of `Formattable` date values to use a `GregorianCalendar` rather than a `UDate`.
This is a public API change and a design doc can be found ... | diff --git a/icu4c/source/i18n/messageformat2_formattable.cpp b/icu4c/source/i18n/messageformat2_formattable.cpp
index 3152ccb44fd8..99ad3dafdee3 100644
--- a/icu4c/source/i18n/messageformat2_formattable.cpp
+++ b/icu4c/source/i18n/messageformat2_formattable.cpp
@@ -9,6 +9,7 @@
#include "unicode/messageformat2_forma... | 11 | 10 | 2 | [{"id": "G0", "claim": "The date/time parsing result should be a richer type that carries real time zone information (an IANA zone name and a floating indicator, not merely a UTC offset), so :datetime can preserve it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
unicode-org__icu__3016 | unicode-org/icu | 3,016 | defect | 699fb1dbc4cfbae6f78ff0b28570f44a20a7b149 | 821b8ae64fd74daaf993461a975877f3576337e5 | ICU-22768 Fix bidi buffer overflow | Consider doWriteForward may return 0 if src only contains bidi control chars.
<!--
Thank you for your pull request!
* General info on contributing: please see https://github.com/unicode-org/icu/blob/main/CONTRIBUTING.md
* Ticket numbers for minor changes: for minor changes (ex: docs typos), you can reuse one of... | diff --git a/icu4c/source/common/ubidiwrt.cpp b/icu4c/source/common/ubidiwrt.cpp
index 969807c24376..40d9505c2c42 100644
--- a/icu4c/source/common/ubidiwrt.cpp
+++ b/icu4c/source/common/ubidiwrt.cpp
@@ -501,7 +501,10 @@ ubidi_writeReordered(UBiDi *pBiDi,
destSize-=runLength;
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The lines added in ubidi_writeReordered at the two guard sites (the isInverse LRM_AFTER check and the RLM_AFTER check) should be re-indented to align with the surrounding continuation-line indentation, as shown in the suggestion blocks.", "category": "style", "verdict": "supported", "priority": ... | null |
unicode-org__icu__3035 | unicode-org/icu | 3,035 | defect | aefbea616201f69cd800744791baa3ebc4e258f1 | d5cfbba07b1d3d83243da3f9e91784b11ec7b1be | ICU-22798 Avoid stack overflow by return error. | Change the nested level limit from 0x7fff to 0x0fff since the fuzzer found in some machine 6400 level deep already cause stack overflow.
<!--
Thank you for your pull request!
* General info on contributing: please see https://github.com/unicode-org/icu/blob/main/CONTRIBUTING.md
* Ticket numbers for minor change... | diff --git a/icu4c/source/common/messagepattern.cpp b/icu4c/source/common/messagepattern.cpp
index 9e318295f9a9..8f15c4ab467d 100644
--- a/icu4c/source/common/messagepattern.cpp
+++ b/icu4c/source/common/messagepattern.cpp
@@ -437,7 +437,7 @@ MessagePattern::parseMessage(int32_t index, int32_t msgStartLength,
if(U... | 1 | 1 | 1 | [{"id": "G0", "claim": "With nestingLevel passed as zero at line 440 of messagepattern.cpp, the MSVC stack overflow may go undetected, so nestingLevel might need to be calculated there (or in the preParse stage) if it arrives as zero.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
unicode-org__icu__3150 | unicode-org/icu | 3,150 | defect | 9270216cb73faa128a9d77a14175fc4a164747ad | f3fdc7ea39143053495726913f79b98c1e229550 | ICU-22843 Disambiguate UnicodeString::readOnlyAlias() for MSVC | Both `std::u16string_view` and `std::wstring_view` are possible matches for `UnicodeString` as a template parameter, but adding an explicit overload avoids both having to make that choice and taking the detour through creating any string view at all.
##### Checklist
- [x] Required: Issue filed: https://unicode-or... | diff --git a/icu4c/source/common/unicode/unistr.h b/icu4c/source/common/unicode/unistr.h
index 41743f4f541c..0272dd64d3c4 100644
--- a/icu4c/source/common/unicode/unistr.h
+++ b/icu4c/source/common/unicode/unistr.h
@@ -3600,6 +3600,10 @@ class U_COMMON_API UnicodeString : public Replaceable
static inline UnicodeStri... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new readOnlyAlias(const UnicodeString&) overload should not be declared @internal but carry proper API documentation copied from the sibling readOnlyAlias template overload (with adjustments).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
unicode-org__icu__3163 | unicode-org/icu | 3,163 | defect | 2ba362fa3b7cb8b4f4c35b016ec1c490e590b86a | 6d467c859c67c77a1df167780c9445fb0455e400 | ICU-22736 Improve Persian Calendar | <!--
Thank you for your pull request!
* General info on contributing: please see https://github.com/unicode-org/icu/blob/main/CONTRIBUTING.md
* Ticket numbers for minor changes: for minor changes (ex: docs typos), you can reuse one of the open catch-all tickets for our next release
- ICU 76 ticket: docs minor f... | diff --git a/icu4c/source/i18n/persncal.cpp b/icu4c/source/i18n/persncal.cpp
index 31f7ae252b5e..0650d4a89f60 100644
--- a/icu4c/source/i18n/persncal.cpp
+++ b/icu4c/source/i18n/persncal.cpp
@@ -25,6 +25,9 @@
#include "umutex.h"
#include "gregoimp.h" // Math
#include <float.h>
+#include "cmemory.h"
+#include "ucln_i... | 4 | 4 | 0 | [{"id": "G0", "claim": "The '// real' comment on the added Persian test-case line is unexplained — what does it mean here?", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The nonLeapYears loop could optionally use a range-based for instead of an in... | null |
unicode-org__icu__3167 | unicode-org/icu | 3,167 | defect | 32056302fc9a462d74e0694eac532f5d1ab428c9 | fb0c873b3ab030fcc298a8a01f170a8a8512ce75 | ICU-22890 MF2: Add lone surrogate test to parser | Also see #3166
<!--
Thank you for your pull request!
* General info on contributing: please see https://github.com/unicode-org/icu/blob/main/CONTRIBUTING.md
* Ticket numbers for minor changes: for minor changes (ex: docs typos), you can reuse one of the open catch-all tickets for our next release
- ICU 76 ti... | diff --git a/icu4c/source/test/intltest/messageformat2test.cpp b/icu4c/source/test/intltest/messageformat2test.cpp
index 524ee4ab79d9..d7da158e0e0e 100644
--- a/icu4c/source/test/intltest/messageformat2test.cpp
+++ b/icu4c/source/test/intltest/messageformat2test.cpp
@@ -30,6 +30,8 @@ TestMessageFormat2::runIndexedTest(... | 4 | 4 | 3 | [{"id": "G0", "claim": "Add a similar lone-surrogate test to the Java (ICU4J) implementation.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new tests should verify the syntax error with errorCode.expectErrorAndReset(U_MF_SYNTAX_ERROR, ...) instead ... | null |
unicode-org__icu__3316 | unicode-org/icu | 3,316 | defect | b0ae845e4760a26719b2285fca3fc464cf213aee | 5c78fba2c72afeb7c7aed4b760bd5db7b54237ad | ICU-22954 USet C++ iter samples no UnicodeString | ... to make the sample code work without U_SHOW_CPLUSPLUS_API as discussed in https://github.com/unicode-org/icu/pull/3295#discussion_r1892174805
I am also moving the non-sample code above the commented-out sample code, for clarity.
#### Checklist
- [x] Required: Issue filed: ICU-22954
- [x] Required: The PR ti... | diff --git a/icu4c/source/common/unicode/uniset.h b/icu4c/source/common/unicode/uniset.h
index 5b32f3ca5d4d..6b1ac9ba2620 100644
--- a/icu4c/source/common/unicode/uniset.h
+++ b/icu4c/source/common/unicode/uniset.h
@@ -1189,7 +1189,7 @@ class U_COMMON_API UnicodeSet final : public UnicodeFilter {
* for (auto el :... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new sample/test code snippets should use UPRV_LENGTHOF or sizeof expressions instead of hardcoded buffer sizes (199) so they don't break when the buffer size is changed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unicode-org__icu__3374 | unicode-org/icu | 3,374 | defect | 362a4aa94b6c38f9ef4b7c13f3ff78ef3f6fd59b | e240a3846f99f02cb0ab4bc140adddee953595c3 | ICU-22954 Make UCollator predicates usable without U_SHOW_CPLUSPLUS_API | Until now, the implementation of the `UCollator` predicates has been using `UnicodeString` and `StringPiece` as convenient wrappers for converting from standard C++ data types to ICU4C data types.
But as that doesn't work when the client uses ICU4C built without `U_SHOW_CPLUSPLUS_API` this is now changed to instead ... | diff --git a/icu4c/source/common/unicode/char16ptr.h b/icu4c/source/common/unicode/char16ptr.h
index a2722d9f463f..049de9efee81 100644
--- a/icu4c/source/common/unicode/char16ptr.h
+++ b/icu4c/source/common/unicode/char16ptr.h
@@ -283,6 +283,32 @@ inline const char16_t *uprv_char16PtrFromUChar(const T *p) {
#endif
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new cplusplus_header_api_build_test.cpp only proves that ucol.h compiles with U_SHOW_CPLUSPLUS_API=0 and would be just as happy if ucol.h looked empty, so the unit tests actually exercising the predicates should be moved into a header-only test file like usetheaderonlytest.cpp.", "category":... | null |
unicode-org__icu__3381 | unicode-org/icu | 3,381 | defect | f495d10a158195778a7e0e6f61b679e434d0accc | d132924f690fae67bfdb5b2ff6dd6df4d97a9bbb | ICU-22781 Support Arbitrary Constant Unit Formatting | # Description:
- Added support for constant denominators in MeasureUnit and LongNameHandler
- Updated MeasureUnit serialization and product methods to handle constant denominators
- Added test cases for formatting units with arbitrary constant denominators
- Added comprehensive test coverage for complex unit forma... | diff --git a/icu4c/source/i18n/measunit_extra.cpp b/icu4c/source/i18n/measunit_extra.cpp
index dcba02129a94..5912ac318e60 100644
--- a/icu4c/source/i18n/measunit_extra.cpp
+++ b/icu4c/source/i18n/measunit_extra.cpp
@@ -1322,7 +1322,7 @@ void MeasureUnitImpl::serialize(UErrorCode &status) {
return;
}
- ... | 4 | 3 | 1 | [{"id": "G0", "claim": "MeasureUnit::product() should multiply the two constant denominators instead of rejecting units that both have one, since the result's constant denominator would just be the product of the original two (e.g. liter-per-100-kilometer times liter-per-100-kilometer would be square-liter-per-10000-sq... | null |
unicode-org__icu__3385 | unicode-org/icu | 3,385 | defect | 84599e111707772e19a3c0ed1062368e07e6bf46 | 4b6be874bcdffe3d182573908aa76a169ed6c8e5 | ICU-22781 Uncomment and enable constant denominator tests | # Description:
Re-enable previously commented out tests for constant denominators in units tests for both ICU4C and ICU4J. This includes tests for:
- Large power of 10 denominators
- Scientific notation denominators
- Specific unit denominators
Added notes about potential CLDR-related edge cases for certain u... | diff --git a/icu4c/source/test/intltest/units_test.cpp b/icu4c/source/test/intltest/units_test.cpp
index 46ec7d173683..fd6e27ad2235 100644
--- a/icu4c/source/test/intltest/units_test.cpp
+++ b/icu4c/source/test/intltest/units_test.cpp
@@ -1205,6 +1205,7 @@ void UnitsTest::testUnitsConstantsDenomenator() {
{"po... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new test cases for portion-per-1000000000/portion-per-1e9 encode known-wrong denominators with no ticket reference - the reviewer asks that the ticket number (or a link) be included and says the wrong behavior should not be tested (having the case present but commented out would be acceptabl... | null |
unicode-org__icu__3389 | unicode-org/icu | 3,389 | defect | 84599e111707772e19a3c0ed1062368e07e6bf46 | 4ea4a5621594a8190b8e37cc8fa2f0c092f61b6d | ICU-22781 Add test for portion format with parts per billion (C++) | # Description:
- Added a new test method `TestPortionFormat()` in `numbertest_api.cpp`
- Updated `numbertest.h` to declare the new test method
- Test covers formatting of "portion-per-1e9" unit in different locales
- Includes test cases for singular and plural forms
- Handles known issue for other portion units wi... | diff --git a/icu4c/source/test/intltest/numbertest.h b/icu4c/source/test/intltest/numbertest.h
index d384e0f22f2c..fe0d63393006 100644
--- a/icu4c/source/test/intltest/numbertest.h
+++ b/icu4c/source/test/intltest/numbertest.h
@@ -103,6 +103,7 @@ class NumberFormatterApiTest : public IntlTestWithFieldPosition {
vo... | 1 | 1 | 0 | [{"id": "G0", "claim": "Comments should be added on the UNKNOWN test cases indicating that they are covered by the logKnownIssue() call.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unicode-org__icu__3399 | unicode-org/icu | 3,399 | defect | 61b2dbc98047d04115021542ec0f4df5002033fb | abc79058532dbd94bfb4bf1702b1a26890ef8519 | ICU-22922 Scrubbing closed issues | Updating code for 3 Closed JIRA ids: ['CLDR-18002', 'ICU-22857', 'ICU-22984']
Changed logKnownIssue for 'CLDR-18002' to logKnownIssue for 'ICU-23052' in main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ULocaleTest.java
This now triggers only on locale "und-Latn-RS".
Resolved ICU-22857: ['ICU-22857',... | diff --git a/icu4c/source/test/intltest/rbbitst.cpp b/icu4c/source/test/intltest/rbbitst.cpp
index 7abe80cbb576..df790059c1d6 100644
--- a/icu4c/source/test/intltest/rbbitst.cpp
+++ b/icu4c/source/test/intltest/rbbitst.cpp
@@ -2594,17 +2594,6 @@ void RBBITest::TestWordBreaks()
UnicodeString ustr = CharsToUnico... | 2 | 2 | 2 | [{"id": "G0", "claim": "After the PR removed the ICU-22984 knownIssue skip in RBBITest::TestWordBreaks, the test fails for dictionary-character cases (16 errors), and the correct resolution is to dump the test cases for which monkey.dictionarySet().containsSome(ustr) is true.", "category": "testing", "verdict": "suppor... | null |
unicode-org__icu__3423 | unicode-org/icu | 3,423 | defect | c5b7dce96bda17e7e229b2dfdc575421633566c2 | 6da89827f3016b1b446daae791df0a41ba84c7c1 | ICU-23059 ICU4C MF2: Spec test updates | Update spec tests to current version from message-format-wg
- Update parser for changed name-start grammar rule
- Validate number literals in :number implementation (since parser no longer does this)
- Disallow `:number`/`:integer` select option set from variable
See https://github.com/unicode-org/mes... | diff --git a/icu4c/source/i18n/messageformat2.cpp b/icu4c/source/i18n/messageformat2.cpp
index a5ef68a2472f..b7202ccb8ad6 100644
--- a/icu4c/source/i18n/messageformat2.cpp
+++ b/icu4c/source/i18n/messageformat2.cpp
@@ -169,7 +169,8 @@ FunctionOptions MessageFormatter::resolveOptions(const Environment& env, const O
... | 5 | 5 | 0 | [{"id": "G0", "claim": "The comments documenting the new DynamicErrorType enum values should be placed where Doxygen can find them (e.g. a /** ... */ block or //< trailing comment) instead of plain // comments.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
unicode-org__icu__3493 | unicode-org/icu | 3,493 | defect | 4b444321f255076d6576e6d435ffe2589bde6f18 | a37c478adab6b83aa9e720c876325df79eeab979 | ICU-23054 Fix copyright scanner; fix terms of use | Leftover from PR #3487, and prevent it from happening in the future.
#### Checklist
- [x] Required: Issue filed: ICU-23054
- [x] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "IC... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 888a530f54a4..0d40f061daf7 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -100,6 +100,7 @@ _… and thanks for contributing!_
### Copyright & Licenses
Copyright © 2016-2024 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc.... | 5 | 4 | 0 | [{"id": "G0", "claim": "The 'Copyright © 2016-2024' line in CONTRIBUTING.md (and the same line in README.md) should be updated — first suggested as 'Copyright © 2016-2025', then as 'Copyright © 2016 and later'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1... | null |
unicode-org__icu__3506 | unicode-org/icu | 3,506 | defect | 5cff17927c209fd5bdc387b2dd3d3f7a3a50352e | d3700ace1aca36ab4868522f3429597fa143752e | ICU-22995 templatize assert[Not]Equals of integral and enum types | #### Checklist
- [x] Required: Issue filed: ICU-22995
- [x] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Issue accepted (done by Technical Committee after... | diff --git a/icu4c/source/test/intltest/Makefile.in b/icu4c/source/test/intltest/Makefile.in
index 673e0edbb49c..daba343d1ac9 100644
--- a/icu4c/source/test/intltest/Makefile.in
+++ b/icu4c/source/test/intltest/Makefile.in
@@ -77,7 +77,8 @@ formattedvaluetest.o formatted_string_builder_test.o numbertest_permutation.o \... | 3 | 2 | 0 | [{"id": "G0", "claim": "Consider adding hex output to the failure messages of the new int64_t assert[Not]Equals functions, since large values (e.g. collation elements) are sometimes more readable in hex, as the int32_t versions show.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
unicode-org__icu__3587 | unicode-org/icu | 3,587 | defect | 0e20d64b5963f1e31b751d367869385e037be71f | f158733013eedbe06635ac3fcbb370ba487205cd | ICU-23114 Fix DateTimePatternGenerator numeric/alphabetic substitution | This tweaks the DTPG behavior according to the ticket.
#### Checklist
- [x] Required: Issue filed: ICU-23114
- [x] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz... | diff --git a/icu4c/source/i18n/dtptngen.cpp b/icu4c/source/i18n/dtptngen.cpp
index f83b23fcb50c..97219c104782 100644
--- a/icu4c/source/i18n/dtptngen.cpp
+++ b/icu4c/source/i18n/dtptngen.cpp
@@ -853,7 +853,7 @@ DateTimePatternGenerator::addICUPatterns(const Locale& locale, UErrorCode& statu
if (U_SUC... | 2 | 2 | 1 | [{"id": "G0", "claim": "The unqualified LocalPointer on dtptngts.cpp line 1829 fails to compile under warnings-as-errors (-Werror,-Wctad-maybe-unsupported); it should spell out LocalPointer<DateTimePatternGenerator>.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "... | null |
unicode-org__icu__3591 | unicode-org/icu | 3,591 | defect | 0e20d64b5963f1e31b751d367869385e037be71f | 185a38fd7ebaf13192ff2e0334129558526df0e9 | ICU-23179 Test the error paths and the exact output of toPattern in UnicodeSet parsing | Before this change, if I replace every `ec = U_MALFORMED_SET;` with `clear(); add(UnicodeString(u"something"));`, the tests pass. This seems like a bad starting point for a semantics-preserving restructuring of the parser (let alone adding more features after that).
Likewise, nothing tests what `toPattern()` actuall... | diff --git a/icu4c/source/test/intltest/usettest.cpp b/icu4c/source/test/intltest/usettest.cpp
index 016d3f85e63d..da32687987e8 100644
--- a/icu4c/source/test/intltest/usettest.cpp
+++ b/icu4c/source/test/intltest/usettest.cpp
@@ -110,6 +110,7 @@ UnicodeSetTest::runIndexedTest(int32_t index, UBool exec,
TESTCASE_A... | 8 | 5 | 0 | [{"id": "G0", "claim": "The u\"a-z\" case in TestParseErrors should have the same error message as the u\"[a-[b]]\" case.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The body of the for statement starting at line 4341 should be indented 8 columns fro... | null |
unicode-org__icu__3592 | unicode-org/icu | 3,592 | defect | 3a66f8c5fecfc3f0ee427c12b90966bac1b02d92 | 8c9cb514d8a74eb1fb3110038ed6390c85b3a443 | ICU-20392 Replace use of CharString with FixedString in Locale::Heap | Add internal class `FixedString` to store fixed-length strings and use this to replace use of `CharString` in `Locale::Heap`. This avoids allocating any more storage than strictly needed, reducing the size of all `Locale` objects that need to be heap allocated.
The storage required for different kinds of `Locale` ob... | diff --git a/icu4c/source/common/common.vcxproj b/icu4c/source/common/common.vcxproj
index e53355495b27..1003736cfa58 100644
--- a/icu4c/source/common/common.vcxproj
+++ b/icu4c/source/common/common.vcxproj
@@ -392,6 +392,7 @@
<ClInclude Include="static_unicode_sets.h" />
<ClInclude Include="capi_helper.h" />... | 3 | 1 | 1 | [{"id": "G0", "claim": "FixedString::reserve() seems dangerous since it leaves the allocated array uninitialized; it should be made private or, otherwise, get API docs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Calling operator delete[]/new[] instea... | null |
unicode-org__icu__3593 | unicode-org/icu | 3,593 | defect | 3a66f8c5fecfc3f0ee427c12b90966bac1b02d92 | 85ca6ee652b2f47d47189e982a6ec85d9e0270d1 | ICU-23172 part 2: Make EraRules work if era code sequence starts at >0 and/or has holes | This is the second and final part of a multipart change to convert era data from an array to a map (only affects the name data, the era rules data was already a map), and then to allow era codes that do not start from 0, or may potentially have holes in the sequence (as long as the date ranges for the eras are contiguo... | diff --git a/icu4c/source/i18n/erarules.cpp b/icu4c/source/i18n/erarules.cpp
index 117734d36c38..669d261341c6 100644
--- a/icu4c/source/i18n/erarules.cpp
+++ b/icu4c/source/i18n/erarules.cpp
@@ -17,6 +17,7 @@
#include "erarules.h"
#include "gregoimp.h"
#include "uassert.h"
+#include "uvector.h"
U_NAMESPACE_BEGIN
... | 13 | 12 | 1 | [{"id": "G0", "claim": "Replace the int[][] startDateAndEras representation with two parallel int[] arrays (startDates and eraCodes), keeping the C++ code reasonably parallel.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The numEras constructor paramet... | null |
unicode-org__icu__3599 | unicode-org/icu | 3,599 | defect | 8c60b9383edf1560238237eca1a6b334dae5c1df | d8d2c94cd97e894ae053c83b37defb7acd65a8c0 | ICU-23184 fix NFRuleSet constructor to return error to avoid null deref later |
#### Checklist
- [X] Required: Issue filed: ICU-23184
- [X] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [X] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Issue accepted (done by Technical Committee aft... | diff --git a/icu4c/source/i18n/nfsubs.cpp b/icu4c/source/i18n/nfsubs.cpp
index 6028fda4534d..333d2cb8f78b 100644
--- a/icu4c/source/i18n/nfsubs.cpp
+++ b/icu4c/source/i18n/nfsubs.cpp
@@ -1306,6 +1306,9 @@ NumeratorSubstitution::doParse(const UnicodeString& text,
while (workText.length() > 0 && workPos.getInd... | 4 | 3 | 3 | [{"id": "G0", "claim": "The doParse null-guard is papering over the real problem: the malformed rules should be detected and rejected when parsing the rules (returning U_PARSE_ERROR, as ICU4J already does) so that doParse should never see a null rule set; deeper analysis of how that state is reached is needed.", "categ... | null |
unicode-org__icu__3602 | unicode-org/icu | 3,602 | defect | 8c60b9383edf1560238237eca1a6b334dae5c1df | 99eb494ecd49e2453fb9b76c4ab4885921b5d336 | ICU-23167 Change Ethiopian Amete Alem epoch |
#### Checklist
- [X] Required: Issue filed: ICU-23167
- [X] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [X] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [X] Issue accepted (done by Technical Committee aft... | diff --git a/icu4c/source/i18n/ethpccal.cpp b/icu4c/source/i18n/ethpccal.cpp
index b6cb00647266..827aa31be0cd 100644
--- a/icu4c/source/i18n/ethpccal.cpp
+++ b/icu4c/source/i18n/ethpccal.cpp
@@ -22,7 +22,7 @@ U_NAMESPACE_BEGIN
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(EthiopicCalendar)
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Eth... | 3 | 3 | 1 | [{"id": "G0", "claim": "Update the stale 'Default to year 1 of Amelete Mihret' comment on the EthiopicCalendar.java line the pull request rewrote.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update the stale 'Default to year 1 of Amelete Mihret... | null |
unicode-org__icu__3604 | unicode-org/icu | 3,604 | defect | dce38b587cf674118a7b983ba80d28a20cd6b21a | 94cc56c97b109404f39b2a213fc24c6895102843 | ICU-23257 A somewhat more structured UnicodeSet parser. | While this is a hand-rolled recursive-descent predictive parser, it has a separate lexer, so we know that the lexing is not context-dependent.
The lexer prefigures some of the distinctions introduced in UTS61 (escapes in property-query, bracketed-element distinct from string-literal, etc.), but they then get treated t... | diff --git a/icu4c/source/common/unicode/uniset.h b/icu4c/source/common/unicode/uniset.h
index 01ac901e3ba1..feacf399fb02 100644
--- a/icu4c/source/common/unicode/uniset.h
+++ b/icu4c/source/common/unicode/uniset.h
@@ -1696,13 +1696,58 @@ class U_COMMON_API UnicodeSet final : public UnicodeFilter {
... | 14 | 8 | 0 | [{"id": "G0", "claim": "The spec should point out that, unlike set operations, UnicodeSet difference is not equivalent to intersection with complement for sets containing sequences (A-B ≠ A&[^B]), and more generally should cover the semantics of sets that contain both individual code points and strings.", "category": "... | null |
unicode-org__icu__3606 | unicode-org/icu | 3,606 | defect | ae4a34559f174c6b5830706466ed4c36c948ead8 | f48c51b884acaf7b5ece995260fda79659b7b6fc | ICU-22775 fix StringSearch pattern CE mem mgmt | - the main bug in Java initializePatternPCETable() was that the pcetablesize never got updated
- in C++, if the pattern CE loops encountered a failure, they didn't free the array (unlikely but possible near OOM)
- I think I made the memory management less convoluted
- for good measure, I used the "append" functions ... | diff --git a/icu4c/source/i18n/usearch.cpp b/icu4c/source/i18n/usearch.cpp
index d296c2874026..f001642a91b4 100644
--- a/icu4c/source/i18n/usearch.cpp
+++ b/icu4c/source/i18n/usearch.cpp
@@ -177,8 +177,9 @@ inline void * allocateMemory(uint32_t size, UErrorCode *status)
* before calling this method. destination not to... | 3 | 2 | 2 | [{"id": "G0", "claim": "addTouint32_tArray/addTouint64_tArray (and the call sites in initializePatternCETable/initializePatternPCETable) do not check *status before unconditionally calling allocateMemory, which calls uprv_malloc, so a failed status passed in could cause a memory leak; add a U_FAILURE guard (or an asser... | null |
unicode-org__icu__3608 | unicode-org/icu | 3,608 | defect | ae4a34559f174c6b5830706466ed4c36c948ead8 | 5d86a1acccce00dc0906e7528873e2c034c37910 | ICU-23192 Replace use of CharString with FixedString for data members | When `CharString` is used as a data member that never is modified (apart from initialization), it can be replaced with `FixedString` in order to save a little memory (which, in case anyone creates a lot of any of these objects, could add up).
#### Checklist
- [x] Required: Issue filed: ICU-23192
- [x] Required: Th... | diff --git a/icu4c/source/common/fixedstring.h b/icu4c/source/common/fixedstring.h
index 2cdb37d0ffed..acd62da64329 100644
--- a/icu4c/source/common/fixedstring.h
+++ b/icu4c/source/common/fixedstring.h
@@ -28,11 +28,11 @@ class FixedString : public UMemory {
FixedString() = default;
~FixedString() { operator... | 8 | 4 | 1 | [{"id": "G0", "claim": "FixedString always heap-allocates and drops the stored length, adding allocator overhead that may hurt performance for short-lived objects, so it should be made bigger (e.g. 16 bytes) to store short strings and their length internally.", "category": "performance", "verdict": "uncertain", "priori... | null |
unicode-org__icu__3611 | unicode-org/icu | 3,611 | defect | bfbea979f7c8953ef57da33a5aa99cda3348c72b | 43b466ee7527f3886522b8a6fdfc45e62ea86176 | ICU-23177 Add width-aware day period support and fix data loading | #### Checklist
- [x] Required: Issue filed: ICU-23177
- [x] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [ ] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Issue accepted (done by Technical Committee after... | diff --git a/icu4c/source/i18n/dtfmtsym.cpp b/icu4c/source/i18n/dtfmtsym.cpp
index df751fe9c4f9..43dbfb716444 100644
--- a/icu4c/source/i18n/dtfmtsym.cpp
+++ b/icu4c/source/i18n/dtfmtsym.cpp
@@ -420,6 +420,7 @@ DateFormatSymbols::copyData(const DateFormatSymbols& other) {
assignArray(fStandaloneShorterWeekdays, fS... | 6 | 3 | 3 | [{"id": "G0", "claim": "The new width-based getAmPmStrings/setAmPmStrings APIs in dtfmtsym.h are annotated @stable ICU 2.0, but a newly added API should be marked @draft instead of @stable.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The error ... | null |
unicode-org__icu__3631 | unicode-org/icu | 3,631 | defect | fc532188d1f242a060d547ebf3264356145aa8d3 | a49b046bbc4c75d5cb892fdedd1124466e2f3c42 | ICU-23054 Use Clang 21 rather than 19 as our most modern Clang in CI | Following up on #3615. The -Wnontrivial-memcall was fixed by #3628 earlier today.
#### Checklist
- [x] Required: Issue filed: ICU-23054
- [x] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Required: Each commit message must be prefixed with a JIRA Issue number.... | diff --git a/.github/workflows/icu4c.yml b/.github/workflows/icu4c.yml
index 5dde654a0825..db51ea0bd54b 100644
--- a/.github/workflows/icu4c.yml
+++ b/.github/workflows/icu4c.yml
@@ -333,16 +333,14 @@ jobs:
cd icu4c/source && ./runConfigureICU --enable-debug --disable-release Linux/clang && make -j -l4.5 che... | 3 | 3 | 2 | [{"id": "G0", "claim": "The code must be fixed so that it all builds and tests pass under the new Clang before the CI bump can land.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The -Wcharacter-conversion errors (in assertEquals comparisons and in... | null |
unicode-org__icu__3657 | unicode-org/icu | 3,657 | defect | 8e7643827d215489b25a3a017867b43a01bda108 | 71321596f75d4b09fafc7c74105af159e34bed95 | ICU-23157 Do not use GMT Zero Format | #### Checklist
- [x] Required: Issue filed: ICU-23157
- [x] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [x] Issue accepted (done by Technical Committee after... | diff --git a/icu4c/source/i18n/tzfmt.cpp b/icu4c/source/i18n/tzfmt.cpp
index 0fb6336b86de..293cc52a1312 100644
--- a/icu4c/source/i18n/tzfmt.cpp
+++ b/icu4c/source/i18n/tzfmt.cpp
@@ -1559,7 +1559,8 @@ TimeZoneFormat::formatOffsetLocalizedGMT(int32_t offset, UBool isShort, UnicodeS
return result;
}
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The spec change also covers short localized GMT, so usage of the GMT zero format should be completely gone rather than kept for short.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unicode-org__icu__3681 | unicode-org/icu | 3,681 | defect | 6e138e1162afdad1834f9243e150af0586dc72a1 | c54f478fe6bc2f4f0ec2b36e83a9294e932846d9 | ICU-21821 un-hardcode scx set in icuexportdata | Add a new internal function that enumerates the data structure for the Script and Script_Extensions properties and uses the C "interface" USetAdder to report the code points that have Script_Extensions data. Test that it matches reality. Use it in icuexportdata, replacing a hardcoded list of these code points with a ca... | diff --git a/icu4c/source/common/uchar.cpp b/icu4c/source/common/uchar.cpp
index 3b2ae8c8af5d..96cff6256485 100644
--- a/icu4c/source/common/uchar.cpp
+++ b/icu4c/source/common/uchar.cpp
@@ -616,6 +616,33 @@ uscript_getScriptExtensions(UChar32 c,
return length;
}
+namespace {
+
+UBool U_CALLCONV
+_scxRange(cons... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new API should be named consistently with the Script_Extensions property name, i.e. uprv_addScriptExtensionsCodePoints instead of uprv_addScriptExtensionCodePoints.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unicode-org__icu__3697 | unicode-org/icu | 3,697 | defect | 31cb58531489862997cf901657fb499feddfa27b | 940c053ff5cd9f698f750ead059b23c64ec91723 | ICU-23056 ICU 78 scrub issues | Removing known issues and TODOs that have been marked as complete in Jira.
- CLDR-18274
- CLDR-18923
- CLDR-18924
- ICU-11052
The following known issues and TODOs are closed, but removing logKnownIssue() (completely) yields test failures:
- CLDR-18901 Disallow [❰❱] in XML element values.
- --> CLDR team fixe... | diff --git a/icu4c/source/test/intltest/numbertest_api.cpp b/icu4c/source/test/intltest/numbertest_api.cpp
index dd3ee5e8be16..695a00936c2c 100644
--- a/icu4c/source/test/intltest/numbertest_api.cpp
+++ b/icu4c/source/test/intltest/numbertest_api.cpp
@@ -6233,10 +6233,6 @@ void NumberFormatterApiTest::TestPortionFormat... | 2 | 1 | 1 | [{"id": "G0", "claim": "The Pacific/Honolulu-Swedish skip in RunTimeRoundTripTests (tzfmttst.cpp) should be removed / again be subject to logKnownIssue as in TimeZoneFormatTest.java, instead of the unconditional condition the PR substituted for the gated block.", "category": "testing", "verdict": "supported", "priority... | null |
unicode-org__icu__3731 | unicode-org/icu | 3,731 | defect | cd53e184b1d5fed67ffc88e3c74ae9d81abf84d5 | 36bf74955ec603ff94ade59d54b4d283566fe36d | ICU-23236 Fix Null-dereference in icu_78::FractionalPartSubstitution:… | Check getRuleSet() is not nullptr before calling into the method
#### Checklist
- [X] Required: Issue filed: ICU-23236
- [X] Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
- [X] Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-12... | diff --git a/.github/workflows/release-icu4c-ubuntu.yml b/.github/workflows/release-icu4c-ubuntu.yml
index 551a1088cc21..65ba460a1d66 100644
--- a/.github/workflows/release-icu4c-ubuntu.yml
+++ b/.github/workflows/release-icu4c-ubuntu.yml
@@ -62,8 +62,8 @@ jobs:
tar -czf icu4c-${artifact_version}-Ubuntu${VERSI... | 4 | 3 | 1 | [{"id": "G0", "claim": "The null-ruleset fix should also be made in parallel in ICU4J's NFSubstitution.java, where getRuleSet() can likewise return null and the same crash remains.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The error reported ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.