dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.05k stars 4.69k forks source link

[iOS][globalization][icu] Tracking issue for HybridGlobalization: Native API + ICU #80689

Closed mkhamoyan closed 2 months ago

mkhamoyan commented 1 year ago

The task is to remove as much data from ICU files as possible and exchange ICU4C functions that are using this data with iOS native functions.

  1. Implement Locale functions.

    • [x] GlobalizationNative_GetLocaleInfoString Implemented by #81470

    • [x] GlobalizationNative_GetLocaleInfoInt Implemented by #84417

    • [x] GlobalizationNative_GetLocaleInfoGroupingSizesNative Implemented by #84417

    • [x] GlobalizationNative_GetLocaleTimeFormat Implemented by #84417

  2. Implement Collation functions.

  3. Implement Normalization functions

  4. Implement calendar functions

  5. Implement timezoneinfo functions

  6. Create new icu file for mobile, filtering out features that are implemented by native functions

  7. Add HybridGlobalization flag to sdks and load icudt_hybrid.dat file when hybrid mode is on

  8. Tasks opened during feature implemetations

Details to be added.

cc @SamMonoRT

ghost commented 1 year ago

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.

Issue Details
The task is to remove as much data from ICU files as possible and exchange ICU4C functions that are using this data with iOS native functions. Details to be added.
Author: mkhamoyan
Assignees: mkhamoyan
Labels: `area-System.Globalization`, `os-ios`, `needs-author-action`
Milestone: -
ghost commented 1 year ago

This issue has been marked needs-author-action and may be missing some important information.

steveisok commented 1 year ago

@mkhamoyan @filipnavara put together a good mapping that will likely get us a ways there.

https://github.com/dotnet/designs/pull/225#discussion_r647668983

ghost commented 1 year ago

This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

mkhamoyan commented 2 months ago

Closing this as all tickets mentioned are already implemented.