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

[mono] Update ICU version, disable some tests for Browser #39596

Merged
merged 4 commits into from
Jul 20, 2020

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Jul 18, 2020

Update ICU dependency to grab dotnet/icu#8 where icudt.dat size is 1.8Mb.

Couple of notes/todos:
1) RegionInfo.IsMetric doesn't work since the whole region_tree was removed, in theory we can enable it back and strip everything but IsMetric property via resourceFilter.
2) Something is wrong with Japanese locale - it always uses Gregorian calendar it seems. I suspect this: https://github.com/dotnet/icu/blob/maint/maint-67/icu-filters/optimal.json#L158-L181 (despite the fact "ja" is excluded there)
fixed in dotnet/icu#9

@EgorBo EgorBo added arch-wasm WebAssembly architecture area-System.Globalization labels Jul 18, 2020
@ghost
Copy link

ghost commented Jul 18, 2020

Tagging subscribers to this area: @tarekgh, @safern, @krwq
Notify danmosemsft if you want to be subscribed.

@EgorBo EgorBo merged commit 0655692 into dotnet:master Jul 20, 2020
lewing pushed a commit to lewing/runtime that referenced this pull request Jul 21, 2020
lewing added a commit that referenced this pull request Jul 22, 2020
* ICU integration and asset loading overhaul (#37971)

This PR overhauls runtime startup/asset loading and adds support for ICU integration.

The mono-config.js format is reworked and simplified, with new functionality added:

    Individual assets can be loaded from one or more remote sources with configurable fallback behavior
    In addition to the existing support for loading assemblies, you can now pre-load arbitrary files into the native heap or into emscripten's virtual file system. VFS support previously only existed in runtime-test.js but now is available to any consumer of dotnet.js.
    Assets can have a virtual path set so that their application-facing path does not necessarily have to match their path on the server.
    One or more ICU data archives can be added to the assets list and will be automatically loaded and used to enable ICU-based globalization support.
    Many configuration knobs that previously required API calls can now be set declaratively in the configuration file (environment variables, etc.)

WasmAppBuilder is updated to add ICUDataFiles and RemoteSources parameters that can be used to add the associated information to the config file declaratively from a msbuild project.

Various adjustments are made to existing tests and test cases so that they will pass with the addition of ICU integration.

Co-authored-by: EgorBo <egorbo@gmail.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>

* [wasm] Include data archives and timezone data by default (#39586)

* Add data archive loading to the generic loading logic

* [mono] Update ICU version, disable some tests for Browser (#39596)

Co-authored-by: Katelyn Gadd <kg@luminance.org>
Co-authored-by: EgorBo <egorbo@gmail.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants