Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into neo3
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Dec 29, 2023
2 parents 590672d + f5f4cf6 commit b72f174
Show file tree
Hide file tree
Showing 6 changed files with 559 additions and 4 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
## Unreleased

- Components
- `icu_datetime`
- Make `CldrCalendar` trait sealed except with experimental feature (https://github.com/unicode-org/icu4x/pull/4392)
- `icu_calendar`
- New `DateTime::local_unix_epoch()` convenience constructor (https://github.com/unicode-org/icu4x/pull/4479)
- `icu_properties`
- Add `Aran` script code (https://github.com/unicode-org/icu4x/pull/4426)
- `icu_segmenter`
- Fix Unicode 15.0 line breaking (https://github.com/unicode-org/icu4x/pull/4389)
- Data model and providers
- `icu_datagen`
- Datagen shows elapsed time for keys that are slow to generate (https://github.com/unicode-org/icu4x/pull/4469)
- Datagen performance improvement by caching supported locales (https://github.com/unicode-org/icu4x/pull/4470)
- `icu_provider`
- (Small breakage) `DataPayload::new_owned()` is no longer `const`, this was a mistake (https://github.com/unicode-org/icu4x/pull/4456)
- (Small breakage) `DataPayload::new_owned()` is no longer `const`, this was a mistake (https://github.com/unicode-org/icu4x/pull/4456)
- `icu_provider_blob`
- Blob v2 no longer allocates (https://github.com/unicode-org/icu4x/pull/4383)
- FFI:
- All languages
- Correctly handle invalid UTF8 (https://github.com/unicode-org/icu4x/pull/4353)
Expand All @@ -24,9 +30,14 @@
- Fixed a bug where a result header defines a struct that shadows the class' name (https://github.com/rust-diplomat/diplomat/pull/394)
- Add `expclicit` keyword to internal constructors (https://github.com/rust-diplomat/diplomat/pull/386)
- Utilities
- `calendrical_calculations`:
- Add Keviyah/Four Gates based optimized calculations module for the Hebrew calendar.
- `yoke`
- Remove `StableDeref` bound from `Yoke<Y, Option<C>>` methods (https://github.com/unicode-org/icu4x/pull/4457)
- Added `CartableOptionPointer` and function to convert from `Yoke<Y, Option<C>>` (https://github.com/unicode-org/icu4x/pull/4449)
- Added `CartableOptionPointer` and function to convert from `Yoke<Y, Option<C>>` (https://github.com/unicode-org/icu4x/pull/4449)\
- `zerotrie`
- Add `as_borrowed_slice` and `AsRef` impl (https://github.com/unicode-org/icu4x/pull/4381)
- Add `ZeroTrieSimpleAsciiCursor` for manual iteration (https://github.com/unicode-org/icu4x/pull/4383)

## icu4x 1.4.x
- [Remove icu_datagen's dep on `fractional`](https://github.com/unicode-org/icu4x/pull/4472)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ assert_eq!(

## Development

`ICU4X` is developed by the `ICU4X-SC`. We are a subcommittee of ICU-TC in the Unicode Consortium focused on providing solutions for client-side internationalization. See [unicode.org](https://www.unicode.org/consortium/techchairs.html) for more information on our governance.
ICU4X is developed by the ICU4X Technical Committee (ICU4X-TC) in the Unicode Consortium. The ICU4X-TC leads strategy and development of internationalization solutions for modern platforms and ecosystems, including client-side and resource-constrained environments. See [unicode.org](https://www.unicode.org/consortium/techchairs.html) for more information on our governance.

Please subscribe to this repository to participate in discussions. If you want to contribute, see our [contributing.md](CONTRIBUTING.md).

Expand Down
1 change: 1 addition & 0 deletions tools/make/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description = "Build all permutations of all features for the provided chunk ind
category = "ICU4X Development"
install_crate = { crate_name = "cargo-all-features", binary = "cargo-check-all-features", test_arg = ["--help"] }
install_crate_args = ["--version", "^1.10"]
env = { RUSTFLAGS = "-Dwarnings" }
command = "cargo"
args = ["check-all-features", "--n-chunks", "3", "--chunk", "${@}"]

Expand Down
3 changes: 2 additions & 1 deletion utils/calendrical_calculations/src/hebrew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ use crate::rata_die::{Moment, RataDie};
use core_maths::*;

/// Lisp code reference: <https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L2206>
const FIXED_HEBREW_EPOCH: RataDie = crate::julian::fixed_from_julian_book_version(-3761, 10, 7);
pub(crate) const FIXED_HEBREW_EPOCH: RataDie =
crate::julian::fixed_from_julian_book_version(-3761, 10, 7);

/// Biblical Hebrew dates. The months are reckoned a bit strangely, with the new year occurring on
/// Tishri (as in the civil calendar) but the months being numbered in a different order
Expand Down
Loading

0 comments on commit b72f174

Please sign in to comment.