Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dotnet] Allow choosing the ICU data file to be used for globalization #11320

Closed
wants to merge 2 commits into from

Conversation

spouliot
Copy link
Contributor

Defaults to include all globalization data. Depending on the target
audience it might be possible to reduce the app size.

Draft doc: https://github.com/xamarin/xamarin-macios/wiki/Globalization

Defaults to include all globalization data. Depending on the target
audience it might be possible to reduce the app size.

Draft doc: https://github.com/xamarin/xamarin-macios/wiki/Globalization
@spouliot spouliot requested a review from rolfbjarne as a code owner April 24, 2021 00:50
@spouliot spouliot added the not-notes-worthy Ignore for release notes label Apr 24, 2021
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

Test results

1 tests failed, 103 tests passed.

Failed tests

  • introspection/Mac Catalyst/Debug: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)

Pipeline on Agent XAMBOT-1109'
Merge 17bb4b5 into 541bfde

@@ -143,6 +143,10 @@
<UseSystemResourceKeys Condition="'$(UseSystemResourceKeys)' == ''">true</UseSystemResourceKeys>
</PropertyGroup>

<PropertyGroup>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should have the documentation + logic to select the ICU data. The runtime provides the ICU, so that's also where the other logic should live. That way the logic (and variable name) is shared with Android (and any other products that use the ICU data). We really only need the name of the file to embed in the .app.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steveisok any other platform, beside Blazor, using an embedded (not system) ICU like we do ?

Copy link
Contributor

@steveisok steveisok Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, only blazor and iOS right now use an embedded icu. I wanted android to also have it, but requiring libc++ wasn't going to work.

I would keep this for now. We can provide props, but unsure exactly when that will come.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lewing are you exposing this in any way for blazor ?

If not then I might just stick an underscore to the name and move on... :)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build] Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

API Diff (from PR only) (no change)
Generator Diff (no change)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

🎉 All 108 tests passed 🎉

Pipeline on Agent XAMBOT-1101.BigSur
Merge f276429 into 4dd95f5

@spouliot spouliot mentioned this pull request Jun 4, 2021
6 tasks
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Jun 23, 2021
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Jun 23, 2021
@spouliot
Copy link
Contributor Author

Superceded by #11983

@spouliot spouliot closed this Jun 23, 2021
@spouliot spouliot deleted the select-icu-dat-file branch June 23, 2021 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants