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
a9b65c46c8e4fea1f40e4de64a0a0c8352bdebbf
Robert Bastian
2023-08-21T15:08:39
Handling surrogates in CodePointInversionList JSON (#3899)
diff --git a/components/collections/src/codepointinvlist/cpinvlist.rs b/components/collections/src/codepointinvlist/cpinvlist.rs index e3580f526f..d6b8e7e3ce 100644 --- a/components/collections/src/codepointinvlist/cpinvlist.rs +++ b/components/collections/src/codepointinvlist/cpinvlist.rs @@ -4,6 +4,8 @@ #[cfg(feat...
1
85
22
42995708ef4f9899d0787123e7bf5932101135ef
Manish Goregaokar
2023-08-18T17:13:24
Remove a bunch of calendar unwraps (#3878)
diff --git a/components/calendar/src/astronomy.rs b/components/calendar/src/astronomy.rs index f77aca540e..abc6ebd3af 100644 --- a/components/calendar/src/astronomy.rs +++ b/components/calendar/src/astronomy.rs @@ -354,7 +354,6 @@ impl Astronomical { /// /// Based on functions from _Calendrical Calculations_ ...
4
43
51
d93f901319a7b370b7b19be6853935a9106aa981
Niels Saurer
2023-08-17T13:22:44
Transliterator data struct generation (#3824)
diff --git a/Cargo.lock b/Cargo.lock index a019272eed..47ef17b66b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1978,6 +1978,8 @@ dependencies = [ "icu_transliteration", "icu_unicodeset_parser", "log", + "zerofrom", + "zerovec", ] [[package]] diff --git a/experimental/transliterator_parser/Cargo.toml b/experim...
7
641
13
ccabea87527e334f734f0dacc44c8ef5e10877a4
Manish Goregaokar
2023-08-16T01:14:26
Fix panic in islamic UAQ date loading (#3873) * Add regression test for #3868 * Fix month_days for UAQ * Do not revalidate when constructing islamic dates
diff --git a/components/calendar/src/islamic.rs b/components/calendar/src/islamic.rs index 85d2a36a09..f099842a21 100644 --- a/components/calendar/src/islamic.rs +++ b/components/calendar/src/islamic.rs @@ -242,7 +242,11 @@ impl IslamicObservational { let month = div_rem_euclid(elapsed_months, 12).1 + 1; ...
1
47
13
a4ce51cea5f7c436c38fdaaaa942907740a8d670
Niels Saurer
2023-08-15T14:45:26
Add rule-group generation to transliterator compiler (#3822)
diff --git a/Cargo.toml b/Cargo.toml index 011f28ce1a..8e99a6e5fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,6 @@ members = [ "experimental/relativetime", "experimental/relativetime/data", "experimental/single_number_formatter", - "experimental/transliterator_parser", "experimental/tra...
5
432
38
1beba8c51127f69368cef2e1248843cf43a2a4b3
Robert Bastian
2023-08-14T21:48:30
Fixing casemap visibility issue (#3863)
diff --git a/components/casemap/data/data/macros/props_casemap_unfold_v1.data.rs b/components/casemap/data/data/macros/props_casemap_unfold_v1.data.rs index 43a68d30b0..b4048da180 100644 --- a/components/casemap/data/data/macros/props_casemap_unfold_v1.data.rs +++ b/components/casemap/data/data/macros/props_casemap_unf...
3
7
7
c5f5e0669b7f28683ca05881ed5c1cfb9f5985e0
Pedro Matos Villanueva
2023-08-12T00:42:22
Refactor Astronomy Functions for Variable Reusability (#3829)
diff --git a/components/calendar/src/astronomy.rs b/components/calendar/src/astronomy.rs index 0c7a6e6cef..f77aca540e 100644 --- a/components/calendar/src/astronomy.rs +++ b/components/calendar/src/astronomy.rs @@ -766,13 +766,13 @@ impl Astronomical { div_rem_euclid_f64(angle, 360.0).1 } - /// Latit...
3
121
68
83550ce5689beeffc38adccfe34c1f96c195856c
Seth Westphal
2023-08-11T03:48:44
Hebrew fixes (#3845)
diff --git a/components/calendar/src/hebrew.rs b/components/calendar/src/hebrew.rs index d17312ca8c..c69aab06a1 100644 --- a/components/calendar/src/hebrew.rs +++ b/components/calendar/src/hebrew.rs @@ -139,6 +139,7 @@ impl Calendar for Hebrew { "M09" => 10, "M10" => 11, ...
1
2
1
0c1b1068b56e2764c7a0b21c73200fe7470d4b49
Shane F. Carr
2023-08-11T00:17:30
Chinese calendar feedback from #3792 (#3844)
diff --git a/components/calendar/src/chinese_based.rs b/components/calendar/src/chinese_based.rs index 95d0e2cc56..afa17ea0a9 100644 --- a/components/calendar/src/chinese_based.rs +++ b/components/calendar/src/chinese_based.rs @@ -414,8 +414,7 @@ impl<C: ChineseBased + CalendarArithmetic> ChineseBasedDateInner<C> { ...
1
3
2
f516c9c384456ce5b93e894529c93981a4fba6bf
Manish Goregaokar
2023-08-10T17:26:32
Move hebrew month codes into get_month_code_map (#3841)
diff --git a/provider/datagen/src/transform/cldr/datetime/symbols.rs b/provider/datagen/src/transform/cldr/datetime/symbols.rs index 4c612e3e97..1943d58998 100644 --- a/provider/datagen/src/transform/cldr/datetime/symbols.rs +++ b/provider/datagen/src/transform/cldr/datetime/symbols.rs @@ -59,12 +59,29 @@ fn get_month_...
1
35
37
1a4a207ae10d97ee7281c84aabc9834ac0b3a0be
Niels Saurer
2023-08-10T15:42:25
coe point into scalar value (#3840)
diff --git a/utils/zerovec/src/ule/chars.rs b/utils/zerovec/src/ule/chars.rs index cc6d49e0c5..47a407957e 100644 --- a/utils/zerovec/src/ule/chars.rs +++ b/utils/zerovec/src/ule/chars.rs @@ -10,7 +10,7 @@ use crate::impl_ule_from_array; use core::cmp::Ordering; use core::convert::TryFrom; -/// A u8 array of little-...
1
2
2
b18da779d33344242e61cb855bb68fbefbbdc23b
Robert Bastian
2023-08-10T14:43:46
CI again (#3839)
diff --git a/components/casemap/Cargo.toml b/components/casemap/Cargo.toml index 641d7348e9..11ffcda919 100644 --- a/components/casemap/Cargo.toml +++ b/components/casemap/Cargo.toml @@ -61,11 +61,11 @@ icu = { path = "../../components/icu" } icu_normalizer = { path = "../../components/normalizer" } icu_benchmark_mac...
1
1
1
23ed88fd6f1aba56d996c1117ff05b7a81e2cf07
Niels Saurer
2023-08-10T06:30:13
Avoid allocations when parsing multi-escapes in UnicodeSets (#3728)
diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index 546263658a..586f8d8d6f 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -338,20 +338,27 @@ fn legal_char_in_string_start(c: char) -> bool { c != ...
1
147
78
b6b4236d0f4bdab595212e849efa579f0bd8faed
Andrew Cupps
2023-08-10T01:09:18
Add negative date testing for Indian (#3805)
diff --git a/components/calendar/src/indian.rs b/components/calendar/src/indian.rs index a44ef1b53c..478e7a8159 100644 --- a/components/calendar/src/indian.rs +++ b/components/calendar/src/indian.rs @@ -308,6 +308,7 @@ impl DateTime<Indian> { #[cfg(test)] mod tests { use super::*; + use crate::rata_die::RataD...
1
202
0
8ba2513f3763fee02defc79b34fb00476a92a07f
Manish Goregaokar
2023-08-10T01:08:34
Expand ZeroFrom to cover cases where attrs can borrow (#3770)
diff --git a/utils/zerofrom/derive/examples/zf_derive.rs b/utils/zerofrom/derive/examples/zf_derive.rs index 4f54c9464b..a1bde83733 100644 --- a/utils/zerofrom/derive/examples/zf_derive.rs +++ b/utils/zerofrom/derive/examples/zf_derive.rs @@ -86,4 +86,28 @@ pub enum CloningZF3<'data> { Cow(#[zerofrom(clone)] Cow<'...
3
171
22
ec7b4affcb14800889bcf1668190ef7fbfaed479
Andrew Cupps
2023-08-09T20:48:47
Create and use `ChineseBasedCache` (#3792)
diff --git a/components/calendar/src/chinese.rs b/components/calendar/src/chinese.rs index bbf9c37085..35272337d5 100644 --- a/components/calendar/src/chinese.rs +++ b/components/calendar/src/chinese.rs @@ -35,7 +35,7 @@ use crate::any_calendar::AnyCalendarKind; use crate::astronomy::Location; -use crate::calendar_...
3
243
127
658710b8b7c810122d39153f4e4f6b660109a9b8
Andrew Cupps
2023-08-09T19:52:20
Add conversion benches for Islamic calendars (#3823)
diff --git a/components/calendar/benches/convert.rs b/components/calendar/benches/convert.rs index 672be5240f..562cd2d4f0 100644 --- a/components/calendar/benches/convert.rs +++ b/components/calendar/benches/convert.rs @@ -68,6 +68,34 @@ fn convert_benches(c: &mut Criterion) { icu::calendar::gregorian::Gregori...
4
107
0
f549131a37c31123f1f46d27aab1794e8ac31e27
Pedro Matos Villanueva
2023-08-09T17:23:50
Fix Hebrew date_from_codes function to handle leap months (#3813)
diff --git a/components/calendar/src/hebrew.rs b/components/calendar/src/hebrew.rs index effe5fa091..d17312ca8c 100644 --- a/components/calendar/src/hebrew.rs +++ b/components/calendar/src/hebrew.rs @@ -111,19 +111,65 @@ impl Calendar for Hebrew { fn date_from_codes( &self, - _era: types::Era, - ...
1
58
12
57e9d59ec7396f5545e2f0e2ebfc608b48470a4c
Andrew Cupps
2023-08-09T01:53:26
Resolve follow-up comments to #3760 (#3818) * Docs for `U` and `r` * Delete empty test and add todo * Remove old code and empty era check * Add todo
diff --git a/components/datetime/src/fields/symbols.rs b/components/datetime/src/fields/symbols.rs index b505e59622..c1f59058f1 100644 --- a/components/datetime/src/fields/symbols.rs +++ b/components/datetime/src/fields/symbols.rs @@ -448,9 +448,9 @@ field_type! ( /// /// This works for “week of year”...
5
4
11
c8c91262f29f02bde9fd181af6041a2fc9fa7523
Robert Bastian
2023-08-07T21:40:23
Disabling criterion dev-dependency when targeting wasm (#3806)
diff --git a/components/calendar/Cargo.toml b/components/calendar/Cargo.toml index 3f2ac24efc..5a6aaccb4c 100644 --- a/components/calendar/Cargo.toml +++ b/components/calendar/Cargo.toml @@ -45,12 +45,15 @@ icu_locid_transform = { version = "1.2.0", path = "../../components/locid_transf libm = { version = "0.2", defau...
19
56
16
24ed217f5951a620ea918401a60b5d0b3e410f4f
Pedro Matos Villanueva
2023-08-07T21:14:46
Implement Hebrew Calendars (#3744)
diff --git a/components/calendar/src/calendar_arithmetic.rs b/components/calendar/src/calendar_arithmetic.rs index 039a9c7810..b4413289dd 100644 --- a/components/calendar/src/calendar_arithmetic.rs +++ b/components/calendar/src/calendar_arithmetic.rs @@ -281,7 +281,6 @@ impl<C: CalendarArithmetic> ArithmeticDate<C> { ...
4
1,299
1
ec7df8ea7b9af46ee4d27b4c2e16f3227279327d
Robert Bastian
2023-08-07T15:43:39
Setting `CompactDecimalPatternDataV1` extension (#3785)
diff --git a/experimental/compactdecimal/src/provider.rs b/experimental/compactdecimal/src/provider.rs index 3fa2695c1f..ba54d2b7ee 100644 --- a/experimental/compactdecimal/src/provider.rs +++ b/experimental/compactdecimal/src/provider.rs @@ -54,8 +54,16 @@ const _: () = { /// Finally, the pattern indicating noncompac...
1
10
2
1a42eb23716f62b2aa1abbd552f418122d9462c5
Niels Saurer
2023-08-04T09:05:03
Update UnicodeSet `parse` docs (Script Extensions support) (#3778)
diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index f1bd73e3fd..5871f19781 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -1291,7 +1291,7 @@ where /// /// # Limitations /// -/// * Currently, we onl...
1
1
1
3d58ca6cca3fe8f45536673c84b8c8f03e984403
Shane F. Carr
2023-08-04T09:04:27
Minor improvements to LocaleFallbacker test coverage + formatting (#3783)
diff --git a/components/locid_transform/src/fallback/algorithms.rs b/components/locid_transform/src/fallback/algorithms.rs index c35bb251d9..bc20b890bb 100644 --- a/components/locid_transform/src/fallback/algorithms.rs +++ b/components/locid_transform/src/fallback/algorithms.rs @@ -314,6 +314,14 @@ mod tests { ...
2
37
9
35e164fbcae7f6f9c3befc407749dddf7b8bf1a0
Shane F. Carr
2023-08-04T09:04:07
Update tutorials lockfile with once_cell (#3782)
diff --git a/docs/tutorials/Cargo.lock b/docs/tutorials/Cargo.lock index 3b501eb220..ab15bce45d 100644 --- a/docs/tutorials/Cargo.lock +++ b/docs/tutorials/Cargo.lock @@ -764,7 +764,7 @@ name = "icu_codepointtrie_builder" version = "0.3.5" dependencies = [ "icu_collections", - "lazy_static", + "once_cell", "toml"...
1
2
2
d6a9d8567594d455ff993eb791ed6e790e0c55e2
Manish Goregaokar
2023-08-03T23:54:45
Use once_cell instead of lazy_static (#3781)
diff --git a/Cargo.lock b/Cargo.lock index c3f385609e..170caf849b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1367,7 +1367,7 @@ version = "0.3.5" dependencies = [ "icu", "icu_collections", - "lazy_static", + "once_cell", "toml", "wasmer", "wasmer-wasi", @@ -1478,10 +1478,10 @@ dependencies = [ "icu_segmen...
10
88
69
db870aefecab1de4ce11617d83b9ff372bcb053f
Shane F. Carr
2023-08-03T16:16:15
Fix LocaleExpander::try_new_with_any_provider (#3769)
diff --git a/components/locid_transform/src/expander.rs b/components/locid_transform/src/expander.rs index 055083ab85..500152c52f 100644 --- a/components/locid_transform/src/expander.rs +++ b/components/locid_transform/src/expander.rs @@ -317,6 +317,7 @@ impl LocaleExpander { let (likely_subtags_l, likely_su...
1
18
0
7d4eefdf15cd35012d8b527da57a25f4c4d6b2be
Shane F. Carr
2023-08-03T16:16:01
Datagen internals: Add cldr_serde::LocaleResource to unify parsing of locale JSON (#3768)
diff --git a/provider/core/src/error.rs b/provider/core/src/error.rs index e740f87aa9..09636a2c56 100644 --- a/provider/core/src/error.rs +++ b/provider/core/src/error.rs @@ -198,6 +198,10 @@ impl DataError { /// Sets the string context of a DataError to the given type name, returning a modified error. #[inli...
26
156
192
67d285ba4f8efc1be94d60bc8dfa38ccb24f5040
Manish Goregaokar
2023-08-03T14:30:57
Make datagen datetime symbols code generic, add monthPatterns parsing (#3767)
diff --git a/provider/datagen/src/transform/cldr/cldr_serde/ca.rs b/provider/datagen/src/transform/cldr/cldr_serde/ca.rs index d1c3bf4adb..5de98a262a 100644 --- a/provider/datagen/src/transform/cldr/cldr_serde/ca.rs +++ b/provider/datagen/src/transform/cldr/cldr_serde/ca.rs @@ -14,69 +14,56 @@ use serde::Deserialize; ...
2
70
76
029788a2481ea6553348255c090e671564a11c97
Andrew Cupps
2023-08-01T07:02:10
Fix Julian calendar behavior with negative RDs (#3751)
diff --git a/components/calendar/src/helpers.rs b/components/calendar/src/helpers.rs index ea0ec65d53..648f7d760b 100644 --- a/components/calendar/src/helpers.rs +++ b/components/calendar/src/helpers.rs @@ -11,7 +11,7 @@ use crate::{ /// Calculate `(n / d, n % d)` such that the remainder is always positive. /// /// ...
2
275
39
573f3a623ef094f31625e968bc6958665a52aa0d
Andrew Cupps
2023-08-01T02:15:47
Add and improve docs for astronomy.rs (#3667)
diff --git a/components/calendar/src/astronomy.rs b/components/calendar/src/astronomy.rs index cc7c677d16..e8d1d2affc 100644 --- a/components/calendar/src/astronomy.rs +++ b/components/calendar/src/astronomy.rs @@ -20,17 +20,17 @@ use crate::types::Moment; use crate::{Date, Gregorian}; #[derive(Debug, Copy, Clone, ...
2
271
64
bf12228b4fcfb175d2283e670e9d3334e6f4eef3
Manish Goregaokar
2023-07-27T04:04:18
Add max_combination_size to some crates (#3745) * Add max_combination_size to some crates * Pare down datagen * syntax * fix * move use_wasm back
diff --git a/provider/core/Cargo.toml b/provider/core/Cargo.toml index 382b513ff8..f9d3a6f2e1 100644 --- a/provider/core/Cargo.toml +++ b/provider/core/Cargo.toml @@ -61,7 +61,6 @@ icu_provider_adapters = { path = "../../provider/adapters" } std = ["icu_locid/std"] sync = [] macros = ["dep:icu_provider_macros"] - #...
5
27
3
f3b8e226d97f38c72f7155e0c6c1d01c8c510830
Pedro Matos Villanueva
2023-07-27T01:37:43
Test the days in a month and year for the Observational Islamic Calendars (#3732)
diff --git a/components/calendar/src/astronomy.rs b/components/calendar/src/astronomy.rs index 59f7f267d0..77c85b954f 100644 --- a/components/calendar/src/astronomy.rs +++ b/components/calendar/src/astronomy.rs @@ -681,27 +681,30 @@ impl Astronomical { } pub fn phasis_on_or_after(date: RataDie, location: Lo...
2
70
31
bc0fc6a8397796018ece763ee84781c3d20faec8
Manish Goregaokar
2023-07-26T22:43:01
Add KindaSortaDangling internal type to make Yoke safe under strong protection (#3735)
diff --git a/components/datetime/src/lib.rs b/components/datetime/src/lib.rs index ba29510f58..80b4f3f9ce 100644 --- a/components/datetime/src/lib.rs +++ b/components/datetime/src/lib.rs @@ -204,35 +204,38 @@ mod tests { #[test] fn check_sizes() { - check_size_of!(5800 | 4592, DateFormatter); - ...
5
161
36
86c5c0775c24d1f2a08f305bf0ff8ef566e77716
Niels Saurer
2023-07-25T12:50:08
Allocation-free hex escape parsing in UnicodeSet parsing (#3725)
diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index ee5773bd09..f1bd73e3fd 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -255,7 +255,7 @@ impl<'a> VariableMap<'a> { pub fn insert_char(&mut self,...
1
45
74
d775654bbccbc8d9d9033b31fb7f3ab0e146e81a
Shane F. Carr
2023-07-25T01:53:26
Add another FixedDecimal test case (#3656)
diff --git a/utils/fixed_decimal/src/decimal.rs b/utils/fixed_decimal/src/decimal.rs index 67b38a3463..128d3e2061 100644 --- a/utils/fixed_decimal/src/decimal.rs +++ b/utils/fixed_decimal/src/decimal.rs @@ -3332,7 +3332,7 @@ fn test_rounding() { dec.half_expand(-1); assert_eq!("-0.0", dec.to_string()); - ...
1
5
1
760a0309602b80eeb7041d6d7b94d7fc20a240be
Pedro Matos Villanueva
2023-07-24T23:48:54
Add Tabular Islamic Calendar (#3733)
diff --git a/components/calendar/src/islamic.rs b/components/calendar/src/islamic.rs index 6f9c8c2a08..8280994444 100644 --- a/components/calendar/src/islamic.rs +++ b/components/calendar/src/islamic.rs @@ -57,7 +57,7 @@ pub struct IslamicTabular; // Different islamic calendars use different epochs (Thursday vs Friday...
1
451
2
f6e397b570c4e329bc814ea724785ae09e28595b
Niels Saurer
2023-07-24T20:11:48
Add `get` and `insert` methods to the UnicodeSet VariableMap (#3731)
diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index 815f9614b2..ee5773bd09 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -221,6 +221,34 @@ impl<'a> VariableMap<'a> { self.0.remove(key) ...
1
28
0
7773ab6d715a1917a7c05f22c2be739791b2f281
Niels Saurer
2023-07-24T15:08:31
Return consumed bytes when parsing UnicodeSets (#3724)
diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index bde8ea6759..815f9614b2 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -68,7 +68,7 @@ impl From<ParseErrorKind> for ParseError { /// /// See [`Pars...
1
72
21
ac988fd3eadc4949ebca8925f3e4426ee3ac2e19
Ting-Yu Lin
2023-07-22T15:01:33
Use let-else to simplify segmenter (#3721) MSRV has been bumped up to 1.65 in #3680.
diff --git a/components/segmenter/src/line.rs b/components/segmenter/src/line.rs index 818ca61a2d..67762452b6 100644 --- a/components/segmenter/src/line.rs +++ b/components/segmenter/src/line.rs @@ -870,11 +870,7 @@ impl<'l, 's, Y: LineBreakType<'l, 's>> Iterator for LineBreakIterator<'l, 's, Y> let mut le...
2
4
20
105e7ec18db1d2423f9658e8673c8097952cb879
Robert Bastian
2023-07-21T15:16:24
Adding blob tests (#3719)
diff --git a/provider/blob/src/blob_data_provider.rs b/provider/blob/src/blob_data_provider.rs index f12210c06d..3c3f9914e9 100644 --- a/provider/blob/src/blob_data_provider.rs +++ b/provider/blob/src/blob_data_provider.rs @@ -136,3 +136,79 @@ impl BufferProvider for BlobDataProvider { }) } } + +#[cfg(te...
2
77
1
50b95d728c28142bd20804894fc9abf97b4c30bb
Robert Bastian
2023-07-21T14:21:22
Add note to transient zero-copy violations (#3717)
diff --git a/provider/datagen/tests/make-testdata.rs b/provider/datagen/tests/make-testdata.rs index 2ddb6ed4a7..68645c1d13 100644 --- a/provider/datagen/tests/make-testdata.rs +++ b/provider/datagen/tests/make-testdata.rs @@ -78,7 +78,7 @@ struct PostcardTestingExporter { // // Such types contain some data that was ...
1
4
2
db9301cc5c303336c2bc57402962dc23a6d86bcb
Eero Ränik
2023-07-20T20:29:59
Fix an issue where uppercase Cherokee syllables were erroneously case folded to lowercase forms (#3383)
diff --git a/experimental/casemap/src/casemapper.rs b/experimental/casemap/src/casemapper.rs index 712a229045..25324b64d0 100644 --- a/experimental/casemap/src/casemapper.rs +++ b/experimental/casemap/src/casemapper.rs @@ -687,4 +687,17 @@ mod tests { assert_eq!(cm.uppercase_to_string("i", &tr), "İ"); ...
2
18
3
c53523a150645c1eb376589333cf76641e039f0b
Robert Bastian
2023-07-20T17:08:38
#3682 followup (#3714)
diff --git a/provider/adapters/src/fork/by_error.rs b/provider/adapters/src/fork/by_error.rs index 2cde1aaaf7..5d25ce2072 100644 --- a/provider/adapters/src/fork/by_error.rs +++ b/provider/adapters/src/fork/by_error.rs @@ -174,7 +174,7 @@ where key: DataKey, req: DataRequest, ) -> Result<DataResp...
3
14
10
f000c3504f29441687685f86590585e745536a03
Manish Goregaokar
2023-07-20T16:27:27
Casemapping review nits (#3708)
diff --git a/experimental/casemap/Cargo.toml b/experimental/casemap/Cargo.toml index 1005690ab1..774db5f2b6 100644 --- a/experimental/casemap/Cargo.toml +++ b/experimental/casemap/Cargo.toml @@ -46,6 +46,7 @@ icu_casemap_data = { version = "~1.3.0", path = "data", optional = true } [features] default = ["compiled_dat...
3
69
61
2075d9ed4a75efefe027f894e728f76192249720
Robert Bastian
2023-07-20T13:53:35
Correct error types for `icu_provider_fs` (#3682)
diff --git a/provider/adapters/src/fork/by_error.rs b/provider/adapters/src/fork/by_error.rs index aae9967619..2cde1aaaf7 100644 --- a/provider/adapters/src/fork/by_error.rs +++ b/provider/adapters/src/fork/by_error.rs @@ -234,7 +234,7 @@ where F: ForkByErrorPredicate, { fn supported_locales_for_key(&self, k...
5
51
22
5ec6fc9ff5fda844843b0d4ab5a8ad4da7fdd9d5
Robert Bastian
2023-07-20T13:53:13
Soundness nits (#3638)
diff --git a/provider/blob/src/blob_schema.rs b/provider/blob/src/blob_schema.rs index 54e15630a4..0972206b66 100644 --- a/provider/blob/src/blob_schema.rs +++ b/provider/blob/src/blob_schema.rs @@ -127,5 +127,5 @@ impl<'a> ZeroMapKV<'a> for Index32U8 { impl Index32U8 { #[allow(dead_code)] - pub(crate) const...
5
12
10
04733bcca6d8622b1d2d271e09f0e23e53380afc
Robert Bastian
2023-07-20T13:52:55
`no_std` for `icu_harfbuzz` (#3637)
diff --git a/experimental/harfbuzz/Cargo.toml b/experimental/harfbuzz/Cargo.toml index 97f1a5c63a..2c20a8acd8 100644 --- a/experimental/harfbuzz/Cargo.toml +++ b/experimental/harfbuzz/Cargo.toml @@ -54,6 +54,5 @@ harfbuzz = { version = "0.4.0" } [features] default = [] compiled_data = ["icu_normalizer/compiled_data"...
2
3
6
64fc82220ba2d943d113bf004d8ebdffe6ce108b
Niels Saurer
2023-07-20T08:28:44
Update Tutorial's Cargo.lock (#3712)
diff --git a/docs/tutorials/Cargo.lock b/docs/tutorials/Cargo.lock index c8db56f458..bc1368bb09 100644 --- a/docs/tutorials/Cargo.lock +++ b/docs/tutorials/Cargo.lock @@ -744,7 +744,6 @@ version = "1.3.0" name = "icu_casemap" version = "0.7.2" dependencies = [ - "databake", "displaydoc", "icu_casemap_data", "i...
1
0
23
61e022b51633288c56aafdb4f4ca8797c5fedc4b
Manish Goregaokar
2023-07-19T22:15:31
Fix FZS stacked borrow error (needs Rust 1.64) (#3513)
diff --git a/utils/zerovec/src/flexzerovec/slice.rs b/utils/zerovec/src/flexzerovec/slice.rs index 1499c2e032..41cb7116f9 100644 --- a/utils/zerovec/src/flexzerovec/slice.rs +++ b/utils/zerovec/src/flexzerovec/slice.rs @@ -134,18 +134,18 @@ impl FlexZeroSlice { // equal to the length of the `data` field, which...
2
8
9
3b23abe30a8229787e16d60c56a2f8f0fb358380
Andrew Cupps
2023-07-19T20:43:39
Chinese calendar follow-up (#3662)
diff --git a/components/calendar/src/astronomy.rs b/components/calendar/src/astronomy.rs index 594aacc6b7..dd1451007b 100644 --- a/components/calendar/src/astronomy.rs +++ b/components/calendar/src/astronomy.rs @@ -56,6 +56,9 @@ pub(crate) const MIN_UTC_OFFSET: f64 = -0.5; /// The maximum allowable UTC offset (+14 hou...
5
175
25
783ac3d87bc2397ed838b4798d0402aeb6eaaf03
Robert Bastian
2023-07-19T09:35:27
Fix a bug in `baked_exporter` (#3700)
diff --git a/provider/blob/src/blob_schema.rs b/provider/blob/src/blob_schema.rs index d35b99e639..54e15630a4 100644 --- a/provider/blob/src/blob_schema.rs +++ b/provider/blob/src/blob_schema.rs @@ -126,5 +126,6 @@ impl<'a> ZeroMapKV<'a> for Index32U8 { } impl Index32U8 { + #[allow(dead_code)] pub(crate) co...
2
2
1
52105a3825cd30acdc20e9b26bac059217b57ea7
Robert Bastian
2023-07-17T16:01:39
Warn for `--locales all` (#3691)
diff --git a/provider/datagen/src/bin/datagen/args.rs b/provider/datagen/src/bin/datagen/args.rs index c0d56251fd..3da09528b1 100644 --- a/provider/datagen/src/bin/datagen/args.rs +++ b/provider/datagen/src/bin/datagen/args.rs @@ -334,6 +334,9 @@ impl Cli { { config::LocaleInclude::CldrSet(locale_...
1
3
0
244795ef94cde3a9b5a8ba66649fa0b2f2e34136
Manish Goregaokar
2023-07-17T14:57:03
Use UnvalidatedStr for casemap unfold keys (#3690)
diff --git a/experimental/casemap/src/provider/unfold.rs b/experimental/casemap/src/provider/unfold.rs index 2e84f6ab37..941a1bf67d 100644 --- a/experimental/casemap/src/provider/unfold.rs +++ b/experimental/casemap/src/provider/unfold.rs @@ -7,6 +7,7 @@ #[cfg(feature = "datagen")] use alloc::string::String; use icu...
1
7
3
18c3835d2d0aac157919e2d1910dbd6e2d3d9fc1
Robert Bastian
2023-07-17T12:00:21
Add `logging` feature and expose in `icu` crate (#3648)
diff --git a/components/icu/Cargo.toml b/components/icu/Cargo.toml index df8b5a455f..1745f62b09 100644 --- a/components/icu/Cargo.toml +++ b/components/icu/Cargo.toml @@ -49,7 +49,7 @@ icu_compactdecimal = { version = "0.2.0", path = "../../experimental/compactdeci icu_displaynames = { version = "0.10.0", path = "../....
5
21
17
e09f58deb647fa9a751f35aa052ee535071b46e1
Frank Steffahn
2023-07-14T20:17:46
Make `impl<...> Debug for Yoke<...>` implementation sound (#3686)
diff --git a/utils/yoke/src/yoke.rs b/utils/yoke/src/yoke.rs index a17496fa0a..e09a12edb2 100644 --- a/utils/yoke/src/yoke.rs +++ b/utils/yoke/src/yoke.rs @@ -74,7 +74,6 @@ use alloc::sync::Arc; /// assert_eq!(&**yoke.get(), "hello"); /// assert!(matches!(yoke.get(), &Cow::Borrowed(_))); /// ``` -#[derive(Debug)] p...
1
26
1
ca9eee52a6e8cf4c3bc93555294a05c3289dad53
Andrew Cupps
2023-07-14T07:40:17
Add negative num tests for Buddhist (#3652)
diff --git a/components/calendar/src/buddhist.rs b/components/calendar/src/buddhist.rs index a9af5679f1..46fc775d3f 100644 --- a/components/calendar/src/buddhist.rs +++ b/components/calendar/src/buddhist.rs @@ -220,3 +220,259 @@ fn iso_year_as_buddhist(year: i32) -> types::FormattableYear { related_iso: None, ...
1
256
0
da9df278843b3eca59be2c65577541af94575040
Robert Bastian
2023-07-11T11:17:29
Making datagen registry features-compatible (#3660)
diff --git a/provider/core/src/datagen/mod.rs b/provider/core/src/datagen/mod.rs index b176b3b0ec..c5451c0b32 100644 --- a/provider/core/src/datagen/mod.rs +++ b/provider/core/src/datagen/mod.rs @@ -105,28 +105,24 @@ impl<T> ExportableProvider for T where T: IterableDynamicDataProvider<ExportMark /// [`BakedDataProvid...
8
372
314
7465509d31268d0283dafccaae20408d0ef35d38
Manish Goregaokar
2023-07-10T20:58:26
Deserialization for VarZeroVec<VarZeroSlice>, take 2 (#3649) * Revert "Support Deserialization for `VarZeroVec<VarZeroSlice>` (#3643)" This reverts commit b2a1b794f3f45a9b95a1709f6f85c56261523994. * More succinct deserialize impl for Box<VZS>
diff --git a/utils/zerovec/src/varzerovec/serde.rs b/utils/zerovec/src/varzerovec/serde.rs index ece4c37cc9..8025fc085b 100644 --- a/utils/zerovec/src/varzerovec/serde.rs +++ b/utils/zerovec/src/varzerovec/serde.rs @@ -25,32 +25,6 @@ impl<T: ?Sized, F: VarZeroVecFormat> Default for VarZeroVecVisitor<T, F> { } } ...
1
18
98
d1cc1a627408fb8e162961a79d9021f49234723a
Shane F. Carr
2023-07-07T13:44:21
Fix FixedDecimal rounding bug; add more tests (#3644)
diff --git a/utils/fixed_decimal/src/decimal.rs b/utils/fixed_decimal/src/decimal.rs index 0fadc7f5b0..67b38a3463 100644 --- a/utils/fixed_decimal/src/decimal.rs +++ b/utils/fixed_decimal/src/decimal.rs @@ -934,63 +934,6 @@ impl FixedDecimal { self.check_invariants(); } - /// Increments the digits by...
2
426
74
b2a1b794f3f45a9b95a1709f6f85c56261523994
Niels Saurer
2023-07-07T12:25:44
Support Deserialization for `VarZeroVec<VarZeroSlice>` (#3643)
diff --git a/utils/zerovec/src/varzerovec/serde.rs b/utils/zerovec/src/varzerovec/serde.rs index 649b29cfb2..ece4c37cc9 100644 --- a/utils/zerovec/src/varzerovec/serde.rs +++ b/utils/zerovec/src/varzerovec/serde.rs @@ -25,6 +25,32 @@ impl<T: ?Sized, F: VarZeroVecFormat> Default for VarZeroVecVisitor<T, F> { } } ...
1
113
11
0f57d72b0d0075bbac7db8d61cdddfc06b52abea
Shane F. Carr
2023-07-06T13:05:11
Add ExportableDataPayload::eq_dyn (#3639)
diff --git a/components/calendar/src/provider.rs b/components/calendar/src/provider.rs index c4c58a6e39..268834425a 100644 --- a/components/calendar/src/provider.rs +++ b/components/calendar/src/provider.rs @@ -119,7 +119,7 @@ impl FromStr for EraStartDate { "datetime/week_data@1", fallback_by = "region" ))]...
5
94
11
0ff9854525b1c2c78d5a51091e367e80bc1cdd07
Niels Saurer
2023-07-05T21:56:03
Fix MultiFieldsULE (#3642)
diff --git a/utils/zerovec/derive/examples/make_var.rs b/utils/zerovec/derive/examples/make_var.rs index 0c9a2a7f70..47e1418cdb 100644 --- a/utils/zerovec/derive/examples/make_var.rs +++ b/utils/zerovec/derive/examples/make_var.rs @@ -59,6 +59,20 @@ struct MultiFieldStruct<'a> { f: char, } +#[make_varule(MultiF...
2
32
3
5a93aa1a46450c21f385fdfa66408d94e52e3e69
Niels Saurer
2023-07-05T15:52:45
Add GeneralCategoryGroup support to UnicodeSet parsing (#3634) * add tests * add gcg support * fmt * quick * remove comments
diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index 6706d326f3..57be32e073 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -9,11 +9,11 @@ use icu_collections::{ codepointinvlist::{CodePointInversi...
1
17
10
9fc965ed710c89020914c3f9a6383b86b6227efb
Niels Saurer
2023-07-05T12:56:00
Prepare `CodePointInversionList[AndStringList]` for use in Transliteration (#3623)
diff --git a/components/collections/Cargo.toml b/components/collections/Cargo.toml index f3edfa2a44..4067ad6246 100644 --- a/components/collections/Cargo.toml +++ b/components/collections/Cargo.toml @@ -32,7 +32,7 @@ all-features = true displaydoc = { version = "0.2.3", default-features = false } yoke = { version = "...
4
15
2
29c67f8f9b0363d858eb69366b3fed7a95c2b052
Shane F. Carr
2023-07-04T18:58:03
Clarify meaning of "canonicalization" in Locale docs (#3589)
diff --git a/components/locid/src/locale.rs b/components/locid/src/locale.rs index 1dabff86db..72dc999ad3 100644 --- a/components/locid/src/locale.rs +++ b/components/locid/src/locale.rs @@ -57,7 +57,8 @@ use writeable::Writeable; /// `_` separators to `-` and adjusting casing to conform to the Unicode standard. /// ...
1
2
1
092d8289b661c192562e4a6875ad7701f06374f8
Robert Bastian
2023-07-03T17:08:58
Baked data for `icu_harfbuzz` (#3618)
diff --git a/experimental/harfbuzz/Cargo.toml b/experimental/harfbuzz/Cargo.toml index c53bec1cd2..7f8a865d7f 100644 --- a/experimental/harfbuzz/Cargo.toml +++ b/experimental/harfbuzz/Cargo.toml @@ -42,8 +42,8 @@ denylist = ["bench", "serde", "logging"] [dependencies] harfbuzz-sys = { version = "0.5.0" } -icu_norma...
2
52
49
2d43a550286faf5aa1717dd32c54256249d67459
Manish Goregaokar
2023-06-30T23:09:26
Update proc-macro2 locked library (#3606)
diff --git a/Cargo.lock b/Cargo.lock index 95b74da544..8940a55608 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2665,9 +2665,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.56" +version = "1.0.63" source = "registry+https://github.c...
1
2
2
6953e42f12a57172ea7be3c9f07ad1cf617ad4de
Robert Bastian
2023-06-30T12:12:12
Setting data crate versions (#3601)
diff --git a/Cargo.lock b/Cargo.lock index e7a46674b1..7e5acd68fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1383,7 +1383,7 @@ dependencies = [ [[package]] name = "icu_calendar_data" -version = "0.0.0" +version = "1.3.0" [[package]] name = "icu_capi" @@ -1453,7 +1453,7 @@ dependencies = [ [[package]] name...
31
55
55
0d4ddf8187698f87ba830db43a9f0434a425f960
Robert Bastian
2023-06-28T16:50:00
fallback (#3594)
diff --git a/components/locid_transform/src/fallback/algorithms.rs b/components/locid_transform/src/fallback/algorithms.rs index 09ffc705ab..2baffa9461 100644 --- a/components/locid_transform/src/fallback/algorithms.rs +++ b/components/locid_transform/src/fallback/algorithms.rs @@ -142,6 +142,7 @@ impl<'a> LocaleFallba...
2
12
3
d30e5218975100bd93199d7ba5ebdb132c7d294a
Manish Goregaokar
2023-06-28T15:21:04
Add titlecase_segment and dutch titlecasing support (#3593)
diff --git a/experimental/casemapping/src/casemapping.rs b/experimental/casemapping/src/casemapping.rs index c5ae97995a..e284e138ba 100644 --- a/experimental/casemapping/src/casemapping.rs +++ b/experimental/casemapping/src/casemapping.rs @@ -87,7 +87,7 @@ impl CaseMapping { src: &'a str, langid: &Lan...
3
306
60
79462e04dfadec79a4ad22826698bbfebdf58dc9
Shane F. Carr
2023-06-28T14:26:15
Update Persian to use new ArithmeticDate functions (#3592)
diff --git a/components/calendar/src/persian.rs b/components/calendar/src/persian.rs index fb3e8578ca..b3074094f1 100644 --- a/components/calendar/src/persian.rs +++ b/components/calendar/src/persian.rs @@ -37,16 +37,11 @@ use crate::julian::Julian; use crate::rata_die::RataDie; use crate::{types, Calendar, CalendarE...
1
13
52
c0ee60a8dff13a26976cb3030ff81d0beb641c58
Shane F. Carr
2023-06-28T12:31:34
Create new_from_solar_codes and use it (#3543)
diff --git a/components/calendar/src/buddhist.rs b/components/calendar/src/buddhist.rs index 8b44473704..a9af5679f1 100644 --- a/components/calendar/src/buddhist.rs +++ b/components/calendar/src/buddhist.rs @@ -75,7 +75,7 @@ impl Calendar for Buddhist { } let year = year - BUDDHIST_ERA_OFFSET; - ...
8
78
115
03e4e31ab2d301ea20a025e7adc91fd90d414345
Andrew Cupps
2023-06-28T09:08:57
Add cyclic year to `FormattableYear` (#3581)
diff --git a/components/calendar/src/buddhist.rs b/components/calendar/src/buddhist.rs index 0b30910492..8b44473704 100644 --- a/components/calendar/src/buddhist.rs +++ b/components/calendar/src/buddhist.rs @@ -216,6 +216,7 @@ fn iso_year_as_buddhist(year: i32) -> types::FormattableYear { types::FormattableYear { ...
10
23
5
e560855f7eb84444eab7e04de0d363f8e6ff7d7f
Manish Goregaokar
2023-06-27T17:34:12
Casemapping API fixes (renaming methods, changing language parameter, docs, tests) (#3584) * Rename to_foocase() -> to_simple_foocase() * Rename fold() -> simple_fol() * Move simple mapping/folding to the end * to_full_() -> to_() * move language parameter to individual methods * docs for language param...
diff --git a/experimental/casemapping/src/casemapping.rs b/experimental/casemapping/src/casemapping.rs index 2180a5f40c..c5ae97995a 100644 --- a/experimental/casemapping/src/casemapping.rs +++ b/experimental/casemapping/src/casemapping.rs @@ -7,7 +7,7 @@ use crate::provider::data::MappingKind; use crate::provider::Cas...
3
347
378
d52ff21d94572d37679e90707f6213cc5aee5ced
Manish Goregaokar
2023-06-27T14:30:30
Add tests for SpecialCasing.txt (#3583)
diff --git a/experimental/casemapping/src/casemapping.rs b/experimental/casemapping/src/casemapping.rs index fe76627c3b..2180a5f40c 100644 --- a/experimental/casemapping/src/casemapping.rs +++ b/experimental/casemapping/src/casemapping.rs @@ -498,3 +498,119 @@ impl CaseMapping { self.data.get().add_string_case...
1
116
0
8336bca5a87291a7aa6267a755906c92c284691b
Manish Goregaokar
2023-06-27T08:14:04
Add support for custom varule fields in #[make_varule] (#3580)
diff --git a/utils/zerovec/derive/examples/make_var.rs b/utils/zerovec/derive/examples/make_var.rs index 7dedfd3e9b..0c9a2a7f70 100644 --- a/utils/zerovec/derive/examples/make_var.rs +++ b/utils/zerovec/derive/examples/make_var.rs @@ -59,6 +59,16 @@ struct MultiFieldStruct<'a> { f: char, } +#[make_varule(Custom...
4
82
16
67ccd5e9d8a068991b39e781d0cf149f5e348ed3
Robert Bastian
2023-06-24T10:16:58
Returning correct locale errors in datagen (#3578)
diff --git a/provider/datagen/src/transform/cldr/calendar/japanese.rs b/provider/datagen/src/transform/cldr/calendar/japanese.rs index 7451926474..086b6c96a5 100644 --- a/provider/datagen/src/transform/cldr/calendar/japanese.rs +++ b/provider/datagen/src/transform/cldr/calendar/japanese.rs @@ -118,7 +118,8 @@ impl crat...
31
128
36
8b30bb1642efd720caf7457a4826bbacc2ecd970
Robert Bastian
2023-06-23T12:31:55
Returning `ExtraneousLocale` in `BlobDataProvider` (#3562)
diff --git a/provider/blob/src/blob_schema.rs b/provider/blob/src/blob_schema.rs index 3c98f58d56..d35b99e639 100644 --- a/provider/blob/src/blob_schema.rs +++ b/provider/blob/src/blob_schema.rs @@ -59,6 +59,9 @@ impl<'data> BlobSchemaV1<'data> { .get0(&key.hashed()) .ok_or(DataErrorKind::Miss...
5
9
42
6fd55caea0faee3fa6e080d142abc2fbdeb71521
Robert Bastian
2023-06-22T14:40:18
Baked data for `icu_relativetime` (#3567)
diff --git a/Cargo.lock b/Cargo.lock index ad7fb232bc..d0cf3cb557 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1965,9 +1965,10 @@ dependencies = [ "fixed_decimal", "icu", "icu_decimal", + "icu_locid_transform", "icu_plurals", "icu_provider", - "icu_testdata", + "icu_relativetime_data", "serde", "writeable...
5
219
68
5e63a350690228ada1518bbb0c413a00ad4a913e
Robert Bastian
2023-06-22T14:40:06
Baked data for `icu_displaynames` (#3566)
diff --git a/Cargo.lock b/Cargo.lock index 5278d61c0d..ad7fb232bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1664,9 +1664,10 @@ version = "0.10.0" dependencies = [ "databake", "icu_collections", + "icu_displaynames_data", "icu_locid", + "icu_locid_transform", "icu_provider", - "icu_testdata", "serde", "t...
5
101
100
9d8a2d209b45cf8d446c1ce0a83443ae7b971812
Robert Bastian
2023-06-22T13:32:41
Baked data for `icu_compactdecimal` (#3568)
diff --git a/Cargo.lock b/Cargo.lock index b49d1dc223..5278d61c0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1523,11 +1523,12 @@ dependencies = [ "databake", "displaydoc", "fixed_decimal", + "icu_compactdecimal_data", "icu_decimal", "icu_locid", + "icu_locid_transform", "icu_plurals", "icu_provider", - ...
4
111
76
f43d9f63e44f35383cd690166a9760d3fd70239b
Robert Bastian
2023-06-21T17:34:41
Fix empty keys in `BlobDataProvider` (#3551)
diff --git a/provider/blob/src/blob_schema.rs b/provider/blob/src/blob_schema.rs index d104b76913..3c98f58d56 100644 --- a/provider/blob/src/blob_schema.rs +++ b/provider/blob/src/blob_schema.rs @@ -80,8 +80,8 @@ impl<'data> BlobSchemaV1<'data> { let mut seen_min = false; let mut seen_max = false; ...
2
23
4
09ad8b7dd898d5023c6eda35cf65e3357b4debc1
Robert Bastian
2023-06-21T10:03:50
Feature fixes (#3554)
diff --git a/components/collator/Cargo.toml b/components/collator/Cargo.toml index 8965515053..0f8fa63c1d 100644 --- a/components/collator/Cargo.toml +++ b/components/collator/Cargo.toml @@ -47,7 +47,7 @@ serde = { version = "1.0", default-features = false, features = ["derive", "allo arraystring = "0.3.0" atoi = "1....
13
12
13
244a4990b329f9b8cd5678bb8affe71ce0238b16
Manish Goregaokar
2023-06-16T09:37:22
More casemapping fixes (#3544) * Add Writeable methods * Proper docs for ExceptionBitsULE * Remove usages of std * Boilerplate lints and stuff * Expose add_case_closure * allow(unused) for validate() * fix * clippy
diff --git a/experimental/casemapping/Cargo.toml b/experimental/casemapping/Cargo.toml index e0cd729b0f..a0486a1253 100644 --- a/experimental/casemapping/Cargo.toml +++ b/experimental/casemapping/Cargo.toml @@ -13,6 +13,7 @@ readme = "README.md" repository = "https://github.com/unicode-org/icu4x" homepage = "https://...
13
248
102
0840ff2ae610268e60efd454f04589f897b2444b
Shane F. Carr
2023-06-15T15:55:10
Add reference to issue 746 in canonicalizer.rs (#3542)
diff --git a/components/locid_transform/src/canonicalizer.rs b/components/locid_transform/src/canonicalizer.rs index c122c11fb9..3144436945 100644 --- a/components/locid_transform/src/canonicalizer.rs +++ b/components/locid_transform/src/canonicalizer.rs @@ -294,7 +294,8 @@ impl LocaleCanonicalizer { /// Some BCP4...
1
2
1
fe8e49cd8c4240a8b7ccadd9973e5e15f091880d
Manish Goregaokar
2023-06-15T15:30:25
Some casemapping fixes (#3541) * Use GIGO everywhere * use Writeable; expose titlecase
diff --git a/Cargo.lock b/Cargo.lock index aff7a19a0c..c3b033a2a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1445,6 +1445,7 @@ dependencies = [ "icu_locid", "icu_provider", "serde", + "writeable", "yoke", "zerovec", ] diff --git a/experimental/casemapping/Cargo.toml b/experimental/casemapping/Cargo.toml in...
4
94
147
5002062c54c06754ab53c54b20f71eea73033bcc
Robert Bastian
2023-06-15T14:48:45
Casemapping baked data (#3540)
diff --git a/Cargo.lock b/Cargo.lock index 02f7c93c2d..aff7a19a0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1440,6 +1440,7 @@ version = "0.7.2" dependencies = [ "databake", "displaydoc", + "icu_casemapping_data", "icu_collections", "icu_locid", "icu_provider", diff --git a/experimental/casemapping/Cargo.t...
8
145
32
918cd4f766e749140e80ac5d1c9a1dea8923ba0f
Robert Bastian
2023-06-14T13:49:29
Using baked data for `icu4x_ecma402` and putting it back in the workspace (#3532)
diff --git a/Cargo.lock b/Cargo.lock index adf051b546..0d04f5fee8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -894,6 +894,12 @@ dependencies = [ "memmap2", ] +[[package]] +name = "ecma402_traits" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b0c2a4ea26259c41a15d...
9
50
1,167
02cc1d44116c3143526ea707a2b8ffdf2ebc2a0c
Manish Goregaokar
2023-06-13T10:31:24
More zerovec stacked borrows fixes (#3524) * Use reserve() in VZV mutation code so we are dealing with the appropriate allocation * Use valid VarZeroVecs
diff --git a/utils/zerovec/src/map2d/databake.rs b/utils/zerovec/src/map2d/databake.rs index b505539772..c5b9aca546 100644 --- a/utils/zerovec/src/map2d/databake.rs +++ b/utils/zerovec/src/map2d/databake.rs @@ -52,7 +52,7 @@ fn test_baked_map() { crate::ZeroMap2d::from_parts_unchecked( uns...
2
9
8
c8ad1b9382a493fd05f55e230fe3b89a7e526310
Niels Saurer
2023-06-13T04:06:38
tyoes => types (#3523)
diff --git a/utils/zerovec/src/varzerovec/components.rs b/utils/zerovec/src/varzerovec/components.rs index c18c1465c2..5168fb7143 100644 --- a/utils/zerovec/src/varzerovec/components.rs +++ b/utils/zerovec/src/varzerovec/components.rs @@ -53,7 +53,7 @@ pub unsafe trait VarZeroVecFormat: 'static + Sized { /// Will have...
1
1
1
c010e99d81bbd24eee1c35d5f75f805cd7331163
Manish Goregaokar
2023-06-08T16:05:24
Replace `mem::forget` with `ManuallyDrop::new` (#3515) * Replace `mem::forget` with `ManuallyDrop::new` It's way less footgunny w.r.t. pointer aliasing: - At worst, it's equivalent; - But the advantage of `ManuallyDrop::new()`, is that it can be used _before_ extracting data off the value, such as pointe...
diff --git a/utils/zerovec/src/ule/encode.rs b/utils/zerovec/src/ule/encode.rs index 2091cf06b1..8cef37028c 100644 --- a/utils/zerovec/src/ule/encode.rs +++ b/utils/zerovec/src/ule/encode.rs @@ -86,12 +86,11 @@ pub fn encode_varule_to_box<S: EncodeAsVarULE<T>, T: VarULE + ?Sized>(x: &S) -> // zero-fill the vector ...
4
35
39
e000bcc420854374ba48d4fe7d537d7c8e681730
Robert Bastian
2023-06-08T15:42:08
Moving baked provider into provider modules (#3517)
diff --git a/components/plurals/src/lib.rs b/components/plurals/src/lib.rs index 9d90c16667..dd2c154253 100644 --- a/components/plurals/src/lib.rs +++ b/components/plurals/src/lib.rs @@ -83,15 +83,6 @@ mod operands; pub mod provider; pub mod rules; -#[doc(hidden)] -#[cfg(feature = "data")] -pub mod data { - use ...
6
28
26
27b2af2ace3ddeeb3daa47f2739d9f4f4d6e5948
Robert Bastian
2023-06-08T13:55:18
`ZeroVec::const_len` (#3512)
diff --git a/utils/zerovec/src/zerovec/mod.rs b/utils/zerovec/src/zerovec/mod.rs index 73a487177b..81c1825704 100644 --- a/utils/zerovec/src/zerovec/mod.rs +++ b/utils/zerovec/src/zerovec/mod.rs @@ -139,8 +139,8 @@ impl<U> EyepatchHackVector<U> { } // Return a slice to the inner data #[inline] - fn as...
1
7
2
072df866a74806f107571147ea636fca314532a1
Manish Goregaokar
2023-06-08T11:52:34
Split ExceptionHeader into ExceptionBits and SlotPresence (#3508)
diff --git a/experimental/casemapping/src/exceptions.rs b/experimental/casemapping/src/exceptions.rs index a1f98aaf23..cede87d2c4 100644 --- a/experimental/casemapping/src/exceptions.rs +++ b/experimental/casemapping/src/exceptions.rs @@ -8,7 +8,7 @@ use zerovec::{VarZeroVec, ZeroVec}; use crate::error::Error; use cr...
6
297
197
2ec86a34c332859907599c576a7841476612ab44
Manish Goregaokar
2023-06-08T11:22:08
Avoid stacked borrows violation in ZeroVec::new_owned() (#3509)
diff --git a/utils/zerovec/src/zerovec/mod.rs b/utils/zerovec/src/zerovec/mod.rs index a36b53289d..73a487177b 100644 --- a/utils/zerovec/src/zerovec/mod.rs +++ b/utils/zerovec/src/zerovec/mod.rs @@ -281,12 +281,12 @@ where /// If you have a slice of `&[T]`s, prefer using /// [`Self::alloc_from_slice()`]. ...
1
3
3
aa9a7478631e37b7423c708fde2d65807565f4c5
Robert Bastian
2023-06-07T20:22:32
Using new datagen API for testdata (#3502)
diff --git a/provider/core/src/datagen/mod.rs b/provider/core/src/datagen/mod.rs index 6596a0c07e..912690817e 100644 --- a/provider/core/src/datagen/mod.rs +++ b/provider/core/src/datagen/mod.rs @@ -97,3 +97,43 @@ macro_rules! make_exportable_provider { } }; } + +/// A `DataExporter` that forks to multip...
8
231
66
3efe540ede9336c4056373b12b534b2cca61d621
Manish Goregaokar
2023-06-07T15:05:31
Turn ExceptionHeader into a proper ULE type (#3503)
diff --git a/experimental/casemapping/src/exceptions.rs b/experimental/casemapping/src/exceptions.rs index 7a372d815b..a1f98aaf23 100644 --- a/experimental/casemapping/src/exceptions.rs +++ b/experimental/casemapping/src/exceptions.rs @@ -8,6 +8,7 @@ use zerovec::{VarZeroVec, ZeroVec}; use crate::error::Error; use cr...
6
205
131
a576f41a598d74c97aea1878ed02504e2a4ee230
Robert Bastian
2023-06-07T08:27:10
Make `DataPayload` constructible from `&'static M::Yokeable` (#3467)
diff --git a/components/datetime/src/lib.rs b/components/datetime/src/lib.rs index 9946291ca9..e98b2dad3f 100644 --- a/components/datetime/src/lib.rs +++ b/components/datetime/src/lib.rs @@ -207,12 +207,12 @@ mod tests { #[test] fn check_sizes() { - check_size_of!(5784 | 4576, DateFormatter); - ...
4
94
54
b1528006b15ede9f0bf112d2f3b891121f4d8189
Shane F. Carr
2023-06-07T07:46:30
Add icu_personnames to the tutorial lockfile (#3497)
diff --git a/docs/tutorials/crates/Cargo.lock b/docs/tutorials/crates/Cargo.lock index 1545798c65..801d7477e7 100644 --- a/docs/tutorials/crates/Cargo.lock +++ b/docs/tutorials/crates/Cargo.lock @@ -781,6 +781,7 @@ dependencies = [ "icu_locid", "icu_locid_transform", "icu_normalizer", + "icu_personnames", "icu_...
1
14
0