1. 17 11月, 2021 1 次提交
    • P
      [wasm] renames and cleanup before modularization (#61596) · da0e0f73
      Pavel Savara 提交于
      - no imports from outer scope
      - move dotnet to -extern-pre-js
      - re-enable JS minification with ES2018
      - rename main javaScript files to main.js and test-main.js
      - sample and test script cleanup
      - rename set_exit_code method
      - rewrite test start as async method
      - improve script loading via script element on page in test
      - use BINDING.bind_static_method instead of INTERNAL where possible
      - better .d.ts exports
      - formatted html files
      - renamed modules.ts to imports.ts which makes more sense
      - improved error propagation
      - renamed __initializeImportsAndExports
      - delayed exit and stdout flush
      da0e0f73
  2. 03 11月, 2021 1 次提交
    • P
      [wasm] simplify startup configuration (#61072) · 39503818
      Pavel Savara 提交于
      * added configSrc - path to MonoConfig json file
      * added Module.onConfigLoaded callback
      * added Module.onDotNetReady replacing MonoConfig.loaded_cb
      * removed loaded_cb, assembly_list, runtime_assets, runtime_asset_sources from MonoConfig
      * simplified all sample and test projects
      * renamed no_global_exports to disableDotNet6Compatibility
      * implement default Module.preInit and Module.onRuntimeInitialized which could be overriden by user code (like Blazor)
      
      * re-enable the interp lane
      39503818
  3. 14 10月, 2021 1 次提交
    • P
      [wasm] rationalize internal exports (#60075) · a546fa48
      Pavel Savara 提交于
      - introduce globalThis.INTERNAL and move all exported methods which we only use internally or for testing
      - reduce BINDING and MONO exports to minimal scope necessary - as used by Blazor
      - fix all internal usages in tests
      - produce dotnet.d.ts and include it in the workload
      - moved Module.config to MONO.config
      - added mono_load_runtime_and_bcl_args into MONO export
      - removed obsolete debugger test InvalidScopeId
      - introduced INTERNAL.mono_wasm_set_main_args
      - add mono_wasm_new_root_buffer, mono_wasm_new_root, mono_wasm_release_roots to the MONO interface
      a546fa48
  4. 15 9月, 2021 1 次提交
  5. 24 6月, 2021 1 次提交
  6. 21 6月, 2021 1 次提交
    • D
      [WASM] Converted mono-config.js to mono-config.json (#53606) · a3f0e2be
      Daniel Genkin 提交于
      * converted mono-config.js to mono-config.json
      
      * Fixed test
      
      * fixed handling of case where Module isn't defined
      
      * Fixed remaining failing tests
      
      * Replaced alerts with console.log to fix Helix test
      
      * replaced all vars with consts
      
      * use fetch
      
      * clean syntax
      
      * prevent timeouts when the mono-config file fails to load
      
      * Moved config file loading to preInit
      
      * Fixed tests
      
      * Adjusted file linking
      
      * removed the unnecessary js_support.js
      
      * cleaned up function
      
      * updated samples
      
      * removed lingering pre-js flag
      
      * Fixed trimming tests
      
      * addressed PR comments
      
      * removed useless function
      a3f0e2be
  7. 10 5月, 2021 1 次提交
  8. 09 2月, 2021 1 次提交
  9. 05 2月, 2021 1 次提交