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
6b503676faf1886ed0c503cc1ede885e207899ce
Shane F. Carr
2023-11-30T23:18:46
Implement IntoIterator for ShortSlice (#4358)
diff --git a/components/locid/src/helpers.rs b/components/locid/src/helpers.rs index d12435fbf3..a29375a30c 100644 --- a/components/locid/src/helpers.rs +++ b/components/locid/src/helpers.rs @@ -279,6 +279,58 @@ impl<'a, K: 'a, V: 'a> StoreIterable<'a, K, V> for ShortSlice<(K, V)> { } } +pub(crate) enum ShortSl...
1
57
0
8366ae166941ab77b76379b0c57ba101d661551a
Shane F. Carr
2023-11-30T21:01:25
ZeroTrie: Add as_borrowed_slice and AsRef impl (#4381)
diff --git a/experimental/zerotrie/src/zerotrie.rs b/experimental/zerotrie/src/zerotrie.rs index f319ed9324..deedcb8144 100644 --- a/experimental/zerotrie/src/zerotrie.rs +++ b/experimental/zerotrie/src/zerotrie.rs @@ -231,6 +231,20 @@ macro_rules! impl_zerotrie_subtype { pub fn as_borrowed(&self) -> &$nam...
1
14
0
9bf252596a28ee51b05a5962fe88a41469be6fd6
Linus Groh
2023-11-19T20:26:48
Handle ParserError::DuplicatedExtension in FFI (#4331)
diff --git a/ffi/capi/src/errors.rs b/ffi/capi/src/errors.rs index bf17a650f3..587ea2087b 100644 --- a/ffi/capi/src/errors.rs +++ b/ffi/capi/src/errors.rs @@ -362,6 +362,7 @@ impl From<ParserError> for ICU4XError { ParserError::InvalidLanguage => ICU4XError::LocaleParserLanguageError, ParserEr...
1
1
0
4d54f71934e95c359902030dde8925f3f1fed24e
Shane F. Carr
2023-11-18T01:09:01
Move datetime auxiliary subtag metadata from icu_datagen to component (#4329)
diff --git a/components/datetime/src/provider/neo.rs b/components/datetime/src/provider/neo.rs index 41c6c589b3..658d3d9755 100644 --- a/components/datetime/src/provider/neo.rs +++ b/components/datetime/src/provider/neo.rs @@ -10,6 +10,105 @@ use icu_provider::prelude::*; use zerovec::ule::UnvalidatedStr; use zerovec...
3
143
94
4e642d45cfd403cbf1f1fdf5d536f3be2ae5ccaf
Younies Mahmoud
2023-11-16T20:44:44
Fix #3900: return an error if the index is greater than MAX_PLACE_HOLDER_INDEX (#4318)
diff --git a/provider/datagen/src/transform/cldr/currency/mod.rs b/provider/datagen/src/transform/cldr/currency/mod.rs index afd24e6ec2..b7749f25d0 100644 --- a/provider/datagen/src/transform/cldr/currency/mod.rs +++ b/provider/datagen/src/transform/cldr/currency/mod.rs @@ -141,8 +141,6 @@ fn extract_currency_essential...
1
16
4
01e79c2247b3f87b2ec1c5991916146b98b8a27f
Manish Goregaokar
2023-11-16T17:24:00
Use relative paths in tests (#4294)
diff --git a/components/casemap/tests/gen_greek_to_me.rs b/components/casemap/tests/gen_greek_to_me.rs index 959c563250..861326bdd2 100644 --- a/components/casemap/tests/gen_greek_to_me.rs +++ b/components/casemap/tests/gen_greek_to_me.rs @@ -10,8 +10,6 @@ use icu_normalizer::DecomposingNormalizer; use icu_properties:...
14
67
88
317c8afebca0c2fcc304762fc0d2130082750b2f
Robert Bastian
2023-11-16T17:16:11
Caching segmenter data (#4316)
diff --git a/provider/datagen/src/provider.rs b/provider/datagen/src/provider.rs index 4c3e8f576b..7fb09fccc7 100644 --- a/provider/datagen/src/provider.rs +++ b/provider/datagen/src/provider.rs @@ -279,70 +279,6 @@ impl DatagenProvider { ) -> Result<impl IntoIterator<Item = icu_locid::LanguageIdentifier>, DataErr...
2
85
70
acd012cbf48a25bf632929fd2c0eefc517c853a5
Robert Bastian
2023-11-15T15:05:35
Format docs (#4301)
diff --git a/components/plurals/src/lib.rs b/components/plurals/src/lib.rs index f05d79cbbe..aa734637cf 100644 --- a/components/plurals/src/lib.rs +++ b/components/plurals/src/lib.rs @@ -801,9 +801,8 @@ where /// use icu::locid::locale; /// use icu::plurals::{PluralCategory, PluralRulesWithRanges}; /// -...
5
42
30
666ef8a7eae8ea8ed539cc49ce265669ef57f44e
Makoto Kato
2023-11-15T15:05:01
Remove hardcoded references in segmenter datagen. (#4298) clean up datagen for segmenter to use icu_properties.
diff --git a/provider/datagen/src/transform/segmenter/mod.rs b/provider/datagen/src/transform/segmenter/mod.rs index 378a6b630d..cef4b7fc01 100644 --- a/provider/datagen/src/transform/segmenter/mod.rs +++ b/provider/datagen/src/transform/segmenter/mod.rs @@ -116,6 +116,19 @@ fn generate_rule_break_data( let data =...
1
26
125
b13804762411c8b0d09c85f98cf371a3f74a0b09
Shane F. Carr
2023-11-15T07:25:43
Datagen: Special-case cfg(test) in registry macro to fix misleading warnings (#4297) Fixes https://github.com/unicode-org/icu4x/issues/4296
diff --git a/provider/datagen/src/registry.rs b/provider/datagen/src/registry.rs index 786d4a4ed0..6265502119 100644 --- a/provider/datagen/src/registry.rs +++ b/provider/datagen/src/registry.rs @@ -4,7 +4,33 @@ use icu_provider::prelude::*; +macro_rules! make_check_all_keys { + ($(#[cfg($feature:meta)] $($mark...
1
46
18
e7178ec2979556d02d44975daa4b4e5cc55d8d93
Adam Chalmers
2023-11-14T23:01:43
Impl Bake for BTreeMap (#4274) Part of #4266
diff --git a/utils/databake/src/alloc.rs b/utils/databake/src/alloc.rs index 95d615cbe1..694ccbcd14 100644 --- a/utils/databake/src/alloc.rs +++ b/utils/databake/src/alloc.rs @@ -79,6 +79,33 @@ fn btree_set() { ); } +impl<K, V> Bake for alloc::collections::BTreeMap<K, V> +where + K: Bake, + V: Bake, +{ + ...
1
27
0
62ccc20050745f45972d871228b816db2523fae7
Manish Goregaokar
2023-11-14T22:21:32
Add some safety comments (#4288)
diff --git a/components/casemap/src/provider/exceptions.rs b/components/casemap/src/provider/exceptions.rs index d58053bc62..133892faf6 100644 --- a/components/casemap/src/provider/exceptions.rs +++ b/components/casemap/src/provider/exceptions.rs @@ -137,6 +137,10 @@ impl ExceptionULE { #[inline] fn empty_exc...
5
15
3
4fb5ff1b55b0a232be0eb92fce19db81190699b5
Robert Bastian
2023-11-14T14:40:06
Don't publish `icu_resb` (#4279)
diff --git a/utils/resb/Cargo.toml b/utils/resb/Cargo.toml index b5277a3dc0..261dac7930 100644 --- a/utils/resb/Cargo.toml +++ b/utils/resb/Cargo.toml @@ -6,6 +6,7 @@ name = "resb" description = "Utilities for reading and writing ICU resource bundle files" version = "0.0.0" +publish = false authors.workspace = tr...
1
1
0
519b019829b1af95d4b14e7fd0107a0ff5d41805
Shane F. Carr
2023-11-14T04:18:52
Bench CI: Add markup to blob provider Cargo.toml (#4285)
diff --git a/provider/blob/Cargo.toml b/provider/blob/Cargo.toml index e8d9122093..8301ed2844 100644 --- a/provider/blob/Cargo.toml +++ b/provider/blob/Cargo.toml @@ -49,6 +49,9 @@ export = [ "zerotrie/litemap", ] +[lib] +bench = false # This option is required for Benchmark CI + [[bench]] name = "blob_versi...
1
3
0
df6bdbaa49c402ce139b0d346b38ab068206257c
Younies Mahmoud
2023-11-13T23:12:35
Fix naming (PlaceHolder --> PlaceholderValue) (#4276)
diff --git a/experimental/singlenumberformatter/src/provider.rs b/experimental/singlenumberformatter/src/provider.rs index 098321fb52..78fa732318 100644 --- a/experimental/singlenumberformatter/src/provider.rs +++ b/experimental/singlenumberformatter/src/provider.rs @@ -100,7 +100,7 @@ pub enum PatternSelection { #[cf...
3
26
26
c504a4f9ec5df63477e1466cd276c3255d82678a
José Julián Espina
2023-11-11T00:00:40
Redesign `PluralRulesWithRanges` (#4272) Closes #4140. Implements the new design proposed in the issue.
diff --git a/components/plurals/src/lib.rs b/components/plurals/src/lib.rs index afb3404b89..f05d79cbbe 100644 --- a/components/plurals/src/lib.rs +++ b/components/plurals/src/lib.rs @@ -284,6 +284,12 @@ impl PluralCategory { #[derive(Debug)] pub struct PluralRules(DataPayload<ErasedPluralRulesV1Marker>); +impl AsR...
1
77
59
83503585b2d16d4d0e3fdbe90f0353b9a200192a
Robert Bastian
2023-11-10T16:55:50
Update `icu_capi` includes (#4264) This now includes docs and examples, which were excluded before. It excludes Dart, as that is not stable yet.
diff --git a/ffi/capi/Cargo.toml b/ffi/capi/Cargo.toml index a4a05927c6..f10c49df80 100644 --- a/ffi/capi/Cargo.toml +++ b/ffi/capi/Cargo.toml @@ -7,11 +7,11 @@ name = "icu_capi" description = "C interface to ICU4X" license-file = "LICENSE" include = [ + "js/**/*", + "c/**/*", + "cpp/**/*", "src/**/*",...
1
3
3
c472292c3e46dc0e14b5e764f95374882be8a494
Adam Chalmers
2023-11-09T23:16:32
Impl Bake for BTreeSet (#4268)
diff --git a/utils/databake/src/alloc.rs b/utils/databake/src/alloc.rs index d75f14e2e9..95d615cbe1 100644 --- a/utils/databake/src/alloc.rs +++ b/utils/databake/src/alloc.rs @@ -57,6 +57,28 @@ fn vec() { test_bake!(Vec<u8>, alloc::vec![1u8, 2u8,], alloc); } +impl<T> Bake for alloc::collections::BTreeSet<T> +wh...
1
22
0
d183e5f0b3972f5129b4c3b4cf019798e7392a6a
José Julián Espina
2023-11-09T17:17:36
Implement `Any/BufferProvider` for some smart pointers (#4255) Allows storing them as a `Box<dyn Any/BufferProvider>` without using a wrapper type that implements the trait.
diff --git a/provider/core/src/any.rs b/provider/core/src/any.rs index 8e1b3c4686..243055d212 100644 --- a/provider/core/src/any.rs +++ b/provider/core/src/any.rs @@ -350,12 +350,31 @@ pub trait AnyProvider { fn load_any(&self, key: DataKey, req: DataRequest) -> Result<AnyResponse, DataError>; } +impl<'a, T: An...
2
50
0
8c51f5b8f18a43ac039181f9eac368ec2d781679
Bruce Mitchener
2023-11-09T17:02:22
litemap: Remove unnecessary map calls. (#4261) This was detected by clippy.
diff --git a/utils/litemap/src/map.rs b/utils/litemap/src/map.rs index dd1015b735..195a46d723 100644 --- a/utils/litemap/src/map.rs +++ b/utils/litemap/src/map.rs @@ -107,7 +107,7 @@ where /// ``` #[inline] pub fn first(&self) -> Option<(&K, &V)> { - self.values.lm_get(0).map(|(k, v)| (k, v)) + ...
1
2
2
caeb5f95b3f61ab6c3b0f91a245da187eceeda9b
Shane F. Carr
2023-11-08T01:24:51
Add bench feature to icu_provider_blob (#4253)
diff --git a/provider/blob/Cargo.toml b/provider/blob/Cargo.toml index c74542ace8..e8d9122093 100644 --- a/provider/blob/Cargo.toml +++ b/provider/blob/Cargo.toml @@ -37,6 +37,7 @@ icu_datagen = { path = "../../provider/datagen", features = ["networking"] } criterion = "0.4" [features] +bench = [] std = ["icu_prov...
1
1
0
236ec1bfbadf3ee51bf125c50febf74132bafa35
Robert Bastian
2023-11-04T01:47:41
Fix CI (#4254)
diff --git a/Cargo.lock b/Cargo.lock index 5eb5a304ac..23702d7a99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,7 +194,7 @@ dependencies = [ [[package]] name = "bakeddata-scripts" -version = "0.0.0" +version = "1.3.2" dependencies = [ "icu", "icu_compactdecimal", diff --git a/provider/baked/_template_/Cargo...
15
61
39
c6fc2f43e8346c6f67e920fa95045488d79513ef
Makoto Kato
2023-11-02T03:49:09
Add support to parse UAX#29 properties in unicodeset_parse (#4175) Support for parsing `\{Grapheme_Cluster_Break=CR}` etc easily
diff --git a/experimental/transliterate/src/compile/mod.rs b/experimental/transliterate/src/compile/mod.rs index 7192870914..92705d18c7 100644 --- a/experimental/transliterate/src/compile/mod.rs +++ b/experimental/transliterate/src/compile/mod.rs @@ -170,6 +170,8 @@ impl RuleCollection { + DataProvider<Ext...
3
122
5
582e46cd5bac851d25eea6188e5641ad99ce8a78
Gabriel de Perthuis
2023-10-30T17:37:09
Derive Eq and Hash in datetime::options (#4230)
diff --git a/components/datetime/src/options/components.rs b/components/datetime/src/options/components.rs index 1d56474796..c248f908ec 100644 --- a/components/datetime/src/options/components.rs +++ b/components/datetime/src/options/components.rs @@ -99,7 +99,7 @@ use serde::{Deserialize, Serialize}; /// of the icu me...
3
13
13
52887c1b5da8e4ad9e1b288914dd984ea28ad974
Shane F. Carr
2023-10-27T21:34:43
Update version numbers of selected crates to 1.3.4
diff --git a/Cargo.lock b/Cargo.lock index 30cac7d3d0..4257d4e04b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1404,7 +1404,7 @@ dependencies = [ [[package]] name = "icu_compactdecimal_data" -version = "1.3.3" +version = "1.3.4" [[package]] name = "icu_datagen" @@ -1495,7 +1495,7 @@ dependencies = [ [[packag...
6
10
10
acd0205184ef41fcd2d01af8020a6c7e5d246545
Shane F. Carr
2023-10-27T19:06:24
Update version numbers of selected crates to 1.3.3 (#4233)
diff --git a/Cargo.lock b/Cargo.lock index 5c630bab2b..30cac7d3d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1404,11 +1404,11 @@ dependencies = [ [[package]] name = "icu_compactdecimal_data" -version = "1.3.2" +version = "1.3.3" [[package]] name = "icu_datagen" -version = "1.3.2" +version = "1.3.3" dependenc...
7
12
12
3e4b1eecd6879620ebe14b8c2bdc71cf8ed72e01
Shane F. Carr
2023-10-27T03:18:04
Fix datagen deduplication algorithm. Create and update tests. (#4233) (cherry picked from commit 03cba376ca59c4354c11a744f761873239a0ebbc)
diff --git a/components/decimal/src/format.rs b/components/decimal/src/format.rs index 301527463e..9eebc3edfd 100644 --- a/components/decimal/src/format.rs +++ b/components/decimal/src/format.rs @@ -64,3 +64,19 @@ impl<'l> Writeable for FormattedFixedDecimal<'l> { } writeable::impl_display_with_writeable!(Formatted...
3
29
8
03cba376ca59c4354c11a744f761873239a0ebbc
Shane F. Carr
2023-10-27T03:18:04
Fix datagen deduplication algorithm. Create and update tests. (#4233)
diff --git a/components/decimal/src/format.rs b/components/decimal/src/format.rs index 301527463e..9eebc3edfd 100644 --- a/components/decimal/src/format.rs +++ b/components/decimal/src/format.rs @@ -64,3 +64,19 @@ impl<'l> Writeable for FormattedFixedDecimal<'l> { } writeable::impl_display_with_writeable!(Formatted...
3
29
8
9200475890ac6b2e5d565f4070dc0d032bd0918c
Shane F. Carr
2023-10-26T23:16:25
Add impl From<DecimalError> for DateTimeError and use it (#4224)
diff --git a/components/datetime/src/error.rs b/components/datetime/src/error.rs index 47ba9bbdef..53b6cf9ee7 100644 --- a/components/datetime/src/error.rs +++ b/components/datetime/src/error.rs @@ -105,3 +105,9 @@ impl From<CalendarError> for DateTimeError { DateTimeError::DateTimeInput(e) } } + +impl F...
3
30
20
e826a2e03996c3e6a9d92989d99d1742601adbd7
Shane F. Carr
2023-10-26T01:19:28
Add AuxiliaryKeys::from_subtag (#4223) We still have #3632 open to continue bikeshedding on API design.
diff --git a/provider/core/src/request.rs b/provider/core/src/request.rs index cb519f297e..44436a0b2b 100644 --- a/provider/core/src/request.rs +++ b/provider/core/src/request.rs @@ -916,6 +916,25 @@ impl AuxiliaryKeys { } } + /// Creates an [`AuxiliaryKeys`] from a single subtag. + /// + /// #...
1
19
0
e122add7404d866e966a6428ef9a9486be83d855
Shane F. Carr
2023-10-25T00:05:38
ZeroTrie: Add some tests for locale with aux key (#4206) Related: https://github.com/unicode-org/icu4x/issues/4216, https://github.com/unicode-org/icu4x/pull/4207, https://github.com/unicode-org/icu4x/issues/2699 See the numbers in locale_aux_test.rs
diff --git a/Cargo.lock b/Cargo.lock index 9d4132f849..dc8e1f787d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4430,12 +4430,14 @@ dependencies = [ "databake", "displaydoc", "icu_benchmark_macros", + "icu_locid", "litemap", "postcard", "rand", "rand_pcg", "serde", "serde_json", + "writeable", "yoke"...
4
182
0
fbe917409769d7ce566abd3e31bfe337e396430a
Robert Bastian
2023-10-24T09:26:02
Fix time zone rule example (#4200)
diff --git a/utils/resb/Cargo.toml b/utils/resb/Cargo.toml index fecdd15f66..b5277a3dc0 100644 --- a/utils/resb/Cargo.toml +++ b/utils/resb/Cargo.toml @@ -47,3 +47,5 @@ required-features = ["serialize", "text"] [[example]] name = "time_zone_rule" +# run in `cargo test` +harness = false diff --git a/utils/resb/examp...
3
9
13
e155066580ae108882ee81b722b45fea77fef4c6
Manish Goregaokar
2023-10-24T00:37:07
Cyclic years are never numeric (#4211)
diff --git a/components/datetime/src/fields/symbols.rs b/components/datetime/src/fields/symbols.rs index c1f59058f1..9eabbeaabb 100644 --- a/components/datetime/src/fields/symbols.rs +++ b/components/datetime/src/fields/symbols.rs @@ -453,10 +453,19 @@ field_type! ( /// Field symbol for related ISO; some calen...
1
10
1
10382174bd392935ac1be3541e9996472d78c3eb
Manish Goregaokar
2023-10-21T02:55:41
split neo datetime patterns keys (#4202)
diff --git a/components/datetime/src/provider/neo.rs b/components/datetime/src/provider/neo.rs index 09de0e5e94..12093b0768 100644 --- a/components/datetime/src/provider/neo.rs +++ b/components/datetime/src/provider/neo.rs @@ -4,7 +4,7 @@ mod adapter; -use crate::pattern::{self, runtime}; +use crate::pattern::runt...
1
43
17
a1206459989ac4afee545714d82f78fd8962ded3
Shane F. Carr
2023-10-21T02:41:46
Change internal DateSymbols trait so it can be implemented on neo (#4203)
diff --git a/components/datetime/src/format/datetime.rs b/components/datetime/src/format/datetime.rs index 5b7e3432b2..38a0cd00de 100644 --- a/components/datetime/src/format/datetime.rs +++ b/components/datetime/src/format/datetime.rs @@ -307,30 +307,20 @@ where .ok_or(Error::MissingInputField(Some...
2
59
44
1299c57209348c51d8096f00c61537b2a4e26c38
Shane F. Carr
2023-10-21T01:12:59
More thorough aux key subtag check (#4201)
diff --git a/components/datetime/src/provider/neo/adapter.rs b/components/datetime/src/provider/neo/adapter.rs index a1615fce7e..7032e47f82 100644 --- a/components/datetime/src/provider/neo/adapter.rs +++ b/components/datetime/src/provider/neo/adapter.rs @@ -21,15 +21,23 @@ mod subtag_consts { } fn single_aux_subta...
1
17
9
a88ee846a6105eb186d98774dfe1a2c2e7b4fb50
Manish Goregaokar
2023-10-21T00:17:29
Cache the era code maps (#4199)
diff --git a/Cargo.lock b/Cargo.lock index 3a41cedb34..50e937485e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1435,6 +1435,7 @@ dependencies = [ "crlify", "databake", "displaydoc", + "either", "elsa", "eyre", "fraction", diff --git a/provider/datagen/Cargo.toml b/provider/datagen/Cargo.toml index 1d1964e99...
4
58
71
35212bfb680aa5a5f95f992a31c48df3f65fe44a
Shane F. Carr
2023-10-20T20:21:56
Better Debug impl for UnvalidatedTinyAsciiStr (#4189)
diff --git a/utils/tinystr/src/unvalidated.rs b/utils/tinystr/src/unvalidated.rs index 2fffbbc119..c529f2906a 100644 --- a/utils/tinystr/src/unvalidated.rs +++ b/utils/tinystr/src/unvalidated.rs @@ -4,6 +4,7 @@ use crate::TinyAsciiStr; use crate::TinyStrError; +use core::fmt; /// A fixed-length bytes array that ...
1
12
1
cb0303a13616f985614d09e175669289b03195a9
Shane F. Carr
2023-10-20T20:21:42
ZeroMap: Conversion functions for AsULE keys and values (#4188)
diff --git a/utils/zerovec/src/map/map.rs b/utils/zerovec/src/map/map.rs index 692e265d66..6801869c96 100644 --- a/utils/zerovec/src/map/map.rs +++ b/utils/zerovec/src/map/map.rs @@ -4,7 +4,7 @@ use super::*; use crate::ule::{AsULE, EncodeAsVarULE, VarULE}; -use crate::{VarZeroVec, ZeroSlice, ZeroVec}; +use crate::...
1
87
1
1e7d87345426d61ac73b34e5fb6702818a6f754e
Manish Goregaokar
2023-10-20T07:21:31
Minor neo Datetime fixes (#4190)
diff --git a/components/datetime/src/provider/mod.rs b/components/datetime/src/provider/mod.rs index 4284ba7f42..f9d100d3ba 100644 --- a/components/datetime/src/provider/mod.rs +++ b/components/datetime/src/provider/mod.rs @@ -27,7 +27,7 @@ pub mod time_zones; /// including in SemVer minor releases. While the serde re...
2
9
5
61469c909fc78e17579b1ab2488d0541758e3ebf
Manish Goregaokar
2023-10-19T22:13:03
Split neo symbols structs into calendars (#4185)
diff --git a/components/datetime/src/provider/neo.rs b/components/datetime/src/provider/neo.rs index 7bae4167e3..638735ce9d 100644 --- a/components/datetime/src/provider/neo.rs +++ b/components/datetime/src/provider/neo.rs @@ -16,7 +16,24 @@ use zerovec::{VarZeroVec, ZeroMap}; /// including in SemVer minor releases. W...
1
40
3
9da7935cfa2ae0f2ddda7025505b182376ad2f20
Manish Goregaokar
2023-10-19T21:24:09
Add experimental new symbols structs (#4174)
diff --git a/components/datetime/src/provider/mod.rs b/components/datetime/src/provider/mod.rs index 44ab0ffc4a..4284ba7f42 100644 --- a/components/datetime/src/provider/mod.rs +++ b/components/datetime/src/provider/mod.rs @@ -19,6 +19,17 @@ pub mod calendar; pub(crate) mod date_time; pub mod time_zones; +/// Modul...
2
183
0
e7cf3d737750f32a9ed5d5b5954fd0a2e22cc1d9
Shane F. Carr
2023-10-18T06:46:56
Fix indexing bug in ZeroMap2d::insert (#4160)
diff --git a/utils/zerovec/src/map2d/map.rs b/utils/zerovec/src/map2d/map.rs index 90854018f0..a50ef2c77c 100644 --- a/utils/zerovec/src/map2d/map.rs +++ b/utils/zerovec/src/map2d/map.rs @@ -299,15 +299,34 @@ where /// Insert `value` with `key`, returning the existing value if it exists. /// - /// See ex...
1
60
3
b70528d1dd04d6368641b236e6b8556127262d6c
Shane F. Carr
2023-10-18T01:43:03
Update icu_collator dependency version on icu_collator_data to 1.3.3
diff --git a/Cargo.toml b/Cargo.toml index b7e08c1734..8254e12ca4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -165,7 +165,7 @@ icu_unitsconversion = { version = "0.0.0", path = "experimental/unitsconversion" # Components data icu_calendar_data = { version = "~1.3.2", path = "components/calendar/data", default-feature...
1
1
1
82b0f86360ed8670955dd68e57aced26c4a3e129
Shane F. Carr
2023-10-18T01:32:00
Update icu_collator[_data] to 1.3.3
diff --git a/Cargo.lock b/Cargo.lock index 238e843a26..5c630bab2b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1338,7 +1338,7 @@ dependencies = [ [[package]] name = "icu_collator" -version = "1.3.2" +version = "1.3.3" dependencies = [ "arraystring", "atoi", @@ -1362,7 +1362,7 @@ dependencies = [ [[package]]...
4
5
5
412cbb78baac1986f0cd688102de7b9dcfb5d9b6
Shane F. Carr
2023-10-18T01:24:39
cargo make bakeddata components/collator
diff --git a/components/collator/data/data/macros/collator_dia_v1.data.rs b/components/collator/data/data/macros/collator_dia_v1.data.rs index d5adf35a0d..6dcc5ec180 100644 --- a/components/collator/data/data/macros/collator_dia_v1.data.rs +++ b/components/collator/data/data/macros/collator_dia_v1.data.rs @@ -9,18 +9,2...
1
18
9
81beb478dd8ec5f021e30eb79194795e7cc2903e
Shane F. Carr
2023-10-16T22:56:33
Make CollationDiacriticsV1Marker not be singleton (cherry picked from commit e15cfcc7af6acbb118a660b7407c0352b538e95f)
diff --git a/components/collator/src/provider.rs b/components/collator/src/provider.rs index b94a1b243b..5812e09399 100644 --- a/components/collator/src/provider.rs +++ b/components/collator/src/provider.rs @@ -223,7 +223,6 @@ impl<'data> CollationDataV1<'data> { extension_key = "co", fallback_by = "collation...
1
0
1
697a34fac427a1b913f5fe243f6d596ba90a77f5
Robert Bastian
2023-10-17T07:10:19
Fix collator `supported_locales` (#4169)
diff --git a/provider/datagen/src/transform/icuexport/collator/mod.rs b/provider/datagen/src/transform/icuexport/collator/mod.rs index b99f8dcb9c..48dd411d30 100644 --- a/provider/datagen/src/transform/icuexport/collator/mod.rs +++ b/provider/datagen/src/transform/icuexport/collator/mod.rs @@ -139,11 +139,7 @@ macro_ru...
1
0
4
fef13b684b31ba2c09e6898556d50073792154b4
Shane F. Carr
2023-10-16T22:39:24
Change datagen time zone untagged enum resolution to work with CLDR 44 (#4158)
diff --git a/provider/datagen/src/transform/cldr/cldr_serde/time_zones/time_zone_names.rs b/provider/datagen/src/transform/cldr/cldr_serde/time_zones/time_zone_names.rs index 42c5dd5ddb..e71a400b80 100644 --- a/provider/datagen/src/transform/cldr/cldr_serde/time_zones/time_zone_names.rs +++ b/provider/datagen/src/trans...
2
15
40
c3931c6e93574c88fe48e0717e81c802dd75909d
Manish Goregaokar
2023-10-16T19:15:11
Add field-getters for MultiVarULE fields (#4164)
diff --git a/utils/zerovec/derive/examples/make_var.rs b/utils/zerovec/derive/examples/make_var.rs index 47e1418cdb..3433c366f7 100644 --- a/utils/zerovec/derive/examples/make_var.rs +++ b/utils/zerovec/derive/examples/make_var.rs @@ -5,7 +5,7 @@ use std::borrow::Cow; use zerofrom::ZeroFrom; -use zerovec::*; +use z...
3
71
7
711109622b2e6d5b132ddd3f975105eb1cbcf859
Shane F. Carr
2023-10-16T18:17:00
Add new decimal pattern used in Toki Pona (`tok`) (#4156)
diff --git a/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs b/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs index 6b888603b0..6ee6271425 100644 --- a/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs +++ b/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs @@ -6...
1
1
0
e70367dc777227df277105b3d5c4ae48207c83a5
Shane F. Carr
2023-10-16T10:05:14
Datagen: Change time zone transforms to BTreeMap (#4159)
diff --git a/provider/datagen/src/transform/cldr/cldr_serde/time_zones/bcp47_tzid.rs b/provider/datagen/src/transform/cldr/cldr_serde/time_zones/bcp47_tzid.rs index 34653a1797..8a87760885 100644 --- a/provider/datagen/src/transform/cldr/cldr_serde/time_zones/bcp47_tzid.rs +++ b/provider/datagen/src/transform/cldr/cldr_...
5
26
27
169e70d35454b211f52e5e9c25d69cbf793dbf18
Manish Goregaokar
2023-10-14T16:59:05
Add more clippy allows for yoke (#4152)
diff --git a/utils/yoke/derive/Cargo.toml b/utils/yoke/derive/Cargo.toml index 342cc3c456..67e5fad776 100644 --- a/utils/yoke/derive/Cargo.toml +++ b/utils/yoke/derive/Cargo.toml @@ -28,5 +28,5 @@ syn = { version = "2", features = ["derive", "fold"] } synstructure = "0.13" [dev-dependencies] -yoke = { path = ".." }...
2
4
4
63f0392f1b87e690f8792c2c17c21ae0370d1723
Shane F. Carr
2023-10-14T15:33:47
Set the DateTimeFormat size test to #[ignore] (#4162)
diff --git a/components/datetime/src/lib.rs b/components/datetime/src/lib.rs index aa45f0e58e..74f429ca6a 100644 --- a/components/datetime/src/lib.rs +++ b/components/datetime/src/lib.rs @@ -200,6 +200,8 @@ mod tests { } #[test] + // TODO(#3413): Delete this test when no longer needed. + #[ignore] // ...
1
2
0
a8874492cc85bc99d5aa0394f5dbfcf625d53077
Shane F. Carr
2023-10-12T22:09:24
Touch tutorials lockfile (#4147)
diff --git a/docs/tutorials/Cargo.lock b/docs/tutorials/Cargo.lock index 4a1c4f4707..03742b89f0 100644 --- a/docs/tutorials/Cargo.lock +++ b/docs/tutorials/Cargo.lock @@ -399,7 +399,6 @@ dependencies = [ "databake-derive", "proc-macro2", "quote", - "syn 2.0.37", ] [[package]] @@ -705,7 +704,7 @@ dependencies ...
1
52
53
2cf173a827fc9b77dad510f59c29290d90639d12
Elango Cheran
2023-10-12T21:58:04
Fix parser for cldr-json exemplar chars for `\"` (escaped double quote) (#4148)
diff --git a/provider/datagen/src/transform/cldr/characters/mod.rs b/provider/datagen/src/transform/cldr/characters/mod.rs index d56f2084fb..68ea8b7e94 100644 --- a/provider/datagen/src/transform/cldr/characters/mod.rs +++ b/provider/datagen/src/transform/cldr/characters/mod.rs @@ -173,14 +173,9 @@ fn unescape_exemplar...
1
57
9
8f1ad9b85eebc43ba38f8ee625dae0f5809bc499
Shane F. Carr
2023-10-06T11:18:59
Bump versions of experimental/ecma402 and experimental/harfbuzz (#4122)
diff --git a/Cargo.lock b/Cargo.lock index b435dfa255..ceaca58338 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1207,7 +1207,7 @@ dependencies = [ [[package]] name = "icu4x_ecma402" -version = "0.8.0" +version = "0.8.1" dependencies = [ "ecma402_traits", "icu", @@ -1584,7 +1584,7 @@ dependencies = [ [[packag...
4
6
6
e821488e4f9c007b2b84a58f82f69f7500f46a9f
Manish Goregaokar
2023-10-05T19:18:14
Do not pull in `syn` as a "normal" dep (#4117) * Add test ensuring we don't pull in `syn` as a normal dep * Remove `syn` from databake Non-proc-macro deps are compiled separately; and this dep brings `syn` out of the shadow realm of proc-macro deps into the real world, linking it into the final artifact (though ...
diff --git a/Cargo.lock b/Cargo.lock index 515b2eaf71..b435dfa255 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -681,7 +681,6 @@ dependencies = [ "databake-derive", "proc-macro2", "quote", - "syn 2.0.37", ] [[package]] @@ -1461,12 +1460,12 @@ dependencies = [ "ndarray", "once_cell", "postcard", + "proc-ma...
6
31
20
ac390154c7650010a819ee58bd48552e64f2c3f0
Robert Bastian
2023-10-02T09:55:58
Improving `icu_locid_transform` docs (#4099)
diff --git a/components/locid_transform/src/canonicalizer.rs b/components/locid_transform/src/canonicalizer.rs index cbbb92e144..5a3782638a 100644 --- a/components/locid_transform/src/canonicalizer.rs +++ b/components/locid_transform/src/canonicalizer.rs @@ -20,11 +20,7 @@ use icu_locid::{ use icu_provider::prelude::*...
9
53
33
a766bbdfec165b7eca9dfcc5640763c69cbe2854
Robert Bastian
2023-10-02T06:14:02
Clean up `icu_datetime/experimental` (#4096)
diff --git a/components/datetime/src/any/datetime.rs b/components/datetime/src/any/datetime.rs index 10c46e9234..290b014ee9 100644 --- a/components/datetime/src/any/datetime.rs +++ b/components/datetime/src/any/datetime.rs @@ -2,8 +2,6 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: http...
11
93
118
9e7e9a26eaba16320634d42d9a7da9aa8978a0ba
Robert Bastian
2023-09-26T16:14:48
Fix duplicate features docs (#4097)
diff --git a/components/calendar/src/week_of.rs b/components/calendar/src/week_of.rs index 259c120fd7..d108347c47 100644 --- a/components/calendar/src/week_of.rs +++ b/components/calendar/src/week_of.rs @@ -47,6 +47,10 @@ impl WeekCalculator { options: skip, error: CalendarError, /// Creates ...
2
4
4
713c90eeab59279c90c6f74df3096ef7bb9e6e67
Shane F. Carr
2023-09-24T16:32:16
Exclude icu_personnames from release
diff --git a/experimental/personnames/Cargo.toml b/experimental/personnames/Cargo.toml index 6f860731f7..b98dcdf745 100644 --- a/experimental/personnames/Cargo.toml +++ b/experimental/personnames/Cargo.toml @@ -7,6 +7,7 @@ name = "icu_personnames" description = "API for formatting person names according to language-de...
1
1
0
7f87e6cbae5005d464a4414c77f2aa2519bbbc14
Shane F. Carr
2023-09-24T16:10:16
Use released version of elsa (#4087)
diff --git a/Cargo.lock b/Cargo.lock index 2da66042a7..770e2ef0d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -810,14 +810,6 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" -[[package]] -name = "elsa"...
3
6
13
6b49fea52b117fed3ee4cf3c550a44783f69f4d2
Shane F. Carr
2023-09-23T23:33:01
Update relativetime to 0.1.2 (#4086)
diff --git a/Cargo.lock b/Cargo.lock index d46426edaf..2da66042a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1831,7 +1831,7 @@ dependencies = [ [[package]] name = "icu_relativetime" -version = "0.1.1" +version = "0.1.2" dependencies = [ "databake", "displaydoc", diff --git a/Cargo.toml b/Cargo.toml index 81c...
5
6
6
46264c710704ac5c1103fbe008a18b59a271e1ca
Shane F. Carr
2023-09-23T17:58:45
Use paths for dev dependencies (#4082)
diff --git a/components/calendar/Cargo.toml b/components/calendar/Cargo.toml index b3ac176adf..8012ea8223 100644 --- a/components/calendar/Cargo.toml +++ b/components/calendar/Cargo.toml @@ -35,8 +35,8 @@ icu_calendar_data = { workspace = true, optional = true } icu_locid_transform = { workspace = true, optional = tru...
31
70
70
65df8a5e390a3166fb52111107961a7cd348369e
Shane F. Carr
2023-09-23T17:58:34
Move licence-file back into individual Cargo.toml files (#4083)
diff --git a/components/calendar/Cargo.toml b/components/calendar/Cargo.toml index bbbd6a8858..b3ac176adf 100644 --- a/components/calendar/Cargo.toml +++ b/components/calendar/Cargo.toml @@ -5,13 +5,13 @@ [package] name = "icu_calendar" description = "API for supporting various types of calendars" +license-file = "L...
72
78
73
36065db21e17fa66b08c3acb3bd9f557f9294301
Robert Bastian
2023-09-22T15:20:58
rm spinlock (#4076)
diff --git a/experimental/transliterate/src/compile/mod.rs b/experimental/transliterate/src/compile/mod.rs index b080b3cfd4..7192870914 100644 --- a/experimental/transliterate/src/compile/mod.rs +++ b/experimental/transliterate/src/compile/mod.rs @@ -8,6 +8,7 @@ use alloc::collections::BTreeMap; use alloc::format; us...
4
14
67
e513d9668b3cb83580c32f4a73d3d996a62ee998
Robert Bastian
2023-09-21T22:12:31
Adding `icu_transliterate` to meta crate (#4057)
diff --git a/Cargo.lock b/Cargo.lock index 266add4052..898ff8d4c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1103,6 +1103,7 @@ dependencies = [ "icu_relativetime", "icu_segmenter", "icu_timezone", + "icu_transliterate", "writeable", ] diff --git a/components/icu/Cargo.toml b/components/icu/Cargo.toml index...
15
165
96
157aa789f8e7e6f4211fd8d70cbca5a231da06d2
Shane F. Carr
2023-09-21T18:01:30
Add more functions to CompactDecimalFormatter (#3699)
diff --git a/experimental/compactdecimal/Cargo.toml b/experimental/compactdecimal/Cargo.toml index 110c3cd952..e1a7db74c9 100644 --- a/experimental/compactdecimal/Cargo.toml +++ b/experimental/compactdecimal/Cargo.toml @@ -46,3 +46,4 @@ std = ["fixed_decimal/std", "icu_decimal/std", "icu_plurals/std", "icu_provider/ s...
4
201
10
368010405a7355715589e1f164ce3ce8beabe205
Shane F. Carr
2023-09-21T15:50:09
Make auxiliary key code experimental (#4061) Co-authored-by: Robert Bastian <4706271+robertbastian@users.noreply.github.com>
diff --git a/experimental/transliterate/Cargo.toml b/experimental/transliterate/Cargo.toml index 50504221d4..8e7db20590 100644 --- a/experimental/transliterate/Cargo.toml +++ b/experimental/transliterate/Cargo.toml @@ -20,7 +20,7 @@ rust-version.workspace = true all-features = true [dependencies] -icu_provider = { ...
5
128
20
f518df24b0369c6d3d8f7bc44ee0fe74230893b8
Manish Goregaokar
2023-09-21T01:05:48
More calendar fixups (#4060) * add fixture * benches * Update components/datetime/tests/datetime.rs Co-authored-by: Shane F. Carr <shane@unicode.org> * Update components/calendar/src/roc.rs Co-authored-by: Shane F. Carr <shane@unicode.org> --------- Co-authored-by: Shane F. Carr <shane@unicode.org>
diff --git a/components/calendar/benches/date.rs b/components/calendar/benches/date.rs index 13c0fc6521..5171b6d9a6 100644 --- a/components/calendar/benches/date.rs +++ b/components/calendar/benches/date.rs @@ -109,6 +109,24 @@ fn date_benches(c: &mut Criterion) { |y, m, d| Date::try_new_indian_date(y, m, d).u...
3
76
27
2471f942b23ae89d8a2bb8e91559455df9f8a48c
Manish Goregaokar
2023-09-20T17:31:52
Fixups for calendars from the 1.3 checklist (#4059)
diff --git a/components/calendar/src/hebrew.rs b/components/calendar/src/hebrew.rs index 4eed79099d..08238ca24c 100644 --- a/components/calendar/src/hebrew.rs +++ b/components/calendar/src/hebrew.rs @@ -34,6 +34,7 @@ use crate::calendar_arithmetic::{ArithmeticDate, CalendarArithmetic}; use crate::types::Formattable...
2
18
34
4a09aee165e94d9c08296695758e289d464acaf0
Robert Bastian
2023-09-14T18:27:03
LocaleDirectionality API review feedback (#4040)
diff --git a/components/locid_transform/src/directionality.rs b/components/locid_transform/src/directionality.rs index 806f7aeb21..be450fdc9f 100644 --- a/components/locid_transform/src/directionality.rs +++ b/components/locid_transform/src/directionality.rs @@ -5,7 +5,7 @@ use crate::provider::*; use crate::{LocaleE...
2
51
38
a7df9de239e870295032a301e602afd77ffa7e74
Shane F. Carr
2023-09-13T17:30:17
Some steps on the stabilization checklist (#4035)
diff --git a/experimental/zerotrie/src/byte_phf/builder.rs b/experimental/zerotrie/src/byte_phf/builder.rs index 75decfbe3a..5f7819842e 100644 --- a/experimental/zerotrie/src/byte_phf/builder.rs +++ b/experimental/zerotrie/src/byte_phf/builder.rs @@ -100,6 +100,9 @@ pub fn find(bytes: &[u8]) -> Result<(u8, Vec<u8>), Er...
4
45
5
8aad29e4a46cd295382f1a7169f14ff02b430dcc
Shane F. Carr
2023-09-12T10:30:56
ZeroTrie: change map_store to pub convert_store (#4022)
diff --git a/experimental/zerotrie/src/serde.rs b/experimental/zerotrie/src/serde.rs index 9bb8f35df6..9303f2b0e5 100644 --- a/experimental/zerotrie/src/serde.rs +++ b/experimental/zerotrie/src/serde.rs @@ -108,12 +108,12 @@ where let lm = LiteMap::<Box<ByteStr>, usize>::deserialize(deserializer)?; ...
2
48
35
4575402e499627a89c79cbf5f568ef5e79e0dd3d
Shane F. Carr
2023-09-12T08:00:23
ZeroTrie: add Bake, Yoke, and ZeroFrom impls (#4021)
diff --git a/Cargo.lock b/Cargo.lock index a93412ad46..eb211193d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4298,6 +4298,7 @@ version = "0.0.0" dependencies = [ "bincode", "criterion", + "databake", "displaydoc", "icu_benchmark_macros", "litemap", @@ -4306,6 +4307,8 @@ dependencies = [ "rand_pcg", "se...
4
177
3
8304850dcb38bf9a683d779fb01a03df70e7b208
Manish Goregaokar
2023-09-12T03:43:20
remove fixed comments (#4018)
diff --git a/utils/calendrical_calculations/src/hebrew.rs b/utils/calendrical_calculations/src/hebrew.rs index 5e792a9373..60c7eea391 100644 --- a/utils/calendrical_calculations/src/hebrew.rs +++ b/utils/calendrical_calculations/src/hebrew.rs @@ -225,10 +225,6 @@ impl BookHebrew { } } - // "Fixed" is...
2
0
11
06ea67f1353420c5488ed1f1a8d48331df076505
Shane F. Carr
2023-09-11T13:41:22
ZeroTrie: fix features; move data.rs to a submodule (#4023)
diff --git a/experimental/zerotrie/Cargo.toml b/experimental/zerotrie/Cargo.toml index c1437b986b..f1997eb162 100644 --- a/experimental/zerotrie/Cargo.toml +++ b/experimental/zerotrie/Cargo.toml @@ -56,6 +56,11 @@ serde = ["dep:serde", "dep:litemap", "alloc", "litemap/serde", "zerovec?/serde"] [[bench]] name = "overv...
7
10
5
1175608b5e65c9ca9114d9edccbb38675992d890
Shane F. Carr
2023-09-11T10:47:25
Fix icu_capi cargo-all-features (#4019)
diff --git a/ffi/diplomat/src/data_struct.rs b/ffi/diplomat/src/data_struct.rs index 482c4f1d74..33f8fdfa27 100644 --- a/ffi/diplomat/src/data_struct.rs +++ b/ffi/diplomat/src/data_struct.rs @@ -11,8 +11,9 @@ pub mod ffi { #[cfg(feature = "icu_decimal")] use crate::errors::ffi::ICU4XError; use alloc::box...
1
3
2
1b5b592abac23866114f60b6350e5f70bfc70bdc
Bruce Mitchener
2023-09-07T16:44:16
clippy: Fix slow_vector_initialization. (#4015)
diff --git a/utils/zerovec/src/ule/encode.rs b/utils/zerovec/src/ule/encode.rs index 8cef37028c..adea123aa2 100644 --- a/utils/zerovec/src/ule/encode.rs +++ b/utils/zerovec/src/ule/encode.rs @@ -8,7 +8,7 @@ use crate::{VarZeroSlice, VarZeroVec, ZeroSlice, ZeroVec}; use alloc::borrow::{Cow, ToOwned}; use alloc::boxed:...
1
2
3
8e676bc4a4b636ad9569ebb2115c1b6648eb4c46
Robert Bastian
2023-09-06T21:14:52
Clean up cross-crate baked provider usage and add unstable docs (#3939)
diff --git a/components/calendar/src/provider.rs b/components/calendar/src/provider.rs index 06f6166883..4bda049f00 100644 --- a/components/calendar/src/provider.rs +++ b/components/calendar/src/provider.rs @@ -24,6 +24,12 @@ use zerovec::ZeroVec; #[cfg(feature = "compiled_data")] #[derive(Debug)] /// Baked data +//...
23
131
42
64a49a4e88f512855ba6e1af6f9745999cf42109
Bruce Mitchener
2023-09-05T18:45:30
clippy: Fix redundant locals. (#4006)
diff --git a/utils/calendrical_calculations/src/julian.rs b/utils/calendrical_calculations/src/julian.rs index 3b91cfacc4..63f9a589b5 100644 --- a/utils/calendrical_calculations/src/julian.rs +++ b/utils/calendrical_calculations/src/julian.rs @@ -20,10 +20,8 @@ pub const fn is_leap_year(year: i32) -> bool { // "Fixe...
1
0
2
b9ab411cb4363e9755327f5024782acd6c8df893
Manish Goregaokar
2023-09-05T17:27:12
Change where LocaleExpander ctor docs point to (#4005)
diff --git a/components/locid_transform/src/expander.rs b/components/locid_transform/src/expander.rs index 802d69342f..ea890d54eb 100644 --- a/components/locid_transform/src/expander.rs +++ b/components/locid_transform/src/expander.rs @@ -265,14 +265,14 @@ impl LocaleExpander { } } - #[doc = icu_prov...
1
2
2
52f6e1bb271aa5982a6b8dc335a553a52e37c0df
Bruce Mitchener
2023-09-04T13:52:12
warning: associated const needs explicit lifetime. (#4001)
diff --git a/components/calendar/src/japanese.rs b/components/calendar/src/japanese.rs index 5ddfada249..840aabadfd 100644 --- a/components/calendar/src/japanese.rs +++ b/components/calendar/src/japanese.rs @@ -169,7 +169,7 @@ impl Japanese { self.new_japanese_date_inner(era, year, month, day) } - pu...
1
2
2
65aa36d94fdf06948a0087932bf48a96959eedc6
Bruce Mitchener
2023-09-04T13:36:37
clippy: Fix redundant-locals. (#4000)
diff --git a/components/calendar/src/chinese_based.rs b/components/calendar/src/chinese_based.rs index e7e0a82cae..a374706061 100644 --- a/components/calendar/src/chinese_based.rs +++ b/components/calendar/src/chinese_based.rs @@ -742,7 +742,6 @@ impl<C: ChineseBased + CalendarArithmetic> ChineseBasedDateInner<C> { ...
2
33
41
3ac6ffe4769ad98e75b7d13f7c9b8c4b129cfa31
Bruce Mitchener
2023-09-04T08:57:32
litemap: clippy: Fix implied_bounds_in_impls warnings. (#3992)
diff --git a/utils/litemap/src/map.rs b/utils/litemap/src/map.rs index b4e2f1d4e1..628e2185df 100644 --- a/utils/litemap/src/map.rs +++ b/utils/litemap/src/map.rs @@ -873,17 +873,17 @@ where S: StoreIterable<'a, K, V>, { /// Produce an ordered iterator over key-value pairs - pub fn iter(&'a self) -> impl ...
1
4
6
43af2410b1abcadb0db8610dccf14e3b2d4eb9a1
Niels Saurer
2023-09-04T08:35:47
Add hardcoded reverses for hardcoded transliterators (#3994)
diff --git a/experimental/transliterator_parser/src/lib.rs b/experimental/transliterator_parser/src/lib.rs index 1e98a49070..b1f7b642dd 100644 --- a/experimental/transliterator_parser/src/lib.rs +++ b/experimental/transliterator_parser/src/lib.rs @@ -192,6 +192,7 @@ mod tests { # splits up the forward rules ...
2
34
16
91959557067940ab114b01456075b7827bfc63c2
Niels Saurer
2023-09-04T08:22:13
Ignore ICU pragmas when parsing transform rules (#3995)
diff --git a/experimental/transliterator_parser/src/lib.rs b/experimental/transliterator_parser/src/lib.rs index 4f3a3c48b3..1e98a49070 100644 --- a/experimental/transliterator_parser/src/lib.rs +++ b/experimental/transliterator_parser/src/lib.rs @@ -178,6 +178,7 @@ mod tests { #[test] fn test_source_to_struc...
2
34
0
404beef87efd4dbd87986383ea9f21ce977d57b4
Niels Saurer
2023-09-04T08:21:11
Add &'static str with debug information to internal transliterator parse errors (#3996)
diff --git a/experimental/transliterator_parser/src/compile.rs b/experimental/transliterator_parser/src/compile.rs index 3e9d3c3f1a..fb432f66f8 100644 --- a/experimental/transliterator_parser/src/compile.rs +++ b/experimental/transliterator_parser/src/compile.rs @@ -886,7 +886,9 @@ impl Pass1ResultGenerator { ...
3
19
10
975d77597f92adcd4c6756bb68e481e3dcde89d5
Shane F. Carr
2023-08-30T14:28:01
Add DataPayload::dynamic_cast_mut (#3952)
diff --git a/provider/core/src/response.rs b/provider/core/src/response.rs index 06ad240376..12d1101540 100644 --- a/provider/core/src/response.rs +++ b/provider/core/src/response.rs @@ -511,13 +511,16 @@ where }))) } - /// Convert between two [`DataMarker`] types that are compatible with each other....
1
71
1
a4387cb230aa9872bfed10d2881e094722ff6737
Manish Goregaokar
2023-08-26T01:02:51
Pack Greek uppercasing data (#3940) * Pack Greek uppercasing data * Use the usual branch for greek consonants * Handle rho specially
diff --git a/Cargo.lock b/Cargo.lock index c6e436344f..28fffd4f1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1356,7 +1356,6 @@ dependencies = [ "icu", "icu_benchmark_macros", "icu_casemap_data", - "icu_codepointtrie_builder", "icu_collections", "icu_locid", "icu_normalizer", diff --git a/components/casema...
8
375
246
39eead2f79a27b07a94380840efca7a98e38c9f3
Robert Bastian
2023-08-25T06:31:02
Locale displaynames optimizations (#3925)
diff --git a/experimental/displaynames/src/displaynames.rs b/experimental/displaynames/src/displaynames.rs index 4711142863..77e46b3d5b 100644 --- a/experimental/displaynames/src/displaynames.rs +++ b/experimental/displaynames/src/displaynames.rs @@ -8,13 +8,13 @@ use crate::options::*; use crate::provider::*; use al...
2
148
199
8be2c0f79f7c8f7ce582c05154ac3bb0117ba799
Robert Bastian
2023-08-24T17:12:34
Fix Windows memory bench (#3926)
diff --git a/tools/benchmark/memory/src/main.rs b/tools/benchmark/memory/src/main.rs index bd4cf883e3..398fa687a4 100644 --- a/tools/benchmark/memory/src/main.rs +++ b/tools/benchmark/memory/src/main.rs @@ -5,10 +5,10 @@ use clap::Parser; use serde_json::json; use std::io::prelude::*; -use std::path::PathBuf; +use s...
1
17
29
f307ebc0329e051f983dd397d29c6f16312a89f0
Robert Bastian
2023-08-23T20:49:02
Benchmark list fix (#3924)
diff --git a/tools/benchmark/memory/src/main.rs b/tools/benchmark/memory/src/main.rs index 1dd6e1605a..bd4cf883e3 100644 --- a/tools/benchmark/memory/src/main.rs +++ b/tools/benchmark/memory/src/main.rs @@ -103,6 +103,7 @@ fn main() { .arg("bench") .stderr(Stdio::piped()) .spawn()...
1
1
0
47502251d919bd60899fda9b2baf5d528124135d
Sanket Desai
2023-08-23T20:25:00
First draft for implementing Local Displayname Algorithm (#3587) Co-authored-by: Robert Bastian <robertbastian@google.com>
diff --git a/experimental/displaynames/src/displaynames.rs b/experimental/displaynames/src/displaynames.rs index e7c19298a5..4711142863 100644 --- a/experimental/displaynames/src/displaynames.rs +++ b/experimental/displaynames/src/displaynames.rs @@ -7,9 +7,14 @@ use crate::options::*; use crate::provider::*; use al...
3
263
68
acafb73b44cc565bc887e4395c6472fc33f065e9
Robert Bastian
2023-08-23T18:48:39
Adding `DynamicDataProvider<AnyMarker>` bound to `ExportableProvider` (#3920)
diff --git a/provider/core/src/any.rs b/provider/core/src/any.rs index c3af61fed0..94a0ff167c 100644 --- a/provider/core/src/any.rs +++ b/provider/core/src/any.rs @@ -365,7 +365,7 @@ pub trait AsDynamicDataProviderAnyMarkerWrap { impl<P> AsDynamicDataProviderAnyMarkerWrap for P where - P: DynamicDataProvider<Any...
5
22
44
83e0f8c18201f0b83ee834ceafe519ba0468a1e0
Robert Bastian
2023-08-23T15:42:56
Fixing *new* benchmarks (#3921)
diff --git a/components/segmenter/Cargo.toml b/components/segmenter/Cargo.toml index cf282a99ad..e4fdeea0d2 100644 --- a/components/segmenter/Cargo.toml +++ b/components/segmenter/Cargo.toml @@ -52,6 +52,7 @@ datagen = ["serde", "dep:databake", "zerovec/databake", "icu_collections/databak lstm = ["dep:libm"] auto = [...
2
2
1
4ccb3fc27c2f293ae353c5fcc10d33e8b9003b73
Robert Bastian
2023-08-23T14:56:15
`ZeroOneOrTwo<T>` is just `Chain<Option<T>::IntoIter, Option<T>::IntoIter>` (#3918)
diff --git a/provider/datagen/src/baked_exporter.rs b/provider/datagen/src/baked_exporter.rs index 7dfc2e3d11..e05962ef27 100644 --- a/provider/datagen/src/baked_exporter.rs +++ b/provider/datagen/src/baked_exporter.rs @@ -69,7 +69,6 @@ //! # } //! ``` -use crate::helpers::ZeroOneOrTwo; use databake::*; use icu_p...
3
3
33
2b6d39b8352db7031e385ca22a40404b7fa61244
x11x
2023-08-21T16:33:22
Fix spelling error in locid::extensions::unicode::Keywords keywords.rs (#3895)
diff --git a/components/locid/src/extensions/unicode/keywords.rs b/components/locid/src/extensions/unicode/keywords.rs index 175f06b089..3f37257d5d 100644 --- a/components/locid/src/extensions/unicode/keywords.rs +++ b/components/locid/src/extensions/unicode/keywords.rs @@ -13,7 +13,7 @@ use crate::helpers::ShortSlice;...
1
1
1
01917a0dfd3624e2dbb2ea7483c66a1858b12d40
Robert Bastian
2023-08-21T16:20:15
Fix nightly doc warnings (#3901)
diff --git a/components/calendar/src/any_calendar.rs b/components/calendar/src/any_calendar.rs index 1ade14e207..769e6b90ea 100644 --- a/components/calendar/src/any_calendar.rs +++ b/components/calendar/src/any_calendar.rs @@ -35,7 +35,7 @@ use core::fmt; /// This can be constructed by calling `.into()` on a concrete ...
6
7
7