Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-04[wasm] Wasm TimeZoneInfo implementation VFS (#17760)Kenneth Pouncey
* [wasm][bcl] TimeZoneInfo implementation for WebAssembly to read from WASM VFS `/zoneinfo`. - Remove `TimeZoneInfo.WebAssembly.cs` file - Remove source dependencies on `TimeZoneInfo.WebAssembly.cs`. - Modify TimeZoneInfo for specific WASM functionality - Default root directory is `zoneinfo` - Add icall `mono_timezone_get_local_name` for WASM in CreateLocal - Add icall implementation - ves_icall_System_TimeZoneInfo_mono_timezone_get_local_name * [wasm][build] Add `-s FORCE_FILESYSTEM=1` to mono wasm runtime build - Required so that it includes support for loading pre preload packages Message when generating the zoneinfo data. > Remember to build the main file with -s FORCE_FILESYSTEM=1 so that it includes support for loading this file package * [wasm] zoneinfo data and support files. - Three files for zoneinfo VFS support. - `mono-webassembly-zoneinfo-fs-smd.js.metadata` - This is the separate metadata output by emscripten file-packager. Used to parse the zoneinfo data in non browser environments. See `runtime-tests.js` - `mono-webassembly-zoneinfo-fs.js` - Output by emscripten file-packager that will be referenced by browser environments to load the zoneinfo data into the VFS at `/zoneinfo` - `zoneinfo.data` - The binary file output by emscripten file-packager. The file contains the actual zoneinfo data loaded into the VFS and parsed by `TimeZoneInfo`. * [wasm][driver] Add backing support for icall `mono_timezone_get_local_name` * Add TimeZone info test. * [wasm][packger] Add `-s FORCE_FILESYSTEM=1` - Required so that it includes support for loading preload packages Message when generating the zoneinfo data. > Remember to build the main file with -s FORCE_FILESYSTEM=1 so that it includes support for loading this file package * Fix AOT tzd test * Remove commented code lines for `TimeZoneInfo.WebAssembly.cs` module * Regenerated zone info without --no-heap-copy as it causes problems. This will create a warning in browser for now. * Add zoneinfo support files to package * Fix TimeZoneInfo tests to use the `--enable-fs` packager parameter * Add back icall implementation after rebase - ves_icall_System_TimeZoneInfo_mono_timezone_get_local_name * Add back backing support for icall `mono_timezone_get_local_name` after rebase * Fix build error * Add back zoneinfo tests to Makefile after rebase * Fix packager zoneinfo sample builds. * Address review comment about volatile not needed * Address review comment about volatile not needed * Address review comment about volatile not needed * Address review comment volatile not needed