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
ef8d16e20482dd6823b9ded4c79bb86bacb953cc
Makoto Kato
2022-09-13T02:30:36
Add C/C++ headers in the package (#2553)
diff --git a/ffi/diplomat/Cargo.toml b/ffi/diplomat/Cargo.toml index da4b7e5f19..c9159e38e2 100644 --- a/ffi/diplomat/Cargo.toml +++ b/ffi/diplomat/Cargo.toml @@ -18,7 +18,7 @@ include = [ "examples/**/*", "benches/**/*", "tests/**/*", - "include/**/*", + "**/include/**/*", "Cargo.toml", ...
1
1
1
fcbd5aab858b52fb4a887dbb968afab06083f85a
Shane F. Carr
2022-09-09T23:19:53
Use GIGO with debug assertion in Char16Trie (#2537)
diff --git a/components/collator/src/provider.rs b/components/collator/src/provider.rs index f76f4c6439..fc5b6cd6ce 100644 --- a/components/collator/src/provider.rs +++ b/components/collator/src/provider.rs @@ -146,7 +146,7 @@ impl<'data> CollationDataV1<'data> { index: usize, ) -> (CollationElement32, Ch...
2
85
60
1979ec419dccbd5089bf20763002886bed123937
Makoto Kato
2022-09-09T12:36:09
Remove heapless feature from serde-json-core. (#2530)
diff --git a/provider/fs/Cargo.toml b/provider/fs/Cargo.toml index ee7d28e6cf..cc73a60037 100644 --- a/provider/fs/Cargo.toml +++ b/provider/fs/Cargo.toml @@ -36,7 +36,7 @@ all-features = true icu_provider = { version = "1.0.0-beta1", path = "../core", features = ["serde", "std"] } serde = { version = "1.0", default-...
1
1
1
90235ae3c77535bc82adc5896a4e56f0027235fa
Oleksii Tkachuk
2022-09-08T10:37:08
Refactor from for loop append to extend (#2531)
diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index d8f4fe0822..1b069932ae 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -653,10 +653,8 @@ where }); if low & 0x1000 != 0 { // All the rest are combining - ...
1
6
8
84c0ef10caeca73e5df07aa688abd7f320ba0563
Oleksii Tkachuk
2022-09-07T23:09:59
Fix feature specification in provider/fs (#2527)
diff --git a/provider/fs/benches/provider_fs.rs b/provider/fs/benches/provider_fs.rs index 67b5f849f6..2427585718 100644 --- a/provider/fs/benches/provider_fs.rs +++ b/provider/fs/benches/provider_fs.rs @@ -29,9 +29,7 @@ fn overview_bench(c: &mut Criterion) { #[cfg(feature = "bench")] { json_bench(c)...
1
2
4
3651ac087dbe1ec49d590c67592b6be0c9183153
Shane F. Carr
2022-09-07T03:07:42
Hide fields of certain non-provider library structs (#2524)
diff --git a/components/collections/src/char16trie/trie.rs b/components/collections/src/char16trie/trie.rs index d2b4ddcd32..0db4a1c71d 100644 --- a/components/collections/src/char16trie/trie.rs +++ b/components/collections/src/char16trie/trie.rs @@ -82,6 +82,7 @@ fn skip_node_value(pos: usize, lead: u16) -> usize { p...
2
3
0
d4c5f6d61686dc35d163d18c4413345d89bb8ef7
Robert Bastian
2022-09-06T23:12:18
Add canary tests for `core::slice::from_raw_parts`'s constness (#2521)
diff --git a/provider/core/src/key.rs b/provider/core/src/key.rs index 4f8bce803c..b9023ef74f 100644 --- a/provider/core/src/key.rs +++ b/provider/core/src/key.rs @@ -204,14 +204,18 @@ impl DataKey { /// /// Useful for reading and writing data to a file system. #[inline] - pub fn get_path(&self) -> &'...
4
28
12
4e9ba58d0288c90a5aa04b2982af4eb2aa476f4b
Robert Bastian
2022-09-05T13:40:03
Fix typo (#2516)
diff --git a/components/locid/src/helpers.rs b/components/locid/src/helpers.rs index 1e76f6c2cd..251f40a3f5 100644 --- a/components/locid/src/helpers.rs +++ b/components/locid/src/helpers.rs @@ -358,7 +358,7 @@ macro_rules! impl_tinystr_subtag { /// Compare with a potentially unnormalized BCP-47 string. ...
1
1
1
0b85d15e625fcd37f768b9b5e0d1d7df62e9c9bf
Younies Mahmoud
2022-09-05T13:04:46
Fix indexing_slicing clippy issue. (#2493) Fix indexing_slicing clippy issues.
diff --git a/utils/fixed_decimal/src/decimal.rs b/utils/fixed_decimal/src/decimal.rs index e3e3a3aa0f..aac30a41fb 100644 --- a/utils/fixed_decimal/src/decimal.rs +++ b/utils/fixed_decimal/src/decimal.rs @@ -1819,7 +1819,7 @@ impl FromStr for FixedDecimal { // The string without the exponent (or sign) ...
1
4
3
a03ec6f259bf2256ffcddca1a20589f9c59d38d8
Henri Sivonen
2022-09-05T11:04:19
Revert "Add a remark about inversion list worst-case performance (#2388)" (#2515) This reverts commit 5a6471da1068173ad9172d0f9e2d15ee5b73063f.
diff --git a/components/collections/src/codepointinvlist/cpinvlist.rs b/components/collections/src/codepointinvlist/cpinvlist.rs index cbab00d4de..61e88c94d3 100644 --- a/components/collections/src/codepointinvlist/cpinvlist.rs +++ b/components/collections/src/codepointinvlist/cpinvlist.rs @@ -374,9 +374,7 @@ impl<'dat...
1
2
6
19ce9fea2a752adfd3b4d4cc0b7434aa253bef6a
Elango
2022-09-02T21:16:27
Clean up FFFD magic numbers in Collator with REPLACEMENT_CHAR (#2496)
diff --git a/components/collator/src/elements.rs b/components/collator/src/elements.rs index 019fe30b67..555613c1ee 100644 --- a/components/collator/src/elements.rs +++ b/components/collator/src/elements.rs @@ -151,7 +151,9 @@ pub(crate) const FFFD_CE32: CollationElement32 = CollationElement32(FFFD_CE32_VA pub(crate) ...
1
3
1
8f902cbc1f62204bef1fd0f086988f971257c239
Younies Mahmoud
2022-08-30T17:36:53
Fix clippy for the non_exhaustive enums. (#2483) Fix clippy for the non_exhaustive enums.
diff --git a/components/decimal/src/format.rs b/components/decimal/src/format.rs index 0c8cd301be..ddd74edb8d 100644 --- a/components/decimal/src/format.rs +++ b/components/decimal/src/format.rs @@ -23,9 +23,10 @@ pub struct FormattedFixedDecimal<'l> { impl<'l> FormattedFixedDecimal<'l> { fn get_affixes(&self) ->...
3
5
3
a1dff1e5c7fe680bc466a3bf2c60ab4c2851f802
Elango
2022-08-29T23:18:45
Fix docs for XID_Start and XID_Continue in properties sets API docs (#2469)
diff --git a/components/properties/src/sets.rs b/components/properties/src/sets.rs index ffa1f335a0..ab783dbdda 100644 --- a/components/properties/src/sets.rs +++ b/components/properties/src/sets.rs @@ -1632,7 +1632,7 @@ make_set_property! { marker: XidContinueProperty; keyed_data_marker: XidContinueV1Marker;...
1
2
2
1ad3fb5eae2c319b71b385729922b2db202f32ca
Sipasseuth Daniel
2022-08-29T19:31:32
split_first_u16/split_first_u24 -> split_first (#2459) * refactor(issue_2056): split_first_u16/split_first_u24 -> split_first * Apply suggestions from code review Co-authored-by: Robert Bastian <robertbastian@users.noreply.github.com> * cargo fmt error fix Co-authored-by: Daniel Sipasseuth <dsipasseuth@goo...
diff --git a/components/collator/src/elements.rs b/components/collator/src/elements.rs index fe7e293f3e..7a18e286ee 100644 --- a/components/collator/src/elements.rs +++ b/components/collator/src/elements.rs @@ -192,40 +192,6 @@ fn char_from_u24(u: U24) -> char { char_from_u32(u.into()) } -#[inline(always)] -fn ...
3
110
75
ebedd726e407960aafec8c7932b802250162e4be
snktd
2022-08-29T19:30:48
Make AnyPayload sync by using RcWrap #2176 (#2465) * Merge remote-tracking branch 'uptstream/main' * Make AnyPayload sync by using RcWrap * Changing the imports and running the fmt. * Moving RcWrapBounds to response.rs * Minor fix for comment. * Running cargo make testdata * Minor change to fix the t...
diff --git a/provider/adapters/src/any_payload.rs b/provider/adapters/src/any_payload.rs index 1790039483..55b76da2b7 100644 --- a/provider/adapters/src/any_payload.rs +++ b/provider/adapters/src/any_payload.rs @@ -51,12 +51,15 @@ pub struct AnyPayloadProvider { impl AnyPayloadProvider { /// Creates an `AnyPayl...
6
112
23
bf9012336256c01512374518f2ff90f25d45a998
Shane F. Carr
2022-08-26T23:48:04
Add icu_testdata::versions module and fix metadata lookup (#2463)
diff --git a/provider/testdata/src/lib.rs b/provider/testdata/src/lib.rs index d1d2130d3d..d47dc54c29 100644 --- a/provider/testdata/src/lib.rs +++ b/provider/testdata/src/lib.rs @@ -78,6 +78,53 @@ extern crate alloc; #[doc(hidden)] pub mod metadata; +#[cfg(feature = "metadata")] +pub mod versions { + //! Functi...
2
48
1
6b98f3b5eb35b6b02ba33ec778a45f5a2ec58ec1
Pawan Dogra
2022-08-25T08:27:44
Switch from runtime to compile time Locale parsing (#2406)
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index a5e61cc4eb..191ae52995 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -39,14 +39,14 @@ use core::fmt; /// There are many ways of constructing an AnyCalendar'd date...
8
42
43
283a775986ec0a8c666768f897b21820aa8d6a80
Elango
2022-08-24T17:47:14
Enable missing docs lint in timezone (#2441)
diff --git a/components/timezone/src/lib.rs b/components/timezone/src/lib.rs index 94e90078d2..8639cd54c9 100644 --- a/components/timezone/src/lib.rs +++ b/components/timezone/src/lib.rs @@ -17,6 +17,7 @@ clippy::exhaustive_enums ) )] +#![warn(missing_docs)] extern crate alloc;
1
1
0
d8bee1999b6266a5c24dadbacb39d70abf0a3088
Robert Bastian
2022-08-24T15:30:12
Second pass at lints (#2432)
diff --git a/components/calendar/src/provider.rs b/components/calendar/src/provider.rs index 392ed92117..813e821d2b 100644 --- a/components/calendar/src/provider.rs +++ b/components/calendar/src/provider.rs @@ -7,7 +7,7 @@ //! Read more about data providers: [`icu_provider`] // Provider structs must be stable -#![a...
41
90
42
64a4d74411aeaa92e91a41027ca35cb4503f2576
Henri Sivonen
2022-08-24T14:19:41
Add comment about inline(always) in CodePointTrie (#2443)
diff --git a/components/collections/src/codepointtrie/cptrie.rs b/components/collections/src/codepointtrie/cptrie.rs index fe303fb2f6..e8609c8fb4 100644 --- a/components/collections/src/codepointtrie/cptrie.rs +++ b/components/collections/src/codepointtrie/cptrie.rs @@ -211,7 +211,7 @@ impl<'trie, T: TrieValue> CodePoi...
1
4
4
b01a716fd0a953bb9acb6ac1db8558750e8b8137
Manish Goregaokar
2022-08-23T20:54:04
Update postcard to 1.0 (#2438)
diff --git a/Cargo.lock b/Cargo.lock index 3f56f3bfe9..5988495d1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2473,9 +2473,9 @@ dependencies = [ [[package]] name = "postcard" -version = "1.0.0-alpha.4" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6cf96c947e1a6...
11
12
12
eedfa41b65cad8e646f07d692fad8638538e306b
Henri Sivonen
2022-08-23T17:31:54
inline(always) trie accessors that are macros in ICU4C (#2410)
diff --git a/components/collections/src/codepointtrie/cptrie.rs b/components/collections/src/codepointtrie/cptrie.rs index 567f054004..fe303fb2f6 100644 --- a/components/collections/src/codepointtrie/cptrie.rs +++ b/components/collections/src/codepointtrie/cptrie.rs @@ -211,6 +211,7 @@ impl<'trie, T: TrieValue> CodePoi...
1
4
1
7abc21b21f1ff358712234f172bb2331b19d7f28
Ting-Yu Lin
2022-08-23T16:43:34
Expose RuleBreakIterator as a public interface (#2408) All the UAX 29 break iterators (grapheme cluster, sentence, and word) are type defines of RuleBreakIterator. Expose RuleBreakIterator so that users can refer to RuleBreakIterator's documentation for APIs.
diff --git a/experimental/segmenter/src/lib.rs b/experimental/segmenter/src/lib.rs index e34d314f87..b69d5fdda1 100644 --- a/experimental/segmenter/src/lib.rs +++ b/experimental/segmenter/src/lib.rs @@ -104,3 +104,5 @@ pub use crate::sentence::{ pub use crate::word::{ WordBreakIteratorLatin1, WordBreakIteratorUtf...
1
2
0
59b17253f117e0a927e7e55ce39feecd016a32e0
Pawan Dogra
2022-08-23T08:57:57
Make `Option<TinyAsciiStr>` be the same size as `TinyAsciiStr` (#2430)
diff --git a/utils/tinystr/src/ascii.rs b/utils/tinystr/src/ascii.rs index 33db43c1fa..13bd50bf90 100644 --- a/utils/tinystr/src/ascii.rs +++ b/utils/tinystr/src/ascii.rs @@ -2,6 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE )...
4
229
29
7c6b6487277c2faef308a40ebad381ee35493203
Robert Bastian
2022-08-23T08:14:05
Fixing ecma402 crate (#2434)
diff --git a/ffi/ecma402/Cargo.lock b/ffi/ecma402/Cargo.lock index e4f6db1551..4dd7e2e787 100644 --- a/ffi/ecma402/Cargo.lock +++ b/ffi/ecma402/Cargo.lock @@ -378,7 +378,7 @@ dependencies = [ [[package]] name = "crlify" -version = "1.0.0" +version = "1.0.1" [[package]] name = "crossbeam-channel" @@ -471,7 +471,...
7
152
114
f1a6fdb9ba62978b65b2a67edc218139658df32f
Manish Goregaokar
2022-08-22T22:22:38
Mention some unwrap reasons (#2435) * Comment on unwrap in ethiopic * Fix zerovec comments
diff --git a/components/calendar/src/ethiopian.rs b/components/calendar/src/ethiopian.rs index 6b8ca7364a..f46354e5c3 100644 --- a/components/calendar/src/ethiopian.rs +++ b/components/calendar/src/ethiopian.rs @@ -250,7 +250,7 @@ impl Ethiopian { fn ethiopian_from_fixed(date: i32) -> EthiopianDateInner { ...
2
4
4
19dd573757f95fa808aa5ea0c4175b2fd17e85c3
Shane F. Carr
2022-08-22T04:04:37
tinystr 0.6.2: Add zerovec 0.7 compatibility
diff --git a/Cargo.lock b/Cargo.lock index b2851b3c37..3f56f3bfe9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1373,8 +1373,8 @@ dependencies = [ "icu_testdata", "serde", "serde_json", - "tinystr 0.6.1", - "zerovec", + "tinystr 0.6.2", + "zerovec 0.8.1", ] [[package]] @@ -1406,7 +1406,7 @@ dependencies = [ ...
4
138
41
35b33e934de5c2e8a996b27267170ecd1f3fc05a
Shane F. Carr
2022-08-20T07:23:02
Add docs and enable missing_docs lint in icu_provider (#2400)
diff --git a/provider/adapters/src/filter/mod.rs b/provider/adapters/src/filter/mod.rs index 9f9cefb1c2..42516b82e2 100644 --- a/provider/adapters/src/filter/mod.rs +++ b/provider/adapters/src/filter/mod.rs @@ -203,7 +203,7 @@ where &self, key: DataKey, from: DataPayload<MFrom>, - ) -> Res...
16
205
57
8c497c3955d5cd32548af134b9c9599c305eaa95
Yvonne Z
2022-08-19T23:44:47
Make offset_date handle wraparounds for months (#2373) * Make offset_date handle wraparounds for months * Handle edge case where original day is invalid in future month.
diff --git a/components/calendar/src/calendar_arithmetic.rs b/components/calendar/src/calendar_arithmetic.rs index 5b10fd489d..a963ca01c7 100644 --- a/components/calendar/src/calendar_arithmetic.rs +++ b/components/calendar/src/calendar_arithmetic.rs @@ -20,7 +20,7 @@ pub struct ArithmeticDate<C: CalendarArithmetic> { ...
6
91
91
9a85a1d488c6cd4eb267cab72a3ae1343eeba220
Shane F. Carr
2022-08-18T15:57:05
Avoid cloning locales in DateTimeFormatter (#2398)
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index b149eda789..dfcb55114a 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -660,11 +660,6 @@ impl AnyCalendarKind { AnyCalendarKind::Ethioaa => value!("ethi...
11
92
114
834b8b4e4db71a30a488c2229f522c74991dd736
Shane F. Carr
2022-08-18T01:26:50
Apply missing_docs to icu_provider_testdata (#2397)
diff --git a/provider/testdata/Cargo.toml b/provider/testdata/Cargo.toml index c38fe431ff..d8a4acfaa7 100644 --- a/provider/testdata/Cargo.toml +++ b/provider/testdata/Cargo.toml @@ -325,7 +325,8 @@ icu_plurals = { version = "1.0.0-beta1", path = "../../components/plurals" } [features] default = ["static"] -# Enabl...
3
7
1
cac7266c7c72386f747eb647fa9769d78d7f41d0
Shane F. Carr
2022-08-17T23:58:20
Apply missing_docs to icu_provider_fs (#2395)
diff --git a/provider/datagen/src/lib.rs b/provider/datagen/src/lib.rs index 96222efdab..ca76c7a222 100644 --- a/provider/datagen/src/lib.rs +++ b/provider/datagen/src/lib.rs @@ -274,12 +274,11 @@ pub fn datagen( overwrite, fingerprint, } => { - ...
8
104
9
5e65593a7eb69490c98254b63f7943ccb9605319
Shane F. Carr
2022-08-17T23:55:13
Apply missing_docs to icu_provider_blob (#2393)
diff --git a/provider/blob/src/lib.rs b/provider/blob/src/lib.rs index af4ebec11a..103a48dd14 100644 --- a/provider/blob/src/lib.rs +++ b/provider/blob/src/lib.rs @@ -41,6 +41,7 @@ // TODO(#2266): enable missing_debug_implementations, ) )] +#![warn(missing_docs)] extern crate alloc;
1
1
0
f66fff7a1107465836615fecb007e1fb31f210b5
Shane F. Carr
2022-08-17T21:55:05
Apply missing_docs to icu_provider_adapters (#2392)
diff --git a/provider/adapters/src/any_payload.rs b/provider/adapters/src/any_payload.rs index ecceadf1f0..1790039483 100644 --- a/provider/adapters/src/any_payload.rs +++ b/provider/adapters/src/any_payload.rs @@ -33,10 +33,19 @@ use zerofrom::ZeroFrom; /// .expect("Data should be present"); /// /// assert_eq!(...
7
52
3
aca08bae12b6db27995da89f68a92c9d9f6ce4fc
Shane F. Carr
2022-08-17T21:18:42
Don't save the locale in the DateTimeFormatter (#2389)
diff --git a/components/datetime/src/format/datetime.rs b/components/datetime/src/format/datetime.rs index 26c4d7968e..7d4283e3b7 100644 --- a/components/datetime/src/format/datetime.rs +++ b/components/datetime/src/format/datetime.rs @@ -5,7 +5,7 @@ use crate::error::DateTimeFormatterError as Error; use crate::field...
5
11
46
5a6471da1068173ad9172d0f9e2d15ee5b73063f
Henri Sivonen
2022-08-17T14:35:17
Add a remark about inversion list worst-case performance (#2388)
diff --git a/components/collections/src/codepointinvlist/cpinvlist.rs b/components/collections/src/codepointinvlist/cpinvlist.rs index 48b3c76251..5fe0936d9b 100644 --- a/components/collections/src/codepointinvlist/cpinvlist.rs +++ b/components/collections/src/codepointinvlist/cpinvlist.rs @@ -374,7 +374,9 @@ impl<'dat...
1
6
2
14038a5ae761bfb01c702d2903b93161d459f841
Henri Sivonen
2022-08-17T11:58:02
Check if the Swedish reformed collation exists (#2387) Forward compatibility with https://unicode-org.atlassian.net/browse/CLDR-15603 See https://github.com/unicode-org/cldr/commit/aca740fb9c59efa1f1717bee682d98bded5d0428 and https://github.com/unicode-org/cldr/commit/5b1423acc49c6b539e0cfbc69ae38c9cf044b1ca Clos...
diff --git a/provider/datagen/src/transform/icuexport/collator/mod.rs b/provider/datagen/src/transform/icuexport/collator/mod.rs index c290b0e0a0..2f0f274e61 100644 --- a/provider/datagen/src/transform/icuexport/collator/mod.rs +++ b/provider/datagen/src/transform/icuexport/collator/mod.rs @@ -24,7 +24,26 @@ mod collat...
1
39
7
47b289e60253050d3933ddd61b851d00317c1caa
Christopher Durham
2022-08-16T22:25:54
Generalize impl EncodeAsVarULE for Cow (#2377) Fixes: 5f6dd9d0982d4170d44cf58ed9cb0838e785c40b
diff --git a/utils/zerovec/src/ule/encode.rs b/utils/zerovec/src/ule/encode.rs index 13bcdb48ac..63854c8577 100644 --- a/utils/zerovec/src/ule/encode.rs +++ b/utils/zerovec/src/ule/encode.rs @@ -5,7 +5,7 @@ use crate::ule::*; use crate::varzerovec::VarZeroVecFormat; use crate::{VarZeroSlice, VarZeroVec, ZeroSlice, Z...
1
2
2
ed6a46de959cea469f05e6ab4154c886f3709fbe
Robert Bastian
2022-08-16T17:48:43
Rename icu::locale_canonicalizer (#2381)
diff --git a/components/icu/src/lib.rs b/components/icu/src/lib.rs index eddc5e565a..1794df6ee4 100644 --- a/components/icu/src/lib.rs +++ b/components/icu/src/lib.rs @@ -119,7 +119,7 @@ pub use icu_decimal as decimal; pub use icu_list as list; #[doc(inline)] -pub use icu_locid_transform as locale_canonicalizer; +p...
1
1
1
dff842eb4c68299f5a22ea4a72bf498a5be1f4e2
Pawan Dogra
2022-08-16T09:55:57
Enable ShortVec as a backend for LiteMap (#2356)
diff --git a/components/locid/Cargo.toml b/components/locid/Cargo.toml index b401212ff5..eed44e5a65 100644 --- a/components/locid/Cargo.toml +++ b/components/locid/Cargo.toml @@ -50,6 +50,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" postcard = { version = "1.0.0-alpha.4", default-feature...
14
315
38
5f6dd9d0982d4170d44cf58ed9cb0838e785c40b
Christopher Durham
2022-08-15T06:35:23
impl EncodeAsVarULE for Cow (#2376)
diff --git a/utils/zerovec/src/ule/encode.rs b/utils/zerovec/src/ule/encode.rs index 86299400fb..13bcdb48ac 100644 --- a/utils/zerovec/src/ule/encode.rs +++ b/utils/zerovec/src/ule/encode.rs @@ -5,6 +5,7 @@ use crate::ule::*; use crate::varzerovec::VarZeroVecFormat; use crate::{VarZeroSlice, VarZeroVec, ZeroSlice, Z...
1
10
0
18946bb86f9c0ddbd05e819a66aaab1df2e0d356
Manish Goregaokar
2022-08-12T20:27:03
Pick default calendar based off of locale in AnyCalendar (#2369) * Handle defaults in AnyCalendar * Fall back to default calendar in DTF * docs and test * clippy * rm TryFrom * remove extra methods * use macro * readd from_locale * fix * fix
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index 45c8aa3024..b149eda789 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -18,12 +18,11 @@ use alloc::string::ToString; use icu_locid::{ extensions::unicode::Va...
5
201
69
8a3bb378cb6d73ba74ec94fd406fde6f123a80cc
Robert Bastian
2022-08-11T18:29:17
Singleton testdata providers (#2363)
diff --git a/Cargo.lock b/Cargo.lock index c89b5cf4c7..202def61ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1190,7 +1190,7 @@ dependencies = [ "atomic-polyfill", "hash32", "serde", - "spin", + "spin 0.9.2", "stable_deref_trait", ] @@ -1842,6 +1842,7 @@ dependencies = [ "icu_provider_fs", "icu_segmente...
8
62
29
11dc2bbfc4bcbf2b7ebccf39f019af753b66be0c
snktd
2022-08-08T19:52:09
Make RcWrap to have a type parameter. (#2270) * Make RcWrap to have a type parameter. * Fixing a minor error. * Addressing review comments. * Minor fmt fix. * Fixing minor issues and merging upstream. * Fixing comment. * Adding a From<T> constructor
diff --git a/provider/blob/src/blob_data_provider.rs b/provider/blob/src/blob_data_provider.rs index 90d8cfd49c..17f7dc7629 100644 --- a/provider/blob/src/blob_data_provider.rs +++ b/provider/blob/src/blob_data_provider.rs @@ -56,12 +56,12 @@ use yoke::*; /// [`StaticDataProvider`]: crate::StaticDataProvider pub stru...
2
30
19
0afcfbca54c8f00b268b919d4f2a3258a00ca518
Shane F. Carr
2022-08-05T00:43:40
Cargo.toml fixups for ICU4X 1.0.0-beta1
diff --git a/Cargo.lock b/Cargo.lock index aa9ffa9472..028b5f0c78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4092,7 +4092,7 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.8.0" +version = "0.8.1" dependencies = [ "bincode", "criterion", @@ -4113,7 +4113,7 @@ dependencies = [ [[package]] na...
18
30
25
20c66b705b5f0e76e51419147a2a262fd1aa792d
Shane F. Carr
2022-08-04T23:55:38
Update utils versions (#2343)
diff --git a/Cargo.lock b/Cargo.lock index 44e47888ef..f1fc48750a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -539,7 +539,7 @@ dependencies = [ [[package]] name = "crlify" -version = "1.0.0" +version = "1.0.1" [[package]] name = "crossbeam-channel" @@ -653,7 +653,7 @@ dependencies = [ [[package]] name = "da...
34
67
67
507f606ebd4e04e269cb4e4066456d394425b264
Shane F. Carr
2022-08-04T23:35:52
Change export of CodePointTrieError (#2341)
diff --git a/components/collections/src/codepointtrie/mod.rs b/components/collections/src/codepointtrie/mod.rs index 402d2adf73..6bf5b1898a 100644 --- a/components/collections/src/codepointtrie/mod.rs +++ b/components/collections/src/codepointtrie/mod.rs @@ -32,7 +32,7 @@ extern crate alloc; mod cptrie; -pub mod er...
2
3
2
94e1ac588ecb256fee269679bd90e1bdc623bfe7
Shane F. Carr
2022-08-04T22:19:09
Assorted public API tweaks (#2339) * Make icu_decimal::error private * Make EnumeratedProperty private * try_set_metazone -> maybe_set_metazone * impl AnyProvider for DatagenProvider
diff --git a/components/decimal/src/lib.rs b/components/decimal/src/lib.rs index 2160e2d8c8..c8b7d2c817 100644 --- a/components/decimal/src/lib.rs +++ b/components/decimal/src/lib.rs @@ -92,7 +92,7 @@ extern crate alloc; -pub mod error; +mod error; pub mod format; mod grouper; pub mod options; diff --git a/comp...
5
13
6
1b72ec61eae0e7ca437b676ac06340dae06f7bc5
Shane F. Carr
2022-08-04T19:43:14
Make private Normalizer constructor private again (#2335)
diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index a012b7ab55..733fa48e49 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -1401,7 +1401,7 @@ impl DecomposingNormalizer { /// /// Deliberately private and not available outside the crate...
2
3
15
4ae59e13339589daa7c253192f679fe5885a2ca1
Shane F. Carr
2022-08-04T15:26:10
icu_normalizer constructor polish (#2333)
diff --git a/components/normalizer/Cargo.toml b/components/normalizer/Cargo.toml index 31566389c6..01c6770308 100644 --- a/components/normalizer/Cargo.toml +++ b/components/normalizer/Cargo.toml @@ -59,6 +59,6 @@ bench = false # This option is required for Benchmark CI [features] default = [] -serde = ["dep:serde"...
4
134
39
77e5f339eeb9988971a92eb55786e621d7eeef0f
Shane F. Carr
2022-08-03T23:30:13
Fix up blob provider constructors (WIP) (#2330) * Fix up blob provider constructors (WIP) * Update new_from_... to try_new_from... in provider Co-authored-by: Craig Cornelius <ccornelius@google.com>
diff --git a/ffi/diplomat/src/provider.rs b/ffi/diplomat/src/provider.rs index 212e611c77..413c9c30a6 100644 --- a/ffi/diplomat/src/provider.rs +++ b/ffi/diplomat/src/provider.rs @@ -71,7 +71,7 @@ pub mod ffi { pub fn create_from_byte_slice( blob: &[u8], ) -> DiplomatResult<Box<ICU4XDataP...
6
14
13
c2f4d6629438fb40de1147d3df05dc8856e7da3e
Manish Goregaokar
2022-08-03T22:16:57
Some more examples for AnyCalendar / formatting stuff (#2322) * Improve AnyCalendar APIs * Add DTF example * add anycalendar example * fix test * fix * fix after ctor changes * Update components/calendar/src/types.rs Co-authored-by: Shane F. Carr <shane@unicode.org> * Update components/calendar...
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index 15878fedb7..45c8aa3024 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -14,14 +14,16 @@ use crate::japanese::{Japanese, JapaneseExtended}; use crate::{ types, ...
8
145
10
415beb501f6eeeaedc90ea620905256a5a876413
Shane F. Carr
2022-08-03T18:28:59
Fix up icu_collator constructors (#2327)
diff --git a/components/collator/Cargo.toml b/components/collator/Cargo.toml index 779689bf68..e0e95bb78b 100644 --- a/components/collator/Cargo.toml +++ b/components/collator/Cargo.toml @@ -59,5 +59,5 @@ bench = false # This option is required for Benchmark CI [features] default = [] -serde = ["dep:serde", "zerov...
6
103
71
c21dbde686b3c84c7affddd332f372ba04c2439e
Shane F. Carr
2022-08-03T18:00:54
Fix up icu_calendar constructors (#2326)
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index d22903d19d..15878fedb7 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -316,8 +316,8 @@ impl AnyCalendar { /// /// This API needs the `calendar/japanese@1`...
8
51
64
7f8ac3052fb9b2703ba664c9174a71894b9ad9ad
Shane F. Carr
2022-08-03T03:44:50
Migrate icu_timezones constructors (#2316)
diff --git a/components/timezone/src/metazone.rs b/components/timezone/src/metazone.rs index d5a084c675..52380426fc 100644 --- a/components/timezone/src/metazone.rs +++ b/components/timezone/src/metazone.rs @@ -28,11 +28,11 @@ impl MetaZoneCalculator { /// use icu::timezone::MetaZoneCalculator; /// /// l...
3
21
6
ea44204db20bbf285b5408fa20e8f1e87125b009
Ting-Yu Lin
2022-08-03T00:35:01
Hide icu_segmenter's symbols module from doc (#2317)
diff --git a/experimental/segmenter/src/lib.rs b/experimental/segmenter/src/lib.rs index 59528bc8ca..952c715a25 100644 --- a/experimental/segmenter/src/lib.rs +++ b/experimental/segmenter/src/lib.rs @@ -153,6 +153,9 @@ mod sentence; mod word; pub mod provider; + +// icu_datagen uses symbols, but we don't want to ex...
1
3
0
a18f5f4c84da8a0b8e725406cd11196cec72e559
Manish Goregaokar
2022-08-02T23:16:41
doc-hidden CaseMappingData field (#2307)
diff --git a/experimental/casemapping/src/internals.rs b/experimental/casemapping/src/internals.rs index ac47563c3f..0d8f3a64f9 100644 --- a/experimental/casemapping/src/internals.rs +++ b/experimental/casemapping/src/internals.rs @@ -100,7 +100,9 @@ impl DotType { #[cfg_attr(feature = "serde", derive(serde::Deseriali...
1
3
1
2cbf99153ff4642caa364170e5daea12c4ae7f9b
Shane F. Carr
2022-08-02T21:26:58
Use DataLocale in Collator (#2296)
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index c181507b39..09d2d7ede2 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -21,10 +21,9 @@ use crate::provider::CollationMetadataV1Marker; use crate::provider::CollationReorder...
4
120
102
45f380df3043abb9fd5a7ff9612ff3a66d24cec3
Shane F. Carr
2022-08-02T21:22:31
Update constructors of ZonedDateTimeFormatter and TimeZoneFormatter (#2305)
diff --git a/components/datetime/benches/datetime.rs b/components/datetime/benches/datetime.rs index 6b05117ab7..afe90effc7 100644 --- a/components/datetime/benches/datetime.rs +++ b/components/datetime/benches/datetime.rs @@ -73,13 +73,10 @@ fn datetime_benches(c: &mut Criterion) { let locale: Loc...
7
182
215
acc48dc55e93ceec32e0f2835811e615a02635af
Manish Goregaokar
2022-08-02T03:42:13
Allow CodePointTrie to determine error_value at runtime from data (#2301)
diff --git a/components/properties/src/props.rs b/components/properties/src/props.rs index 9ad94708a4..a5ba6c743f 100644 --- a/components/properties/src/props.rs +++ b/components/properties/src/props.rs @@ -48,6 +48,8 @@ pub enum EnumeratedProperty { /// For more information, see [Unicode Standard Annex #9](https://un...
33
152
37
582e328cac4c74648e177a360025414b7cbe51cb
Shane F. Carr
2022-08-01T23:09:34
Remove KeyError and rename get() to get_2d() (#2279)
diff --git a/components/datetime/src/time_zone.rs b/components/datetime/src/time_zone.rs index 4626f69589..045daa44c5 100644 --- a/components/datetime/src/time_zone.rs +++ b/components/datetime/src/time_zone.rs @@ -1027,7 +1027,7 @@ impl FormatTimeZone for SpecificNonLocationShortFormat { time_zone.tim...
8
122
147
58334ea0b5e61898854d54a60fb3adb4a88c4f07
Makoto Kato
2022-08-01T20:30:38
Provider's data should be in icu_segementer::provider. (#2300) - Don't re-export provider's data to icu_segementer - Move LSTM provider to icu_segmenter::provider
diff --git a/experimental/segmenter/src/complex.rs b/experimental/segmenter/src/complex.rs index d6d698d3b3..c8ec6036e7 100644 --- a/experimental/segmenter/src/complex.rs +++ b/experimental/segmenter/src/complex.rs @@ -8,7 +8,6 @@ use icu_provider::{DataError, DataPayload}; use crate::dictionary::DictionarySegmenter; ...
18
145
152
480669bc0a888be9672076fad79efbaa2c00f9bf
Ting-Yu Lin
2022-08-01T08:33:23
Use ndarray 0.15 instead of a commit hash (#2299) * Use ndarray 0.15 instead of a commit hash As of this patch, the latest release version of ndarray 0.15 is 0.15.6. * Explicit specify we need ndarray >= 0.15.5
diff --git a/Cargo.lock b/Cargo.lock index d5a4a8c019..ad5226a6e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2221,8 +2221,9 @@ checksum = "546c37ac5d9e56f55e73b677106873d9d9f5190605e41a856503623648488cae" [[package]] name = "ndarray" -version = "0.15.4" -source = "git+https://github.com/rust-ndarray/ndarray?rev=3...
2
4
3
0980af95605c54c51258e56c0feeae92a7ba39af
Manish Goregaokar
2022-07-30T01:37:13
Add TimeVariant wrapper (#2289) * Add TimeVariant wrapper * fix * clippy * fix * fix2
diff --git a/components/datetime/src/input.rs b/components/datetime/src/input.rs index bdba07c875..72c9a1fb58 100644 --- a/components/datetime/src/input.rs +++ b/components/datetime/src/input.rs @@ -10,8 +10,7 @@ use icu_calendar::any_calendar::AnyCalendarKind; use icu_calendar::Calendar; use icu_calendar::{arithmeti...
8
82
30
a32efd04ed51e057ee232ebff763d0625807ca7a
Manish Goregaokar
2022-07-29T22:32:15
Avoid regression (#2286)
diff --git a/utils/zerovec/src/zerovec/mod.rs b/utils/zerovec/src/zerovec/mod.rs index a44e4c5d9d..d5eca21cc2 100644 --- a/utils/zerovec/src/zerovec/mod.rs +++ b/utils/zerovec/src/zerovec/mod.rs @@ -257,7 +257,9 @@ where /// `bytes` need to be an output from [`ZeroSlice::as_bytes()`]. pub const unsafe fn from...
1
3
1
3e1fa176d47cea0470287fc2c61ac0c3261a5a63
Shane F. Carr
2022-07-29T22:01:25
Add binary search and other utilities to FlexZeroVec (#2284)
diff --git a/utils/zerovec/src/flexzerovec/slice.rs b/utils/zerovec/src/flexzerovec/slice.rs index b459e4f99c..3a3c3d33c2 100644 --- a/utils/zerovec/src/flexzerovec/slice.rs +++ b/utils/zerovec/src/flexzerovec/slice.rs @@ -195,8 +195,11 @@ impl FlexZeroSlice { /// ``` #[inline] pub fn get(&self, index: u...
1
130
14
021a92e43a07f4178d97fd48ba509fb72164fa14
Manish Goregaokar
2022-07-29T20:02:16
hide yoke pub-use (#2283)
diff --git a/provider/core/src/lib.rs b/provider/core/src/lib.rs index f778ededee..4116cef993 100644 --- a/provider/core/src/lib.rs +++ b/provider/core/src/lib.rs @@ -175,7 +175,9 @@ pub mod prelude { pub use crate::serde::AsDeserializingBufferProvider; /// Re-export of the yoke and zerofrom crates for conv...
1
2
0
f86ed6c03a886fa9e0853d014f6dbf56f2c45c12
Shane F. Carr
2022-07-29T00:55:30
Improvements to MetaZoneCalculator (#2274)
diff --git a/components/datetime/src/format/time_zone.rs b/components/datetime/src/format/time_zone.rs index 74033f8b93..e5195bb92f 100644 --- a/components/datetime/src/format/time_zone.rs +++ b/components/datetime/src/format/time_zone.rs @@ -38,29 +38,7 @@ where ) { Ok(Ok(...
4
46
61
bb55be57d6296cce5861453cc7f09b999e95f3b7
Erik Nordin
2022-07-28T22:53:14
Replace unbounded arithmetic for calendar numeric types with bounded arithmetic. (#2273) Replaces `Add` and `Sub` implementations with fallible `try_add` and `try_sub` associated functions that ensure the resulting value is within bounds by returning an `Option`.
diff --git a/components/calendar/src/types.rs b/components/calendar/src/types.rs index ed5062b672..0936ca2552 100644 --- a/components/calendar/src/types.rs +++ b/components/calendar/src/types.rs @@ -8,7 +8,6 @@ use crate::error::DateTimeError; use core::convert::TryFrom; use core::convert::TryInto; use core::fmt; -u...
1
132
16
4158631d6ea657896f485cd18056b824849ac293
samchen
2022-07-28T21:57:00
compute metazone id from time zone id and local timestamp in MockZonedDateTime (#2122)
diff --git a/components/calendar/src/iso.rs b/components/calendar/src/iso.rs index 3a6570ece0..55503c4c68 100644 --- a/components/calendar/src/iso.rs +++ b/components/calendar/src/iso.rs @@ -321,7 +321,7 @@ impl DateTime<Iso> { + i32::from(self.time.hour.number()) * minutes_a_hour + i3...
11
456
124
c73d122c1ffd03fd7b126d7ea41bc7f972106e0f
Makoto Kato
2022-07-28T17:02:20
Don't make the dictionary segmenter public. (#2271)
diff --git a/experimental/segmenter/src/complex.rs b/experimental/segmenter/src/complex.rs index bec45463e5..d6d698d3b3 100644 --- a/experimental/segmenter/src/complex.rs +++ b/experimental/segmenter/src/complex.rs @@ -5,9 +5,9 @@ use alloc::vec::Vec; use icu_provider::{DataError, DataPayload}; +use crate::dictiona...
2
1
2
2342f275328440524d7415b1ae8689b91a878c08
Ting-Yu Lin
2022-07-28T14:14:27
Remove two char types in line segmenter and polish utf8 iterator naming (#2269) * Remove Latin1Char and Utf16Char in line.rs We don't use these two char types to store data. It's sufficient to use unit-like struct similar to what we do for UAX29 iterators. * Append 'Utf8' to UAX29 iterators iterating over str ...
diff --git a/experimental/segmenter/src/grapheme.rs b/experimental/segmenter/src/grapheme.rs index df406051ec..eb7958049d 100644 --- a/experimental/segmenter/src/grapheme.rs +++ b/experimental/segmenter/src/grapheme.rs @@ -12,7 +12,8 @@ use crate::provider::*; use crate::rule_segmenter::*; /// Grapheme cluster brea...
9
61
55
ee9391ebad05a1644630d17dd5e2bd955220bec2
Makoto Kato
2022-07-28T02:45:10
Use LSTM data from DataProvider (#2252) * Use LSTM data from DataProvider * Fix Build and Test / features * Update ignore comment and use cfg intead of allow(dead_code).
diff --git a/Cargo.lock b/Cargo.lock index facd04cb18..fc7e07ec71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1187,7 +1187,7 @@ dependencies = [ "atomic-polyfill", "hash32", "serde", - "spin 0.9.2", + "spin", "stable_deref_trait", ] @@ -1809,7 +1809,6 @@ dependencies = [ "icu_locid", "icu_provider", "...
15
238
125
0f88681b5ca9f0efe066f238a1cbd341068bc1e4
Shane F. Carr
2022-07-27T18:42:05
Use an abstract predicate function in ForkByKeyProvider (#2249)
diff --git a/components/datetime/tests/datetime.rs b/components/datetime/tests/datetime.rs index f136fbde7b..743475bf31 100644 --- a/components/datetime/tests/datetime.rs +++ b/components/datetime/tests/datetime.rs @@ -40,7 +40,7 @@ use icu_locid::{ use icu_plurals::provider::OrdinalV1Marker; use icu_provider::prelud...
10
579
445
516def57711468639a9eb4ab2f3129107811fa59
Robert Bastian
2022-07-27T16:00:41
`LiteMap` of `&'a [(K, V)]` (#2242)
diff --git a/utils/litemap/Cargo.toml b/utils/litemap/Cargo.toml index f82ddb7bf6..bd101aec8c 100644 --- a/utils/litemap/Cargo.toml +++ b/utils/litemap/Cargo.toml @@ -42,6 +42,14 @@ icu_locid = { version = "0.6", path = "../../components/locid" } icu_benchmark_macros = { version = "0.6", path = "../../tools/benchmark/...
8
321
238
ce89081565377100cf87be54556eaa853c8d30f8
Manish Goregaokar
2022-07-26T22:37:30
Fix error docs (#2199) * Fix error docs
diff --git a/components/datetime/src/error.rs b/components/datetime/src/error.rs index a798c450d6..5949c3f2c1 100644 --- a/components/datetime/src/error.rs +++ b/components/datetime/src/error.rs @@ -58,7 +58,7 @@ pub enum DateTimeFormatterError { /// An error originating from FixedDecimalFormatter #[displaydo...
1
1
1
069f72620601268f3328bf4375c2000ef2f4a4b1
Makoto Kato
2022-07-26T01:15:46
Add a feature option not to use unicode-segmentation (#2212)
diff --git a/experimental/segmenter/Cargo.toml b/experimental/segmenter/Cargo.toml index 4d41dd3d33..fc7f3c2818 100644 --- a/experimental/segmenter/Cargo.toml +++ b/experimental/segmenter/Cargo.toml @@ -60,6 +60,7 @@ required-features = ["lstm"] [features] default = [] -lstm = ["ndarray", "num-traits", "serde", "un...
2
25
5
c99b3122a7e7702ed87214faa166c92f134a0ac9
Shane F. Carr
2022-07-25T22:12:48
Add link to vertical fallback algorithm (#2244)
diff --git a/provider/adapters/src/fallback/mod.rs b/provider/adapters/src/fallback/mod.rs index 9b94a1cf0e..44d40920da 100644 --- a/provider/adapters/src/fallback/mod.rs +++ b/provider/adapters/src/fallback/mod.rs @@ -5,6 +5,11 @@ //! Tools for locale fallback, enabling arbitrary input locales to be mapped into the n...
1
5
0
e571c2580b2270bab9db699f2c5ae523949e251b
Shane F. Carr
2022-07-25T20:37:59
Add extended collator tests in datagen (#2211)
diff --git a/components/collator/src/tests.rs b/components/collator/src/tests.rs index 43df88ee2c..805acbf452 100644 --- a/components/collator/src/tests.rs +++ b/components/collator/src/tests.rs @@ -605,116 +605,6 @@ fn test_ja_chooon_kigoo() { } } -#[ignore] -#[test] -fn test_fi() { - // Adapted from ficoll...
3
193
111
b9616f780fa65d3558b8ad8d5504ddb375902cbe
Shane F. Carr
2022-07-25T18:24:22
Collator: make data provider first argument (#2234)
diff --git a/components/collator/src/comparison.rs b/components/collator/src/comparison.rs index 354f05df89..c181507b39 100644 --- a/components/collator/src/comparison.rs +++ b/components/collator/src/comparison.rs @@ -74,8 +74,8 @@ pub struct Collator { impl Collator { /// Instantiates a collator for a given loc...
3
76
76
628380d5b264db764812dab9bbeee2f482b682b7
Shane F. Carr
2022-07-25T16:22:22
Refactor NormalizationProvider into a single type (#2233)
diff --git a/provider/datagen/src/registry.rs b/provider/datagen/src/registry.rs index 3f1c02d720..00c12239a8 100644 --- a/provider/datagen/src/registry.rs +++ b/provider/datagen/src/registry.rs @@ -104,16 +104,7 @@ macro_rules! create_datagen_provider { $crate::transform::cldr::WeekDataProvider, ...
2
47
91
bc5c1ff1a5be991caf64849314ade59965f33cc3
Manish Goregaokar
2022-07-25T15:51:42
Hide unstable calendar apis (#2229)
diff --git a/components/calendar/src/calendar.rs b/components/calendar/src/calendar.rs index 7bff5327f4..f0f4d22141 100644 --- a/components/calendar/src/calendar.rs +++ b/components/calendar/src/calendar.rs @@ -13,6 +13,9 @@ use core::fmt; /// /// Individual [`Calendar`] implementations may have inherent utility meth...
2
12
0
811b7ab052da6943f09a5f84833e2030df5e463b
Manish Goregaokar
2022-07-25T15:40:45
Remove MockZonedDateTime (#2231) * add parse_zoned_gregorian_from_str * rm ZonedDateTime
diff --git a/components/datetime/Cargo.toml b/components/datetime/Cargo.toml index c629641f67..bdf3275634 100644 --- a/components/datetime/Cargo.toml +++ b/components/datetime/Cargo.toml @@ -55,7 +55,7 @@ icu = { path = "../icu", default-features = false } icu_benchmark_macros = { version = "0.6", path = "../../tools/...
8
143
226
fc84c164bc06ad830455ca49a5f3ab7705d1385f
Makoto Kato
2022-07-25T11:22:44
Use multiple dictionaries for line/word segmenter. (#2209) * Use multiple dictionaries for line/word segmenter. * Remove unnecessary script mapping since I use data provider to get UAX#24 data. * Fix comment of test * Remove more complex defines from word segmenter data. * Don't load dictionary data on lin...
diff --git a/experimental/segmenter/src/complex.rs b/experimental/segmenter/src/complex.rs index 074c70c399..75f49e8183 100644 --- a/experimental/segmenter/src/complex.rs +++ b/experimental/segmenter/src/complex.rs @@ -3,7 +3,7 @@ // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). use alloc::v...
8
209
73
583de584f0ba1cfe3402915989f57aa586c0ca06
Henri Sivonen
2022-07-22T06:27:46
Make sink-writing normalization methods non-experimental (#2201)
diff --git a/Cargo.lock b/Cargo.lock index 35dc3320f7..08c170b3fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,6 +67,12 @@ dependencies = [ "typenum", ] +[[package]] +name = "arrayvec" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da52d66c7071e2e3fa2a1e5c6d08...
4
136
5
84966f979b38370d3c6fc37c5e734e74e8a9474a
Henri Sivonen
2022-07-20T18:41:26
Simplify Hangul composition (#2200) Removes a premature attempt at optimization that did not really make sense as an optimization.
diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index cf0bd64b8b..e4e59550c6 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -1002,44 +1002,6 @@ where return Some(starter); } } - // Eve...
1
4
39
11324a670184c3fec5b712ef3c137125f1bc32f6
Shane F. Carr
2022-07-20T15:26:36
Download icuexportdata in testdata downloader (#2216)
diff --git a/Cargo.lock b/Cargo.lock index 00644a1798..82974fca05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1816,6 +1816,7 @@ dependencies = [ name = "icu_testdata" version = "0.6.0" dependencies = [ + "bytes", "cargo_metadata", "clap", "displaydoc", @@ -1850,6 +1851,7 @@ dependencies = [ "tokio", "writ...
4
266
31
72740735c95bc52ad876ffbb214a60acc11f3e84
Shane F. Carr
2022-07-18T23:58:07
Clean up last remaining traces of #1109 (#2206)
diff --git a/components/datetime/src/raw/datetime.rs b/components/datetime/src/raw/datetime.rs index 35f493d4f3..3344a67461 100644 --- a/components/datetime/src/raw/datetime.rs +++ b/components/datetime/src/raw/datetime.rs @@ -62,10 +62,6 @@ impl TimeFormatter { preferences, )?; - // TODO...
3
17
26
3f4d841ef0b168031d837433d075308bbebf34b7
Manish Goregaokar
2022-07-18T22:03:15
Move ZDTF to TimeZoneInput (#2205) * Split ZonedDTI trait * Fix tests * Better doctest * fix bench * fix * doc links
diff --git a/components/datetime/benches/datetime.rs b/components/datetime/benches/datetime.rs index d6475ea08b..bb30ca0703 100644 --- a/components/datetime/benches/datetime.rs +++ b/components/datetime/benches/datetime.rs @@ -82,7 +82,7 @@ fn datetime_benches(c: &mut Criterion) { let mut result = ...
9
139
215
fc165360d6630509b8806a05dc58b412b4d39757
Shane F. Carr
2022-07-18T18:59:06
Change DataResponseMetadata locale to be set only in fallback provider (#2186)
diff --git a/provider/adapters/src/fallback/adapter.rs b/provider/adapters/src/fallback/adapter.rs index 1a24b270e8..c8211fbe04 100644 --- a/provider/adapters/src/fallback/adapter.rs +++ b/provider/adapters/src/fallback/adapter.rs @@ -33,13 +33,16 @@ use crate::helpers::result_is_err_missing_resource_options; /// ...
15
69
50
58269dedcec1d5e43128210b09161d8343c9f49c
Henri Sivonen
2022-07-16T07:02:14
Simplify Hangul handling when trying to compose a starter with a starter (#2189)
diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index e7dcfbe4e1..1984f2a79c 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -166,6 +166,9 @@ const HANGUL_N_COUNT: u32 = 588; /// Syllable count const HANGUL_S_COUNT: u32 = 11172; +/// One past ...
1
47
82
7b38fc63ecda94d1830a98f8b8de48aa2ace5c24
Manish Goregaokar
2022-07-15T23:07:40
Move map_project to closures (#2185) * Add closures to map_project functions * Update core data provider apis
diff --git a/components/datetime/src/provider/date_time.rs b/components/datetime/src/provider/date_time.rs index 5116cb3701..702dd06ba4 100644 --- a/components/datetime/src/provider/date_time.rs +++ b/components/datetime/src/provider/date_time.rs @@ -93,13 +93,10 @@ where D: ResourceProvider<TimePatternsV1Marker> ...
6
218
253
e3c32af3576978551d06e838dd2cd8e08e686c9d
Yvonne Z
2022-07-15T21:03:22
Make langid and locale macro rules run with a single variant (#2065) * Change Variants to be a ShortVec<Variant> * Remove unused methods and make ShortVec crate-private. * Make langid and locale macro rules run with a single variant * Fix broken tests * Disable clippy type complexity check * Update lang...
diff --git a/components/locid/src/langid.rs b/components/locid/src/langid.rs index 8a334f57cc..de5f63241d 100644 --- a/components/locid/src/langid.rs +++ b/components/locid/src/langid.rs @@ -7,7 +7,7 @@ use core::str::FromStr; use crate::ordering::SubtagOrderingResult; use crate::parser::{ - get_subtag_iterator,...
5
94
35
1a4233ee5cd05cc793a89629d7697a40fe3956ab
snktd
2022-07-15T00:36:21
Removing auto-derived Ord impl for Locale/LangId (#2142)
diff --git a/components/locid/src/extensions/mod.rs b/components/locid/src/extensions/mod.rs index 83e1bcde30..aecf6f7460 100644 --- a/components/locid/src/extensions/mod.rs +++ b/components/locid/src/extensions/mod.rs @@ -86,7 +86,7 @@ impl ExtensionType { } /// A map of extensions associated with a given [`Locale...
6
6
6
93d57245e6513f51bcfd88c2e10cf8a3a7d0a3cc
Robert Bastian
2022-07-13T16:51:07
Baking data into `icu4x_ecma402` (#2158)
diff --git a/Cargo.lock b/Cargo.lock index df9bdfbcd8..79c4fa0401 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -807,12 +807,6 @@ dependencies = [ "memmap2", ] -[[package]] -name = "ecma402_traits" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c62dda8ca85aa46241d...
6
44
42
fa6189afd1863f63bfd634c83f0f8b14af744e77
Robert Bastian
2022-07-13T16:47:24
Datagen performance improvements (#2178)
diff --git a/Cargo.lock b/Cargo.lock index 5ce274886b..df9bdfbcd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1528,6 +1528,7 @@ dependencies = [ "icu_testdata", "icu_uniset", "itertools", + "lazy_static", "log", "proc-macro2", "quote", diff --git a/components/list/src/provider.rs b/components/list/src/prov...
5
59
47
d465df1c14ed76dbe1be5e5f5613dd4a721de767
Robert Bastian
2022-07-13T16:39:01
Comparing rules without `LanguageIdentifier: Ord` (#2167)
diff --git a/provider/datagen/src/transform/cldr/locale_canonicalizer/aliases.rs b/provider/datagen/src/transform/cldr/locale_canonicalizer/aliases.rs index 3674fdfbd1..7253077aa0 100644 --- a/provider/datagen/src/transform/cldr/locale_canonicalizer/aliases.rs +++ b/provider/datagen/src/transform/cldr/locale_canonicali...
1
28
42
b9925154fecc029a67c04a7b1e3bbdc062a038ef
Manish Goregaokar
2022-07-13T03:42:34
Fix Windows CI (#2172)
diff --git a/tools/benchmark/memory/src/main.rs b/tools/benchmark/memory/src/main.rs index e3852d2282..94f691c19b 100644 --- a/tools/benchmark/memory/src/main.rs +++ b/tools/benchmark/memory/src/main.rs @@ -224,10 +224,12 @@ fn main() { println!("[memory] Starting example {:?}", example); - let mut ...
1
4
2
138e2aea5db87f4d9e9a656468e186325fc57ff5
Shane F. Carr
2022-07-11T21:12:07
VarZeroVec refactoring and cleanup (#2047)
diff --git a/utils/zerovec/src/varzerovec/components.rs b/utils/zerovec/src/varzerovec/components.rs index 18a3a1a38f..88fde2da07 100644 --- a/utils/zerovec/src/varzerovec/components.rs +++ b/utils/zerovec/src/varzerovec/components.rs @@ -11,10 +11,16 @@ use core::cmp::Ordering; use core::convert::TryFrom; use core::...
2
187
167
47f093f0a03ea354a50ba1f90f35ee702d3b81c2
Manish Goregaokar
2022-07-11T17:28:27
Improve and rename types::Year/types::Month (#2157) * Turn related_iso into an Option * Year -> FormattableYear * Rename Month to FormattableMonth * mention cyclic/extended
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index f120b70a0d..6977e22a1a 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -219,12 +219,12 @@ impl Calendar for AnyCalendar { } /// The calendar-specific yea...
15
94
75