commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
89894a351dc15592eab7d3c6e31d0152dc998fd1
Younies Mahmoud
2025-09-22T15:24:35
Rename `SingleUnitVec::Zero` to `SingleUnitVec::Empty` for better naming (#6973) <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for gener...
diff --git a/components/experimental/src/measure/parser/mod.rs b/components/experimental/src/measure/parser/mod.rs index cb3c38f3aa..65adbb1465 100644 --- a/components/experimental/src/measure/parser/mod.rs +++ b/components/experimental/src/measure/parser/mod.rs @@ -41,7 +41,7 @@ impl MeasureUnit { } ...
2
4
4
73723dc8973974b0c156dd04e807c3eadaf4cd5c
Manish Goregaokar
2025-09-21T01:21:45
Fix Hebrew MonthDay resolution with M05L (#6966)
diff --git a/components/calendar/src/cal/hebrew.rs b/components/calendar/src/cal/hebrew.rs index 191d7a900b..2e9c47e8b2 100644 --- a/components/calendar/src/cal/hebrew.rs +++ b/components/calendar/src/cal/hebrew.rs @@ -171,9 +171,9 @@ impl DateFieldsResolver for Hebrew { _ => 5732, }, ...
1
2
2
ae67de1b0c74bed17621cb450959697d53a9007f
Younies Mahmoud
2025-09-18T10:49:23
Refactor : use crate path in currency and percent formatters (#6953)
diff --git a/components/experimental/src/dimension/currency/compact_formatter.rs b/components/experimental/src/dimension/currency/compact_formatter.rs index 1d55211d00..0022332414 100644 --- a/components/experimental/src/dimension/currency/compact_formatter.rs +++ b/components/experimental/src/dimension/currency/compac...
4
4
4
962329355d0c64780e01a85695365b9af1f413c3
Robert Bastian
2025-09-16T08:48:20
Implement `u` and `g` fields (#6930)
diff --git a/components/datetime/src/fieldsets.rs b/components/datetime/src/fieldsets.rs index 1f50e95781..224fca631c 100644 --- a/components/datetime/src/fieldsets.rs +++ b/components/datetime/src/fieldsets.rs @@ -441,6 +441,8 @@ macro_rules! impl_date_or_calendar_period_marker { $(input_day_of_week = $day_of...
13
138
18
d5f165ccf3938a7cb00f0cf445adcbdd95e568fc
Robert Bastian
2025-09-15T21:13:13
Fix rearguard difference detection logic (#6943) There's a period in Namibia that is a single period in main, but two periods in rearguard, with the second period agreeing with main. The current code says the whole main period disagrees with rearguard (and logs a warning), but it should be split into two periods with ...
diff --git a/provider/source/src/time_zones/mod.rs b/provider/source/src/time_zones/mod.rs index 628081a6bc..024c105d3b 100644 --- a/provider/source/src/time_zones/mod.rs +++ b/provider/source/src/time_zones/mod.rs @@ -19,6 +19,7 @@ use icu_locale_core::subtags::Region; use icu_provider::prelude::*; use icu_time::Zon...
2
28
8
2c1a2201ebdba2439ccbb354a1308cf554f7b603
Robert Bastian
2025-09-15T21:13:04
Compare Chinese calendar against Hong Kong observatory (#6944) Follow-up #6934 Fixes #6454 again
diff --git a/Cargo.lock b/Cargo.lock index 30a1a3376b..2d631c98a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1209,6 +1209,7 @@ dependencies = [ "serde_json", "simple_logger", "tinystr", + "ureq", "writeable", "zerovec", ] diff --git a/components/calendar/Cargo.toml b/components/calendar/Cargo.toml index 78...
4
126
0
4fe0ee2251d38f0290a70f2d02274790d2994224
Robert Bastian
2025-09-10T15:58:31
Remove dead code warning in release mode (#6933) From #6876
diff --git a/components/calendar/src/cal/chinese_based.rs b/components/calendar/src/cal/chinese_based.rs index c80e63a29e..44c13956ff 100644 --- a/components/calendar/src/cal/chinese_based.rs +++ b/components/calendar/src/cal/chinese_based.rs @@ -18,7 +18,6 @@ use calendrical_calculations::chinese_based::{ }; use cal...
2
15
13
1c9316c5ce9b8eb901a92bce11a5921a57219d52
Manish Goregaokar
2025-09-09T07:48:27
Add RataDie::in_well_behaved_astronomical_range(), use to avoid panics (#6876) Attempting to address https://github.com/unicode-org/icu4x/issues/4917, https://github.com/unicode-org/icu4x/issues/5068, https://issues.chromium.org/issues/439624688. Related: https://github.com/unicode-org/icu4x/issues/5778 https://gith...
diff --git a/components/calendar/src/cal/chinese_based.rs b/components/calendar/src/cal/chinese_based.rs index 08ca5c8162..c80e63a29e 100644 --- a/components/calendar/src/cal/chinese_based.rs +++ b/components/calendar/src/cal/chinese_based.rs @@ -13,9 +13,12 @@ use crate::{ Calendar, Iso, }; -use calendrical_ca...
7
190
25
15a52d9c19da7ea64650f41ad43d428f198f8edc
Henri Sivonen
2025-09-08T16:02:03
Avoid get32 in the collator (#6924) This avoids an unnecessary check for the argument being within the Unicode range, since we already know that it is.
diff --git a/components/collator/src/provider.rs b/components/collator/src/provider.rs index 1597775cd8..3e16cc3edb 100644 --- a/components/collator/src/provider.rs +++ b/components/collator/src/provider.rs @@ -209,7 +209,7 @@ icu_provider::data_struct!( impl<'data> CollationData<'data> { pub(crate) fn ce32_for...
1
1
1
341b25b83971413e51daa66f37a63eeb8979d096
Henri Sivonen
2025-09-08T05:01:45
Add Rust types to encode the trie type in the Rust type (#6906) Fixes #5796
diff --git a/components/collections/src/codepointtrie/cptrie.rs b/components/collections/src/codepointtrie/cptrie.rs index 4e951b625a..a8312f6078 100644 --- a/components/collections/src/codepointtrie/cptrie.rs +++ b/components/collections/src/codepointtrie/cptrie.rs @@ -390,6 +390,35 @@ impl<'trie, T: TrieValue> CodePo...
4
525
50
8cf856296431b5e311171fb962f2972b115af7ef
Manish Goregaokar
2025-09-07T16:45:22
Add to_static_string for IXDTF errors (#6917) Fixes #6904 <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general information on co...
diff --git a/Cargo.lock b/Cargo.lock index 03a69fc5d7..da645c58ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1922,7 +1922,6 @@ name = "ixdtf" version = "0.6.3" dependencies = [ "criterion", - "displaydoc", "serde-json-core", ] diff --git a/utils/ixdtf/Cargo.toml b/utils/ixdtf/Cargo.toml index c04b17da2b..012...
3
121
50
77c6fd75610f2bcac528b30ab8b7176768041731
Shane F. Carr
2025-08-30T02:07:35
Add TinyAsciiStr::new_unsigned_decimal (#6912)
diff --git a/utils/tinystr/src/ascii.rs b/utils/tinystr/src/ascii.rs index 162682318d..f69ccca298 100644 --- a/utils/tinystr/src/ascii.rs +++ b/utils/tinystr/src/ascii.rs @@ -216,6 +216,67 @@ impl<const N: usize> TinyAsciiStr<N> { }) } + /// Creates a `TinyAsciiStr<N>` containing the decimal represen...
2
87
1
4b3aee025ecdf067b772788bf11a9023a32eed68
Manish Goregaokar
2025-08-28T22:31:17
Add zoneinfo64 metadata (#6909)
diff --git a/utils/zoneinfo64/Cargo.toml b/utils/zoneinfo64/Cargo.toml index 69cfcb5105..a758d9dce0 100644 --- a/utils/zoneinfo64/Cargo.toml +++ b/utils/zoneinfo64/Cargo.toml @@ -4,6 +4,7 @@ [package] name = "zoneinfo64" +description = "Working with ICU zoneinfo64.res timezone data bundles" version = "0.1.0" ru...
1
7
0
1de4bf5941c6a6278339b2feb77922158c6ccc3e
Robert Bastian
2025-08-28T18:57:24
Reduce the size of `Zone` by deferring lookups (#6903) Alternative to #6902 This defers the lookups in `zones`, `names`, `rules`, and `regions` from the constructor, only storing the index in the `Zone` struct. This will cost an additional lookup at the beginning of each zone operation, but these are fairly lookup-h...
diff --git a/utils/zoneinfo64/src/deserialize.rs b/utils/zoneinfo64/src/deserialize.rs index b4574ed0b8..74d95dafe7 100644 --- a/utils/zoneinfo64/src/deserialize.rs +++ b/utils/zoneinfo64/src/deserialize.rs @@ -30,6 +30,12 @@ pub(crate) fn deserialize<'a>(resb: &'a [u32]) -> Result<ZoneInfo64<'a>, BinaryD let raw_...
3
229
89
5b5b5ba89d302db07826f6ffce8e2f3e38d0bcd4
Robert Bastian
2025-08-26T16:15:08
Add Easter holiday to `Gregorian` and `Julian` (#6899) The Hijri calendars are basically exclusively religious, so we have precedent for something like this.
diff --git a/components/calendar/src/cal/gregorian.rs b/components/calendar/src/cal/gregorian.rs index 15851b3412..38a6692ecf 100644 --- a/components/calendar/src/cal/gregorian.rs +++ b/components/calendar/src/cal/gregorian.rs @@ -186,6 +186,13 @@ impl Date<Gregorian> { } } +impl Gregorian { + /// Returns th...
5
77
2
4d53125a232c56fff3a947c2f4d1f4ae58b91d1d
Manish Goregaokar
2025-08-25T21:49:35
Update ixdtf to 0.6.3 (#6897) Was holding off on this until I knew I didn't need further ixdtf changes; which I think is now true. <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/u...
diff --git a/Cargo.lock b/Cargo.lock index 47787133b2..6916fb718e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1918,7 +1918,7 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "ixdtf" -version = "0.6.2" +version = "0.6.3" dependencies = [ "criterion", "displayd...
2
2
2
196f4f13cd9bdf961edd978ecd5ae8d0421370c2
Robert Bastian
2025-08-25T17:30:26
Don't require sources to be set in `icu4x-datagen` (#6892) Fixes #6481
diff --git a/provider/icu4x-datagen/src/main.rs b/provider/icu4x-datagen/src/main.rs index 1538242096..ae66b927e9 100644 --- a/provider/icu4x-datagen/src/main.rs +++ b/provider/icu4x-datagen/src/main.rs @@ -30,7 +30,9 @@ use clap::{Parser, ValueEnum}; use eyre::WrapErr; use icu_provider::export::ExportableProvider; ...
1
32
25
c1cfbf8cb41d7a703188374985d550b6c2bda296
Manish Goregaokar
2025-08-23T00:05:57
Allow clippy::mem_forget in yoke_derive (#6891) Fixes #6786
diff --git a/utils/yoke/derive/src/lib.rs b/utils/yoke/derive/src/lib.rs index 4d3d8843a4..5a2e345b4f 100644 --- a/utils/yoke/derive/src/lib.rs +++ b/utils/yoke/derive/src/lib.rs @@ -198,7 +198,9 @@ fn yokeable_derive_impl(input: &DeriveInput) -> TokenStream2 { // are the same ...
1
6
2
ab363fb8bde6acc12d7ea2d28572c6909f83c6ea
Shane F. Carr
2025-08-22T21:38:55
Implement Serialize and Deserialize for Locale (#6829) Fixes #6824
diff --git a/components/locale_core/src/langid.rs b/components/locale_core/src/langid.rs index 97798f9e40..14b38600ec 100644 --- a/components/locale_core/src/langid.rs +++ b/components/locale_core/src/langid.rs @@ -40,6 +40,14 @@ use alloc::borrow::Cow; /// This operation normalizes syntax to be well-formed. No legacy...
3
104
25
f6f918b39348d1edf3c621f09e85e4b2b2d29165
Jonathan Schwender
2025-08-20T21:35:48
icu_capi: Allow consumers to determine bindings directories (#6887) This allows consumers of `icu_capi` to determine the location of the include directories by reading the `DEP_` environment variable cargo will set. Currently, consumers need to invoke `cargo metadata` to determine the header file location, which can b...
diff --git a/examples/gn/Cargo.toml b/examples/gn/Cargo.toml index fba26bb78a..3367c0f6c6 100644 --- a/examples/gn/Cargo.toml +++ b/examples/gn/Cargo.toml @@ -15,6 +15,9 @@ icu = { version = "2.0.0", default-features = false } icu_provider = { version = "2.0.0" } # We need to explicitly specify versions here becaus...
2
41
0
5b9b0841f0a5e9408288c9a4e24e11e38b6d4524
Henri Sivonen
2025-08-20T07:49:39
Let prop map lookups reach the trie code with char range info and inlining (#6886) We shouldn't be inhibiting inlining here and we shouldn't be throwing away `char` range information.
diff --git a/components/properties/src/code_point_map.rs b/components/properties/src/code_point_map.rs index 2241754455..7a74782e48 100644 --- a/components/properties/src/code_point_map.rs +++ b/components/properties/src/code_point_map.rs @@ -162,11 +162,13 @@ impl<'a, T: TrieValue> CodePointMapDataBorrowed<'a, T> { ...
2
10
1
629e2a2b01e97d9d049edfdd2ccde1abf4d51135
Robert Bastian
2025-08-19T16:30:42
Optimise `day_of_provided_year`, `date_from_provided_year_day` for ISO/Gregorian (#6883) #5562
diff --git a/components/calendar/src/cal/ethiopian.rs b/components/calendar/src/cal/ethiopian.rs index baba094803..ca5ddd5527 100644 --- a/components/calendar/src/cal/ethiopian.rs +++ b/components/calendar/src/cal/ethiopian.rs @@ -18,7 +18,7 @@ use crate::cal::iso::{Iso, IsoDateInner}; use crate::calendar_arithmeti...
11
108
128
7ab79f6780e60b4f7f470beaf04a58416cbc0480
Henri Sivonen
2025-08-19T05:59:48
Write the UTF-16 fast paths using raw pointers to work around a compiler regression (#6825) The compiler regression is https://github.com/rust-lang/rust/issues/144684 This formulation does not restore `normalize_utf16_to` to ICU4C parity for English (but still +46% throughput compared to without this changeset), but ...
diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index 4d4f2e5eb0..1537663f6a 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -1976,9 +1976,27 @@ impl<'data> DecomposingNormalizerBorrowed<'data> { // detecting an internal bug without p...
1
93
17
f95236c9bc4271ee7ffb3fbb0d74d177eabf979b
Robert Bastian
2025-08-18T22:21:57
Implement zoneinfo64 rules (#6871) #6792 --------- Co-authored-by: Manish Goregaokar <manishsmail@gmail.com>
diff --git a/utils/calendrical_calculations/src/chinese_based.rs b/utils/calendrical_calculations/src/chinese_based.rs index 8d3aa04ce9..c34c4ee5c8 100644 --- a/utils/calendrical_calculations/src/chinese_based.rs +++ b/utils/calendrical_calculations/src/chinese_based.rs @@ -33,11 +33,23 @@ pub trait ChineseBased { /...
6
545
131
2f5d170f5760687d3a9559bfe1764f476b6470d0
Manish Goregaokar
2025-08-18T22:12:10
Move serde code into separate deserialize module (#6875) I don't really like having a bunch of nontrivial structs stuffed into a type, it's harder to navigate and it clutters up the main file. I'd like for the main file to stick to computation. Made a separate module. I _didn't_ move out the rule deserialization cod...
diff --git a/utils/zoneinfo64/src/deserialize.rs b/utils/zoneinfo64/src/deserialize.rs new file mode 100644 index 0000000000..599e620b18 --- /dev/null +++ b/utils/zoneinfo64/src/deserialize.rs @@ -0,0 +1,285 @@ +// This file is part of ICU4X. For terms of use, please see the file +// called LICENSE at the top level of ...
2
288
282
cda32353b3b575a7cabd0f5eee1bd73a3d031b5b
Henri Sivonen
2025-08-18T17:52:00
Add benches for UTF-16 normalization throughput (#6869) For English and Chinese, this is close enough to https://github.com/hsivonen/norm_bench/ to work as a stand-in. For Greek, the results are different enough on a level that worries me, but I don't know where the difference comes from. Hopefully, the bench will end...
diff --git a/Cargo.lock b/Cargo.lock index c22165f2be..a1b0dac849 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3843,6 +3843,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" dependencies = [ "arrayvec", + "smallvec", ...
4
174
1
1b7ba4a6dfa2c4d8683cf538b18073a42377825e
Robert Bastian
2025-08-18T17:17:31
Follow-up #6870 (#6873) #5562 cc @cassioneri
diff --git a/components/calendar/src/cal/iso.rs b/components/calendar/src/cal/iso.rs index dede06b853..01139b8825 100644 --- a/components/calendar/src/cal/iso.rs +++ b/components/calendar/src/cal/iso.rs @@ -52,11 +52,11 @@ impl CalendarArithmetic for Iso { type YearInfo = i32; fn days_in_provided_month(year...
2
8
8
42312a3f25a42d10b97e074f6f17c71641da38b6
Manish Goregaokar
2025-08-18T16:53:52
zoneinfo64: make offset_idx/offset_at low level APIs that work purely on the transition table (#6872) Split out of https://github.com/unicode-org/icu4x/pull/6842, requested by Robert. Currently, `offset_at` defaults to attempting to resolve the timezone rule when given an out-of-range offset. This makes it a higher l...
diff --git a/Cargo.toml b/Cargo.toml index 79c120dd9c..623c255ec3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -323,6 +323,11 @@ codegen-units = 1 inherits = "dev" debug-assertions = false +# For slow tests +[profile.release-with-assertions] +inherits = "release" +debug-assertions = true + [profile.bench] lto = tr...
3
443
156
dfe25f6923017e0695b278ad27d3633f65cbdf65
Robert Bastian
2025-08-18T15:22:43
Improve some Gregorian calendar code (#6870) Removes some duplicate code, removes branches and implements Neri-Schneider's `days_before_months`.
diff --git a/components/calendar/src/cal/indian.rs b/components/calendar/src/cal/indian.rs index fe9c324e78..e440f99f41 100644 --- a/components/calendar/src/cal/indian.rs +++ b/components/calendar/src/cal/indian.rs @@ -49,11 +49,7 @@ impl CalendarArithmetic for Indian { fn days_in_provided_month(year: i32, month...
3
49
68
8cc5fe9e1a825df3d87dff749f41eec97270c09b
Henri Sivonen
2025-08-15T18:32:10
Make trivial constructors for Char16Trie / Char16TrieIterator inline-eligible (#6864) This seems to make code that uses these a bit faster, and these are so small as to be harmless for code size.
diff --git a/components/collections/src/char16trie/trie.rs b/components/collections/src/char16trie/trie.rs index 32dc4ed24f..5aedccabe5 100644 --- a/components/collections/src/char16trie/trie.rs +++ b/components/collections/src/char16trie/trie.rs @@ -88,11 +88,13 @@ pub struct Char16Trie<'data> { impl<'data> Char16T...
1
3
0
80a001c7904d7e7e11fb2226c6590886f339b440
Henri Sivonen
2025-08-13T10:23:33
Make merge separator compare less than U+0000 on the identical strength (#6814) See #6811. This change does not fix the issue for sort keys. Includes the test changeset from #6812. --------- Co-authored-by: Shane F. Carr <shane@unicode.org>
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 27829a7ba9..8fd136f8c0 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -724,8 +724,8 @@ macro_rules! compare { } let ret = self.compare_impl(left_t...
2
21
2
ebf10506bb7da4f31eab17859ef0e945fd669f36
Shane F. Carr
2025-08-13T05:38:45
Change debug output of PluralElementsPackedULE (#6841)
diff --git a/components/plurals/src/provider.rs b/components/plurals/src/provider.rs index ea24512a0a..d9b9f6ff6c 100644 --- a/components/plurals/src/provider.rs +++ b/components/plurals/src/provider.rs @@ -395,7 +395,7 @@ pub struct PluralElementsPackedCow<'data, V: VarULE + ?Sized> { /// A bitpacked DST for [`Plural...
1
12
1
3a8028efa35b9e18e4d001dc76dfd47fe2d26e7f
Henri Sivonen
2025-08-11T14:19:41
Jump forward throwing away work instead of panic in release builds (#6816) This changeset replaces some panics with jumps forward when debug assertions are disabled when jumping forward simply throws away fast-path work. (In the UTF-8 cases, there are still panic sites left, but in those cases state visible outside th...
diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index ee1aeaf7d5..4d4f2e5eb0 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -1808,6 +1808,9 @@ impl<'data> DecomposingNormalizerBorrowed<'data> { // Fast-track succeeded...
1
172
143
f598c048c3cda622e840dad8b5d6d85d0dcb5e4e
Younies Mahmoud
2025-08-11T12:57:22
Refactor units datagen code to use categorized unit patterns (#6833)
diff --git a/provider/source/src/cldr_serde/units/data.rs b/provider/source/src/cldr_serde/units/data.rs index 3d698c425c..f88ec10d71 100644 --- a/provider/source/src/cldr_serde/units/data.rs +++ b/provider/source/src/cldr_serde/units/data.rs @@ -107,11 +107,14 @@ pub(crate) struct UnitsData { #[derive(PartialEq, De...
2
28
18
300868c4514bf32757bba21219ffbfdd252c9c6c
Manish Goregaokar
2025-08-11T10:35:55
Add some zoneinfo docs (#6831) Does it make sense to have these fields be public? I was hoping to write a zoneinfo64-inspect tool similar to tzif-inspect. <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please ...
diff --git a/utils/zoneinfo64/src/lib.rs b/utils/zoneinfo64/src/lib.rs index f63e07725e..219a452ef4 100644 --- a/utils/zoneinfo64/src/lib.rs +++ b/utils/zoneinfo64/src/lib.rs @@ -37,11 +37,21 @@ enum TzZone<'a> { } struct TzZoneData<'a> { + /// Transitions before the epoch of i32::MIN trans_pre32: &'a [(i32...
2
84
16
7ba25227ba1b82f023d540f6eb861c59b43eab83
Sidney Cammeresi
2025-08-11T05:21:20
Port BOCSU algorithm from ICU4C for identical level sort keys (#6823) Here is the requested code ported from ICU4C to make U+FFFE sort below U+0000 in sort keys at the identical level. I include some tests derived from the bug report that did not pass before but now do. Because we no longer write directly to the sin...
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 1eff721fdb..27829a7ba9 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -65,8 +65,9 @@ const LEVEL_SEPARATOR_BYTE: u8 = 1; /// /// Same as the unique primary and identical-...
1
162
60
472e602aeac54f1aa5a58e889cb93f075f565498
Robert Bastian
2025-08-08T05:27:22
Move `TimeZoneVariant` to provider module (#6822)
diff --git a/components/time/src/provider/mod.rs b/components/time/src/provider/mod.rs index b57b4fe7c6..bcf6a208fe 100644 --- a/components/time/src/provider/mod.rs +++ b/components/time/src/provider/mod.rs @@ -24,7 +24,6 @@ use zerovec::ule::vartuple::VarTupleULE; use zerovec::ule::{AsULE, NichedOption, RawBytesULE};...
2
27
34
173cbd0d89a8cba5865ffeffee51a7b521e9e27f
Robert Bastian
2025-08-07T15:25:19
Fix more docs that fail nightly (#6817)
diff --git a/utils/zerovec/src/ule/niche.rs b/utils/zerovec/src/ule/niche.rs index 4e81e3d597..6876a1cd63 100644 --- a/utils/zerovec/src/ule/niche.rs +++ b/utils/zerovec/src/ule/niche.rs @@ -157,7 +157,7 @@ unsafe impl<U: NicheBytes<N> + ULE, const N: usize> ULE for NichedOptionULE<U, N /// Optional type which uses [`...
1
1
1
cf13d207196393324eb993e44234c1ddf5615852
Manish Goregaokar
2025-08-07T05:36:47
Close timezone parser after parsing identifier (#6813)
diff --git a/utils/ixdtf/src/parsers/mod.rs b/utils/ixdtf/src/parsers/mod.rs index 97397b54f5..1e521afbb1 100644 --- a/utils/ixdtf/src/parsers/mod.rs +++ b/utils/ixdtf/src/parsers/mod.rs @@ -330,9 +330,15 @@ impl<'a, T: EncodingType> TimeZoneParser<'a, T> { /// let identifier = "+00:00:00"; /// let err = Time...
1
7
1
5242e84cd710e7cc9506ada30180dabbd29f061f
Manish Goregaokar
2025-08-06T15:41:31
Write a proper safety comment for ZeroVec::truncate (#6809) Fixes #6808 <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general infor...
diff --git a/utils/zerovec/src/zerovec/mod.rs b/utils/zerovec/src/zerovec/mod.rs index 6a85984d58..78eb0c3cae 100644 --- a/utils/zerovec/src/zerovec/mod.rs +++ b/utils/zerovec/src/zerovec/mod.rs @@ -167,8 +167,12 @@ impl<U> EyepatchHackVector<U> { } fn truncate(&mut self, max: usize) { - // SAFETY: T...
1
6
2
0aeec20b841817d28bc2c086c6544afcd0d84595
Manish Goregaokar
2025-08-04T14:24:44
Fix treatment of None era code for Gregorian (#6794) None sets the default era, which is not BC
diff --git a/components/calendar/src/cal/gregorian.rs b/components/calendar/src/cal/gregorian.rs index 259d087e83..cc95b8b4d7 100644 --- a/components/calendar/src/cal/gregorian.rs +++ b/components/calendar/src/cal/gregorian.rs @@ -56,8 +56,8 @@ impl Calendar for Gregorian { day: u8, ) -> Result<Self::Date...
1
2
2
4010b0d16fd8bb5a386ab7162c285d720e772157
Manish Goregaokar
2025-07-29T00:46:27
ixdtf: Correctly handle ambiguous annotations (#6776) fixes #6775
diff --git a/utils/ixdtf/src/parsers/annotations.rs b/utils/ixdtf/src/parsers/annotations.rs index 91347ce10f..dc4610e18a 100644 --- a/utils/ixdtf/src/parsers/annotations.rs +++ b/utils/ixdtf/src/parsers/annotations.rs @@ -30,7 +30,7 @@ pub(crate) fn parse_annotation_set<'a, T: EncodingType>( cursor: &mut Cursor<'...
3
57
37
9fbd45c032e616c61ff13b15b0be0103f2b5e744
Robert Bastian
2025-07-23T20:01:07
Don't complain about not covering `Factory` timezone in datagen (#6768) CLDR aliases it to `Etc/Unknown` so we don't need to have data for it. Currently this logs an error.
diff --git a/provider/source/src/time_zones/mod.rs b/provider/source/src/time_zones/mod.rs index a1dbc3d762..aeaf0325fc 100644 --- a/provider/source/src/time_zones/mod.rs +++ b/provider/source/src/time_zones/mod.rs @@ -18,6 +18,7 @@ use icu::time::zone::ZoneNameTimestamp; use icu_locale_core::subtags::Region; use icu...
1
7
2
01879a0cf511310ae3dfb0e48b070d845039e5e9
Manish Goregaokar
2025-07-22T15:20:41
Offset must have a sign (#6763) Fixes https://github.com/boa-dev/temporal/issues/428 <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for...
diff --git a/Cargo.toml b/Cargo.toml index 9eda7d76f0..e99eae9205 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -331,4 +331,5 @@ debug = true [workspace.metadata.cargo-semver-checks.lints] type_method_marked_deprecated.level = "allow" # allow deprecation in patch releases -type_marked_deprecated.level = "allow" # all...
5
21
8
98f57934a09608628d93a84a59f9c3e331867f15
Makoto Kato
2025-07-22T14:50:46
Make ZeroVec.iter().collect() faster (#6764) Original issue is https://bugzilla.mozilla.org/show_bug.cgi?id=1974993 Segmenter's LSTM data model uses ZeroVec.iter().collect() to extract a model data. But this is slower after https://github.com/unicode-org/icu4x/pull/5924. `collect()` still uses `Iterator.size_hint()`...
diff --git a/utils/zerovec/src/zerovec/slice.rs b/utils/zerovec/src/zerovec/slice.rs index 59351878a5..c8fc57687d 100644 --- a/utils/zerovec/src/zerovec/slice.rs +++ b/utils/zerovec/src/zerovec/slice.rs @@ -410,6 +410,10 @@ impl<'a, T: AsULE> Iterator for ZeroSliceIter<'a, T> { fn next(&mut self) -> Option<T> { ...
1
4
0
a29088f44724297f536e0b306823102fba16b8be
Robert Bastian
2025-07-22T09:51:33
Simplify `ZoneNameTimestamp` code (#6761)
diff --git a/components/time/src/types.rs b/components/time/src/types.rs index e978f7cfeb..4c5fc9f89f 100644 --- a/components/time/src/types.rs +++ b/components/time/src/types.rs @@ -207,6 +207,8 @@ pub struct ZonedDateTime<A: AsCalendar, Z> { pub zone: Z, } +const UNIX_EPOCH: RataDie = calendrical_calculations...
4
57
175
784404dc954ad5df62f23302acd627a129659548
Sidney Cammeresi
2025-07-21T13:21:12
Fix several incorrect type inferences in sort key code (#6708) These variables were int32_t in the C++ code, but during the port their types got incorrectly inferred as u8, which can cause a panic on overflow when processing a long string. I adjust them to usize, which is Rust's idiom. The narrowings to u8 should all...
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 4f730f3275..2d8ff7543c 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -1873,10 +1873,10 @@ impl CollatorBorrowed<'_> { let mut quaternaries = SortKeyLevel::default...
1
33
22
de221720051d99c87ac20f6b4924659b1173a3a3
Robert Bastian
2025-07-21T11:06:29
Fix nightly (#6759)
diff --git a/components/datetime/src/fieldsets.rs b/components/datetime/src/fieldsets.rs index 451fd4a884..1f50e95781 100644 --- a/components/datetime/src/fieldsets.rs +++ b/components/datetime/src/fieldsets.rs @@ -1721,7 +1721,7 @@ pub mod zone { /// /// let formatter = NoCalendarFormatter::try_new( ...
1
1
1
3a1f5a9cb8d3cd5054ab9f472b0ded35a543e931
Manish Goregaokar
2025-07-18T17:15:11
Fix is_valid_month_day argument ordering bug, bump ixdtf to 0.6.1 (#6756) And add tests from test262 for ambiguous and unambiguous time parsing
diff --git a/Cargo.lock b/Cargo.lock index 1243b30566..94204b753b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1875,7 +1875,7 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "ixdtf" -version = "0.6.0" +version = "0.6.1" dependencies = [ "criterion", "displayd...
4
58
24
89fce6016097378937a23d57164db512c1754643
Robert Bastian
2025-07-14T23:45:21
Don't run full validation on partial datagen invocation (#6748) Annoying for local development. #6709
diff --git a/tools/make/bakeddata/src/main.rs b/tools/make/bakeddata/src/main.rs index 4c8907f7af..e140ce37ab 100644 --- a/tools/make/bakeddata/src/main.rs +++ b/tools/make/bakeddata/src/main.rs @@ -262,27 +262,29 @@ fn main() { } } - // validate that `--markers all --locales full` works - struct ...
1
21
19
91ec4f0f76a02a0c24c03847b3116211f09b1673
Shane F. Carr
2025-07-10T17:22:00
ZeroTrie internal docs and lints (#6740) Fixes #3894
diff --git a/utils/zerotrie/src/builder/bytestr.rs b/utils/zerotrie/src/builder/bytestr.rs index 9910efd7ff..dff295c011 100644 --- a/utils/zerotrie/src/builder/bytestr.rs +++ b/utils/zerotrie/src/builder/bytestr.rs @@ -73,11 +73,13 @@ impl ByteStr { } /// Returns the byte at the given index, panicking if ou...
12
71
16
f9f06d5b38d3ff10c28dddee8c09e0931916f376
Robert Bastian
2025-07-09T18:15:17
Fix `und-SA-u-ca-islamic` (#6736) Fixes #6559
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index e47c241764..5d79d3c101 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -825,7 +825,7 @@ impl AnyCalendarKind { } else if region == Some(region!("AF")) || re...
2
33
17
a4272d3aa4a6a8d0c91d426c68cb8024faf06ac5
Robert Bastian
2025-07-09T09:58:21
Add `Preferences::from_locale_strict` (#6737) Fixes #6628
diff --git a/components/datetime/src/neo.rs b/components/datetime/src/neo.rs index 8355627469..1d3815d2f6 100644 --- a/components/datetime/src/neo.rs +++ b/components/datetime/src/neo.rs @@ -78,6 +78,23 @@ define_preferences!( } ); +#[test] +fn prefs() { + use icu_locale::locale; + assert_eq!( + Da...
3
62
22
6404bfd8014ed94aeb19d4a26fa5df9c18987d2d
Younies Mahmoud
2025-07-08T15:43:08
Add short representation generator for MeasureUnit (#6685)
diff --git a/components/experimental/src/measure/measureunit.rs b/components/experimental/src/measure/measureunit.rs index 11244ba3f2..2b78bd2b80 100644 --- a/components/experimental/src/measure/measureunit.rs +++ b/components/experimental/src/measure/measureunit.rs @@ -3,6 +3,8 @@ // (online at: https://github.com/un...
3
145
0
2ddba9c1ffc918946c7e7b23f0c5bf6feeb71a3a
Robert Bastian
2025-07-04T16:11:59
Mark all FFI enums as `#[non_exhaustive]` (#6731) They effectively already are, because the Rust API is unstable and there is no such thing as an exhaustive enum in other languages. This lets us add variants in the future without semver complaining.
diff --git a/ffi/capi/src/bidi.rs b/ffi/capi/src/bidi.rs index ef09c06659..fa76b06df0 100644 --- a/ffi/capi/src/bidi.rs +++ b/ffi/capi/src/bidi.rs @@ -13,6 +13,7 @@ pub mod ffi { #[cfg(feature = "buffer_provider")] use crate::unstable::{errors::ffi::DataError, provider::ffi::DataProvider}; + #[non_exhaus...
21
57
1
1f1598172687089c5e55d17e195abb26241f991c
Kevin Ness
2025-07-03T17:35:28
Bump ixdtf from 0.6.0-dev to 0.6.0 and release (#6730)
diff --git a/Cargo.lock b/Cargo.lock index 1a41323f0b..1af59007d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1883,7 +1883,7 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "ixdtf" -version = "0.6.0-dev" +version = "0.6.0" dependencies = [ "criterion", "disp...
3
3
3
160631bedda8799e2f5852326cfdb784aa6a9461
Younies Mahmoud
2025-07-03T12:03:50
Add CategorizedFormatter for unit formatting (#6710)
diff --git a/components/experimental/src/dimension/units/categorized_formatter.rs b/components/experimental/src/dimension/units/categorized_formatter.rs new file mode 100644 index 0000000000..a3bcb54a21 --- /dev/null +++ b/components/experimental/src/dimension/units/categorized_formatter.rs @@ -0,0 +1,171 @@ +// This f...
10
210
1
66769be48797a6039180cf5953e09393dd04f981
Kevin Ness
2025-07-02T13:23:08
Handle ambiguous time parsing with MonthDay and YearMonth in `ixdtf` (#6717) <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general i...
diff --git a/utils/ixdtf/src/core.rs b/utils/ixdtf/src/core.rs index 1ccb761dc6..b60d096502 100644 --- a/utils/ixdtf/src/core.rs +++ b/utils/ixdtf/src/core.rs @@ -106,6 +106,11 @@ impl<'a, T: EncodingType> Cursor<'a, T> { self.pos } + /// Get current position + pub(crate) fn set_position(&mut self...
5
145
68
79d42ec06ba96c2b6db1c071ee8e8e3439aab851
Kevin Ness
2025-06-30T15:10:34
Reject empty durations when parsing ISO8601 durations (#6718) <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general information on c...
diff --git a/utils/ixdtf/src/parsers/duration.rs b/utils/ixdtf/src/parsers/duration.rs index c4405c5b34..c3d5e845f0 100644 --- a/utils/ixdtf/src/parsers/duration.rs +++ b/utils/ixdtf/src/parsers/duration.rs @@ -37,7 +37,10 @@ pub(crate) fn parse_duration<T: EncodingType>( DurationDisgnator, ); - let ...
2
13
2
7a4a00d5c373c123d19aaf1dabf475c971c81898
Robert Bastian
2025-06-25T12:44:35
Handle locales without `territories.json`, locales with inconsistent patterns (#6709) `icu4x-datagen --markers all --locales full` currently fails.
diff --git a/provider/source/src/datetime/patterns.rs b/provider/source/src/datetime/patterns.rs index 70579fb155..88ae8603c6 100644 --- a/provider/source/src/datetime/patterns.rs +++ b/provider/source/src/datetime/patterns.rs @@ -138,10 +138,9 @@ impl From<&cldr_serde::ca::Dates> for TimeLengths<'_> { let ite...
3
30
5
0d2e6b2cf75d7e141c0d22edeef45189579a912d
Ben Beasley
2025-06-23T15:00:04
Fix test failures in zerotrie on 32-bit platforms (#6697) <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general information on contr...
diff --git a/utils/zerotrie/src/varint.rs b/utils/zerotrie/src/varint.rs index 5af0ea664b..5bb7840aa0 100644 --- a/utils/zerotrie/src/varint.rs +++ b/utils/zerotrie/src/varint.rs @@ -434,6 +434,7 @@ mod tests { ); assert!(remainder.is_empty()); assert_eq!(recovered_value, MAX_VARINT); + ...
2
26
0
7a838b465eedcf6c83a0b2709a0e31ddd10e4dc3
Manish Goregaokar
2025-06-20T13:46:00
Remove unnecessary transmute_copy in docs (#6687) Noticed by @nazar-pc in https://github.com/unicode-org/icu4x/pull/705#discussion_r2157782327 <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://g...
diff --git a/utils/yoke/src/yoke.rs b/utils/yoke/src/yoke.rs index db564df198..b85aa61f7a 100644 --- a/utils/yoke/src/yoke.rs +++ b/utils/yoke/src/yoke.rs @@ -459,9 +459,7 @@ impl<Y: for<'a> Yokeable<'a>, C> Yoke<Y, C> { /// # } /// # /// # unsafe fn make(from: Bar<'a>) -> Self { - /// # ...
2
4
19
3f6ec1c7d5be7aad45d9775331faaed1d3e2a44b
Younies Mahmoud
2025-06-19T14:22:11
Introduce `duration` category for measure units (#6676)
diff --git a/components/experimental/src/measure/category/duration.rs b/components/experimental/src/measure/category/duration.rs new file mode 100644 index 0000000000..105db90a74 --- /dev/null +++ b/components/experimental/src/measure/category/duration.rs @@ -0,0 +1,158 @@ +// This file is part of ICU4X. For terms of u...
2
170
7
08c564ffbf7686b7666764b4ff0462471907aad6
Robert Bastian
2025-06-17T15:09:25
Add transliterator builder (#6658) #6249 #6250
diff --git a/components/experimental/src/transliterate/mod.rs b/components/experimental/src/transliterate/mod.rs index 00ae29cd1d..225a0f1ec0 100644 --- a/components/experimental/src/transliterate/mod.rs +++ b/components/experimental/src/transliterate/mod.rs @@ -28,6 +28,8 @@ mod compile; #[allow(clippy::indexing_slic...
4
383
1
652b05daf0021a0404858597ccba964cfb8cae2c
Sidney Cammeresi
2025-06-16T07:23:03
Minor collation key improvements (#6656) - Minor style cleanups to make the file consistent - Make `CollationKeySink::finish` take mutable receiver — I envisioned that the function might write to its output, but I mistakenly didn't give it a mutable reference. - Return full collation key length on too small error — Th...
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 4d2c4624d5..dd9eac0e83 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -44,7 +44,7 @@ use crate::provider::CollationSpecialPrimariesValidated; use crate::provider::Collatio...
1
58
29
ed457c605c06a07101b20c68d0b1ca20656ee5b5
Shane F. Carr
2025-06-13T23:11:52
Delete obsolete datetime data struct serde tests (#6670) Follow-up to #6657 These tests are testing serde behavior of `DateSymbols` and other data structs that are no longer used for live data.
diff --git a/provider/source/src/datetime/legacy.rs b/provider/source/src/datetime/legacy.rs index cd81844b5d..1fb6465cc0 100644 --- a/provider/source/src/datetime/legacy.rs +++ b/provider/source/src/datetime/legacy.rs @@ -1371,131 +1371,3 @@ mod tests { ); } } - -#[cfg(any())] // these tests only test s...
1
0
128
f7a963e69470576e2168e233d53853bfe5c645ea
Kevin Ness
2025-06-06T15:51:53
Add TimeZoneParser::parse_identifier for TimeZoneRecord (#6584) <!-- Thank you for your pull request to ICU4X! Reminder: try to use [Conventional Comments](https://conventionalcomments.org/) to make comments clearer. Please see https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for general information on...
diff --git a/utils/ixdtf/src/error.rs b/utils/ixdtf/src/error.rs index 7df2e9718f..fbf7433a4c 100644 --- a/utils/ixdtf/src/error.rs +++ b/utils/ixdtf/src/error.rs @@ -74,6 +74,8 @@ pub enum ParseError { AnnotationValueCharPostHyphen, #[displaydoc("Invalid annotation value character.")] AnnotationValueCha...
4
66
5
ab41fb617449f156c7fcced7ff3b3bc3f77162f8
Younies Mahmoud
2025-06-03T16:41:11
Refactor unit constants loading and conversion information processing in `load` method (#6650)
diff --git a/provider/source/src/units/info.rs b/provider/source/src/units/info.rs index 4a4b8872b4..8519ab027e 100644 --- a/provider/source/src/units/info.rs +++ b/provider/source/src/units/info.rs @@ -20,37 +20,34 @@ impl DataProvider<UnitsInfoV1> for SourceDataProvider { fn load(&self, _req: DataRequest) -> Res...
1
16
19
5550450eb2e2e48230bf83709ef2963fd68c04de
Younies Mahmoud
2025-06-02T13:47:25
Refactor inner single unit handling with `SingleUnitVec` (#6632)
diff --git a/components/experimental/src/measure/measureunit.rs b/components/experimental/src/measure/measureunit.rs index 357caa49e7..621d58a44b 100644 --- a/components/experimental/src/measure/measureunit.rs +++ b/components/experimental/src/measure/measureunit.rs @@ -2,9 +2,7 @@ // called LICENSE at the top level o...
7
97
41
1d0dd1692f3da2165d754173bc7337a2eb7a77c7
Younies Mahmoud
2025-06-02T09:07:51
Refactor `insert_non_basic_units` to improve clarity (#6648)
diff --git a/components/experimental/src/units/converter_factory.rs b/components/experimental/src/units/converter_factory.rs index d041083bee..e792dce824 100644 --- a/components/experimental/src/units/converter_factory.rs +++ b/components/experimental/src/units/converter_factory.rs @@ -162,26 +162,31 @@ impl ConverterF...
1
18
15
ebff897db2dc45f24de11f49f13a3cc109349b4d
Younies Mahmoud
2025-06-02T07:44:40
Refactor comments and variable names in `compute_offset` function (#6649)
diff --git a/components/experimental/src/units/converter_factory.rs b/components/experimental/src/units/converter_factory.rs index aadac4528a..d041083bee 100644 --- a/components/experimental/src/units/converter_factory.rs +++ b/components/experimental/src/units/converter_factory.rs @@ -87,12 +87,12 @@ impl ConverterFac...
1
14
11
f9570326c870d2b03365e6f8e59683b481d89364
Manish Goregaokar
2025-05-28T08:54:30
Better databake safety comments in zerovec (#6641)
diff --git a/utils/zerovec/src/varzerovec/databake.rs b/utils/zerovec/src/varzerovec/databake.rs index 5886a00d8c..1eec39de91 100644 --- a/utils/zerovec/src/varzerovec/databake.rs +++ b/utils/zerovec/src/varzerovec/databake.rs @@ -13,7 +13,8 @@ impl<T: VarULE + ?Sized> Bake for VarZeroVec<'_, T, Index16> { ...
2
12
4
b35826c337f145c47e7d06e08aa6dc55efdf0b47
Younies Mahmoud
2025-05-27T15:32:37
Rename `get_constant_denominator` to `constant_denominator` (#6638)
diff --git a/Cargo.lock b/Cargo.lock index 160b2cb10e..37fa924fdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1386,7 +1386,7 @@ version = "2.0.0" [[package]] name = "icu_experimental" -version = "0.3.0" +version = "0.4.0-dev" dependencies = [ "criterion", "databake", diff --git a/Cargo.toml b/Cargo.toml index...
5
9
9
04472cde82e2c05d886df274b317567ba8b687f5
Robert Bastian
2025-05-27T14:39:31
Fix nightly (#6637)
diff --git a/provider/core/src/constructors.rs b/provider/core/src/constructors.rs index 47aa06e8e4..86304ee5da 100644 --- a/provider/core/src/constructors.rs +++ b/provider/core/src/constructors.rs @@ -105,7 +105,7 @@ macro_rules! gen_buffer_unstable_docs { (BUFFER, $data:path) => { concat!( ...
1
2
2
45858926b4b6ee1c4a6ccb600aa9dfc90f87328e
Finchie
2025-05-21T08:32:52
Map Windows `_radstr` to CLDR `unihan` in env_preferences (#6621) Fixes #6572
diff --git a/utils/env_preferences/src/parse/aliases.rs b/utils/env_preferences/src/parse/aliases.rs index f91c078984..86880a7b1d 100644 --- a/utils/env_preferences/src/parse/aliases.rs +++ b/utils/env_preferences/src/parse/aliases.rs @@ -18,7 +18,7 @@ pub fn strip_windows_collation_suffix_lossy( let collation...
2
5
5
89c16315d84da7558b38ca16093ea9c62267c171
Robert Bastian
2025-05-19T17:58:03
Add first weekday preference to week preferences (#6615) Per UTS-35
diff --git a/components/calendar/src/week.rs b/components/calendar/src/week.rs index 15746c289b..384b4f55d9 100644 --- a/components/calendar/src/week.rs +++ b/components/calendar/src/week.rs @@ -5,7 +5,7 @@ //! Functions for region-specific weekday information. use crate::{error::RangeError, provider::*, types::Wee...
1
41
3
6fe1953b1fe2e2df9d7727f74752c04e30181e78
Robert Bastian
2025-05-19T15:23:10
Update to released diplomat (#6614)
diff --git a/Cargo.lock b/Cargo.lock index e16b0ee752..c9365a4877 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -710,8 +710,9 @@ dependencies = [ [[package]] name = "diplomat" -version = "0.11.0" -source = "git+https://github.com/rust-diplomat/diplomat?rev=f899eaf7082377f17666cb7608f7864e90969b3e#f899eaf7082377f17666...
2
16
12
5884e6308a76864be8f305420458fd2fc1568276
Robert Bastian
2025-05-19T14:26:46
Bump `icu_harfbuzz` (#6613) It has ICU types on its API, and hasn't been bumped for 2.0
diff --git a/Cargo.lock b/Cargo.lock index da0f8a2010..e16b0ee752 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1436,7 +1436,7 @@ dependencies = [ [[package]] name = "icu_harfbuzz" -version = "0.2.0" +version = "0.3.0" dependencies = [ "displaydoc", "harfbuzz-traits", diff --git a/ffi/harfbuzz/Cargo.toml b/ffi/...
2
2
2
6b500189dd5718d67485a2d091aa5ef80d977d5a
Ben Beasley
2025-05-19T05:00:02
In locale_core, let litemap dev-dep. be workspace rather than path (#6601) This allows the dev-dependency (and particularly, the dependency on the `testing` feature) to appear in the normalized `Cargo.toml` in the published crate. This is helpful when packaging for Fedora Linux, because the `dev-dependency` on `zerof...
diff --git a/components/locale_core/Cargo.toml b/components/locale_core/Cargo.toml index 94ac6bb46a..b39b36ee2e 100644 --- a/components/locale_core/Cargo.toml +++ b/components/locale_core/Cargo.toml @@ -33,7 +33,7 @@ zerovec = { workspace = true, optional = true } iai = { workspace = true } icu = { path = "../../comp...
1
1
1
650175dc22c86b1a357ff64d6e1443d64db2df88
Ben Beasley
2025-05-16T15:46:31
On big-endian, skip two tests failing due to #6588 (#6587)
diff --git a/utils/zerovec/src/hashmap/serde.rs b/utils/zerovec/src/hashmap/serde.rs index 0938dcd22f..0ed2b1a4da 100644 --- a/utils/zerovec/src/hashmap/serde.rs +++ b/utils/zerovec/src/hashmap/serde.rs @@ -119,6 +119,8 @@ mod test { ); } + // TODO(#6588): Fix sensitivity to host endianness. + #[c...
1
4
0
32f1e7f4c9b3408068247d243a6d51b1711b9d6a
Ben Beasley
2025-05-16T09:29:57
In locale_core, skip check_sizes() test on non-64-bit arches (#6602) This is basically the same problem and fix as https://github.com/unicode-org/icu4x/pull/5606.
diff --git a/components/locale_core/src/locale.rs b/components/locale_core/src/locale.rs index 437b6e607f..a3435f215f 100644 --- a/components/locale_core/src/locale.rs +++ b/components/locale_core/src/locale.rs @@ -99,6 +99,8 @@ pub struct Locale { } #[test] +// Expected sizes are based on a 64-bit architecture +#[...
1
2
0
879b2e8afb321b86f42106e27a7a4d6ffab77aff
Robert Bastian
2025-05-14T09:14:30
Move examples into metacrate (#6591) This way we can link to a list of examples from the website.
diff --git a/Cargo.lock b/Cargo.lock index 3982e43cb4..2ed155546a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1066,6 +1066,7 @@ version = "2.0.0" dependencies = [ "chrono", "chrono-tz", + "icu_benchmark_macros", "icu_calendar", "icu_casemap", "icu_collator", @@ -1147,7 +1148,6 @@ dependencies = [ "databak...
23
55
70
83bb920b187bee27e8ae641d45837d985b7bf3fd
Robert Bastian
2025-05-08T19:00:33
Fix chinese day-of-year (#6567) Fixes #6565
diff --git a/components/calendar/src/cal/chinese_based.rs b/components/calendar/src/cal/chinese_based.rs index ffe30fb223..08ca5c8162 100644 --- a/components/calendar/src/cal/chinese_based.rs +++ b/components/calendar/src/cal/chinese_based.rs @@ -252,13 +252,13 @@ impl ChineseBasedYearInfo { } pub(crate) fn...
2
6
3
f94df9f3c4663a871e133ae0cf56a3748b83b346
Henri Sivonen
2025-05-07T20:11:14
Allow typical accented characters at identical prefix boundary (#6558) We don't currently have a bench workload where the prefix boundary would fall next to a precomposed accented character, but we should expect that situation to arise with various European languages.
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 05d28e3e61..380453ef5c 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -17,7 +17,8 @@ use crate::elements::CE_BUFFER_SIZE; use crate::elements::FALLBACK_CE32; use crate::e...
2
175
77
9263900992751f80f719e6568ab8f024c3522773
Henri Sivonen
2025-05-07T17:00:35
Improve comments in the collator (#6557) Addresses post-merge comments from #6496 and also adds a couple of other doc tweaks.
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 3086bbb031..05d28e3e61 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -79,7 +79,7 @@ fn in_inclusive_range16(i: u16, start: u16, end: u16) -> bool { } /// Finds the ide...
2
9
9
a2b4aa94412adae2891f2794e090b56d32710ab3
Shane F. Carr
2025-05-07T00:01:28
Touch lockfiles in repo (#6545) Part of #6543 Some of these lockfiles haven't been touched in a long time
diff --git a/tutorials/c-tiny/fixeddecimal/Cargo.lock b/tutorials/c-tiny/fixeddecimal/Cargo.lock index 555e86bc7c..cd932754b1 100644 --- a/tutorials/c-tiny/fixeddecimal/Cargo.lock +++ b/tutorials/c-tiny/fixeddecimal/Cargo.lock @@ -5,7 +5,7 @@ version = 3 [[package]] name = "diplomat" version = "0.10.0" -source = "gi...
8
88
104
e03259ff97be6cd7ba6566742c10d81954cb6cdf
Shane F. Carr
2025-05-06T20:54:26
Add transliteration test_katakana_hiragana (#6259)
diff --git a/components/experimental/src/transliterate/transliterator/mod.rs b/components/experimental/src/transliterate/transliterator/mod.rs index 3eb050251a..debdea2234 100644 --- a/components/experimental/src/transliterate/transliterator/mod.rs +++ b/components/experimental/src/transliterate/transliterator/mod.rs @...
1
8
0
d01e47ee9d1ca9984eee9c5c24355f39b2ae1582
Henri Sivonen
2025-05-06T17:51:15
Identical prefix optimization for the collator (#6496) Fixes #2712
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index a5c31041e6..3086bbb031 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -9,6 +9,13 @@ //! This module holds the `Collator` struct whose `compare_impl()` contains //! the co...
3
720
91
6c536da76d85fdcc0441d0c9a4ffb88ebf082345
Manish Goregaokar
2025-05-06T15:40:14
Clarify comment on era_index (#6523) Fixes #6444
diff --git a/components/calendar/src/types.rs b/components/calendar/src/types.rs index bd814d8c95..c01f363694 100644 --- a/components/calendar/src/types.rs +++ b/components/calendar/src/types.rs @@ -92,7 +92,10 @@ pub struct EraYear { pub era: TinyStr16, /// An era index, for calendars with a small set of era...
1
4
1
3869ba8aa6fbe137224cd380412a724ec202bbeb
Robert Bastian
2025-05-06T14:42:24
Remove `Language`/`LanguageIdentifier`/`Locale` `Default` impls (#6529) #6519
diff --git a/components/casemap/tests/gen_greek_to_me.rs b/components/casemap/tests/gen_greek_to_me.rs index 0aa082574c..667a8ef34a 100644 --- a/components/casemap/tests/gen_greek_to_me.rs +++ b/components/casemap/tests/gen_greek_to_me.rs @@ -6,6 +6,7 @@ use icu_casemap::greek_to_me::{ self, GreekDiacritics, Greek...
12
44
54
87ad2fc6becd17987ec0d72eb47544eccd6f3096
Henri Sivonen
2025-05-06T04:38:43
Split collator benchmarking loops to never-inlined functions to avoid collator changes affecting the baseline (#6494)
diff --git a/components/collator/benches/bench.rs b/components/collator/benches/bench.rs index 219c55add4..e6c3beb52f 100644 --- a/components/collator/benches/bench.rs +++ b/components/collator/benches/bench.rs @@ -2,10 +2,61 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github...
1
60
32
e4ad164be8d2b95d0dae1119ddbf40e49ebe7d5d
Robert Bastian
2025-05-05T23:50:50
Update era codes (#6525) https://github.com/unicode-org/cldr/pull/4519
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index df32c06694..6ce6ed1164 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -1792,13 +1792,13 @@ mod tests { DateError::UnknownMonthCode(MonthCode(tinystr!(4...
5
62
54
257b76fffa09cf736b82c56c3c12daeee5ae4afe
ebraminio
2025-05-05T21:16:28
Create a Hijri module and move hijri_ummalqura_data to it (#6521) As https://github.com/unicode-org/icu4x/pull/6502#discussion_r2073886505
diff --git a/components/calendar/src/cal/hijri.rs b/components/calendar/src/cal/hijri.rs index ef3a634143..50ed06e4cd 100644 --- a/components/calendar/src/cal/hijri.rs +++ b/components/calendar/src/cal/hijri.rs @@ -19,7 +19,6 @@ //! assert_eq!(hijri_date.day_of_month().0, 11); //! ``` -use crate::cal::hijri_ummalqu...
3
3
2
04a64b6c6385794e952f044f35638544d46da1e4
Shane F. Carr
2025-05-02T08:07:54
Add tests for era index (#6518)
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index dab56c472e..df32c06694 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -1571,19 +1571,20 @@ mod tests { #[track_caller] fn single_test_roundtrip( ...
1
84
70
b27e78dbf57034f35aaf6b6211504e8dfc36a2bd
Shane F. Carr
2025-04-26T22:14:42
Remove dead type DateTimeSkeletons and its data marker (#6499) Toward #5634
diff --git a/components/datetime/src/provider/neo/mod.rs b/components/datetime/src/provider/neo/mod.rs index aae484f466..c8df5c3e42 100644 --- a/components/datetime/src/provider/neo/mod.rs +++ b/components/datetime/src/provider/neo/mod.rs @@ -6,13 +6,13 @@ mod adapter; -use crate::provider::pattern::runtime::{self...
1
2
27
82c5d4789aec1ddc933b2c419fe651527699d32b
Shane F. Carr
2025-04-26T14:25:29
Improve docs and code hygiene in icu_datetime (#6498) Toward #5634
diff --git a/components/calendar/Cargo.toml b/components/calendar/Cargo.toml index 2c5e2e936a..e6f2d26085 100644 --- a/components/calendar/Cargo.toml +++ b/components/calendar/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "icu_calendar" -description = "API for supporting various types of calendars" +description = "Da...
15
85
52
d5cbc56eea1d8f0d1f462a48496d97c8800a0745
Shane F. Carr
2025-04-25T05:20:09
Improve checksum validation in DateTimeNames (#6493) #6063
diff --git a/components/datetime/src/neo.rs b/components/datetime/src/neo.rs index a9e27310de..5916308058 100644 --- a/components/datetime/src/neo.rs +++ b/components/datetime/src/neo.rs @@ -280,8 +280,16 @@ where L: DecimalFormatterLoader, { let names = RawDateTimeNames::new_without_number_forma...
3
231
34
611c3da99d71b50a5dec1245905ba31880364a8b
Shane F. Carr
2025-04-22T23:24:13
Add PluralElements [try_]for_each, [try_]for_each_mut (#6479)
diff --git a/components/plurals/src/lib.rs b/components/plurals/src/lib.rs index f14ff179f3..61870d4230 100644 --- a/components/plurals/src/lib.rs +++ b/components/plurals/src/lib.rs @@ -974,6 +974,67 @@ impl<T> PluralElements<T> { Ok(plural_elements) } + /// Immutably applies a function `f` to each ...
1
61
0
f952b037e67c1b133d61d9b61251bc7300ee14e7
Shane F. Carr
2025-04-22T22:50:16
Internal datagen API: Return the distance from skeleton matching (#6485)
diff --git a/components/datetime/src/provider/pattern/hour_cycle.rs b/components/datetime/src/provider/pattern/hour_cycle.rs index 46e474287a..4e14e3c103 100644 --- a/components/datetime/src/provider/pattern/hour_cycle.rs +++ b/components/datetime/src/provider/pattern/hour_cycle.rs @@ -104,8 +104,8 @@ impl CoarseHourCy...
4
101
62
0bb3a5bec97f13503339d2e4adb0aa1a05490914
Shane F. Carr
2025-04-21T23:46:25
Refactor: Persist pattern exactness in datagen (#6484)
diff --git a/components/datetime/src/provider/skeleton/helpers.rs b/components/datetime/src/provider/skeleton/helpers.rs index bc139cff3d..f5a34b7463 100644 --- a/components/datetime/src/provider/skeleton/helpers.rs +++ b/components/datetime/src/provider/skeleton/helpers.rs @@ -19,9 +19,6 @@ use crate::{ }, }; ...
2
100
62