- 01 7月, 2022 3 次提交
-
-
由 Ankit Jain 提交于
-
由 Thays Grazia 提交于
* When we don't have pdb we still can get some information about the methods like attributes (public, private, protected, etc) which are used for a better debugger experience. * Update src/mono/wasm/debugger/tests/debugger-test-with-pdb-deleted/debugger-test-with-pdb-deleted.csproj Co-authored-by: NAnkit Jain <radical@gmail.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Ankit Jain 提交于
* [wasm] Add runArgs.json for console projects * [wasm] Fix `dotnet.js.symbols` being copied to the bundle .. and enable it by default for the template projects.
-
- 30 6月, 2022 2 次提交
-
-
由 Pavel Savara 提交于
* new ref assembly System.Runtime.InteropServices.JavaScript - empty * new src assembly System.Runtime.InteropServices.JavaScript moved all implementation from System.Private.Runtime.InteropServices.JavaScript into it * added IMPORTS, EXPORTS to js API * refactored setup_managed_proxy and teardown_managed_proxy in JS * added more range assert for working with wasm memory in JS
-
由 Ankit Jain 提交于
* [wasm][nodejs] Ensure that stdout/stderr have been flushed out before exiting When the results xml is large, and we are writing the base64 representation in one line, `node` can exit before all the output gets flushed out. This results in xharness getting an incomplete `STARTRESULTXML <len> <base64> ... ` with missing `ENDRESULTXML`, thus no `testResults.xml` is generated. This can be seen in the case of `Microsoft.Extensions.Primitives.Tests` which has xml ~140KB, and `System.Memory.Tests` which has a xml ~13MB. So, wait for the two streams to be flushed out, with a timeout of 3secs. * [wasm] Wasm.Build.Tests: improve reading output from processes - Fix to call `WaitForExit()` once `WaitForExit(int)` returns, which ensures that all the async handlers have been run. - Also, for non-browser xharness runs use the emitted `wasm-console.log` as the output, so we don't depend on xharness' stdout. * Wasm.Build.Tests: Run the crypto test only with browser. Other cases are covered in library tests * Enable WasmTemplateTests.ConsolePublishAndRun Fixes https://github.com/dotnet/runtime/issues/70675 * Wasm.Build.Tests: avoid unncessary copy when building locally Copy sdk for testing workloads only on CI. * Address feedback from @kg * Remove timeout on flushing stdout/stderr streams, for console templates, IOW, user apps
-
- 29 6月, 2022 4 次提交
-
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/arcade build 20220620.8 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22316.2 -> To Version 7.0.0-beta.22320.8 * Update dependencies from https://github.com/dotnet/arcade build 20220622.3 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22316.2 -> To Version 7.0.0-beta.22322.3 * Update dependencies from https://github.com/dotnet/arcade build 20220623.2 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22316.2 -> To Version 7.0.0-beta.22323.2 * Update dependencies from https://github.com/dotnet/arcade build 20220624.1 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22316.2 -> To Version 7.0.0-beta.22324.1 * Update dependencies from https://github.com/dotnet/arcade build 20220627.1 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22316.2 -> To Version 7.0.0-beta.22327.1 * Update dependencies from https://github.com/dotnet/arcade build 20220627.2 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22316.2 -> To Version 7.0.0-beta.22327.2 * Upgrade paths with TFMs to net7.0 Arcade upgraded to 7.0 in https://github.com/dotnet/arcade/pull/9127Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NPremek Vysoky <premek.vysoky@microsoft.com> Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
-
由 Marek Fišera 提交于
* Fix package type in HTTP and WebSocket tests. * Move loading of tests npm packages to onConfigLoaded.
-
由 Radek Doulik 提交于
* [wasm] Add Vector128.OnesComplement SIMD intrinsic Add wasm specific implementation of `Vector128.OnesComplement` method. Example compilation output. Managed: static Vector128<double> SimdTest3(Vector128<double> input) { return Vector128.OnesComplement(input); } IR: BB3: ; preds = %BB2 %cast_to_4_x_i32 = bitcast <2 x double> %simd_vtype to <4 x i32> %wasm_not = xor <4 x i32> %cast_to_4_x_i32, <i32 -1, i32 -1, i32 -1, i32 -1> %cast_back = bitcast <4 x i32> %wasm_not to <2 x double> br label %BB4 wasm - Debug configuration: (func Wasm_Console_V8_CJS_Sample_Test_SimdTest3_System_Runtime_Intrinsics_Vector128_1_double(param $0 i32, $1 i32, $2 i32)) local $3 i32 local $4 i32 local $5 v128 local $6 v128 0x00cf955a: global.get $__stack_pointer 0x00cf955c: local.set $3 0x00cf955e: i32.const 16 0x00cf9560: local.set $4 0x00cf9562: local.get $3 0x00cf9564: local.get $4 0x00cf9566: i32.sub 0x00cf9567: drop 0x00cf9568: local.get $1 0x00cf956a: v128.load align:4 [SIMD] 0x00cf956e: local.set $5 0x00cf9570: local.get $5 0x00cf9572: v128.not [SIMD] 0x00cf9574: local.set $6 0x00cf9576: local.get $6 0x00cf9578: drop 0x00cf9579: local.get $0 0x00cf957b: local.get $6 0x00cf957d: v128.store [SIMD] 0x00cf9581: return wasm - Release configuration: (func idx:7866(param $0 i32, $1 i32, $2 i32)) 0x00185b37: local.get $0 0x00185b39: local.get $1 0x00185b3b: v128.load align:4 [SIMD] 0x00185b3f: v128.not [SIMD] 0x00185b41: v128.store [SIMD] * Apply feedback * Add `--enable-simd` to `wasm-opt` again * Fix build
-
由 Stephen Toub 提交于
Enable IDE0170 (Simplify property pattern) and IDE0200 (remove unnecessary lambda expression) (#71011) As part of updating the config file with recently added rules, also turn on a few of them.
-
- 28 6月, 2022 1 次提交
-
-
由 Thays Grazia 提交于
* Fix firefox tests * Update src/mono/wasm/debugger/BrowserDebugProxy/Firefox/FirefoxMonoProxy.cs Co-authored-by: NAnkit Jain <radical@gmail.com> * Remove whitespace Co-authored-by: NAnkit Jain <radical@gmail.com>
-
- 25 6月, 2022 1 次提交
-
-
由 Thays Grazia 提交于
* Fixing entrypoint breakpoint on release mode. * Remove unnecessary code and adding comments. * changing console.log to console.trace. * Adding comments
-
- 24 6月, 2022 1 次提交
-
-
由 Pavel Savara 提交于
switched dotnet.js to be ES6 module by making <WasmEnableES6> default true updated all samples updated functional tests updated debugger tests updated test-main updated templates Co-authored-by: NMarek Fišera <mara@neptuo.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
- 23 6月, 2022 1 次提交
-
-
由 dependabot[bot] 提交于
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. - [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1) --- updated-dependencies: - dependency-name: Newtonsoft.Json dependency-type: direct:production ... Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 22 6月, 2022 3 次提交
-
-
由 Eric Erhardt 提交于
* Use crypto.subtle for HMAC on Browser WASM Implement the browser "native" portion for HMAC on Browser WASM. I also made a few refactoring / simplifications where necessary. Contributes to #40074
-
由 Marek Fišera 提交于
Use js_typed_array_to_array_root in mono_wasm_typed_array_to_array_ref
-
由 Jérôme Laban 提交于
-
- 21 6月, 2022 1 次提交
-
-
由 Thays Grazia 提交于
[wasm][debugger] Fix side effect on Firefox of getting bytes from loaded_files using debugger protocol (#70990) * Fix 70983 * fix typo * Fix compilation
-
- 19 6月, 2022 1 次提交
-
-
由 Stephen Toub 提交于
-
- 17 6月, 2022 1 次提交
-
-
由 Stephen Toub 提交于
* Enable IDE0054 (Use compound assignment) * Update src/libraries/System.Data.Common/src/System/Data/Common/StringStorage.cs Co-authored-by: NTanner Gooding <tagoo@outlook.com> Co-authored-by: NTanner Gooding <tagoo@outlook.com>
-
- 16 6月, 2022 1 次提交
-
-
由 Thays Grazia 提交于
-
- 15 6月, 2022 3 次提交
-
-
由 Thays Grazia 提交于
* Implement get bytes from loaded_files using debugger protocol. * fix pdb size == nul * Adressing @radical comments. * Fix build. * fix compilation * Addressing @radical comments. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Aleksey Kliger (λgeek) 提交于
* [wasm] Make runtime_is_initialized promise callbacks one-shot Throw if runtime_is_initialized_resolve or runtime_is_initialized_reject is called more than once * Add a slightly generalized GuardedPromise<T> object Protects against multiple-resolve, multiple-reject, reject after resolve and resolve after reject. Does not protect against the executor throwing.
-
由 Aleksey Kliger (λgeek) 提交于
* Fix cmake error ``` Manually-specified variables were not used by the project: CONFIGURATION_WASM_OPT_FLAGS ``` * Build the interpreter with -O1 on Wasm in Debug configs Otherwise `interp_exec_method` and `generate_code` can easily overflow the stack in some browsers with even a few recursive calls (for example during .cctor initializaiton)
-
- 14 6月, 2022 2 次提交
-
-
由 Ankit Jain 提交于
Fixes https://github.com/dotnet/runtime/issues/70670 .
-
由 Ankit Jain 提交于
* [wasm] Build WasmAppHost with UseAppHost=false - WasmAppHost is included in the WebAssembly.Sdk pack, and doesn't have a platform specific package. - Since, this is being built for x64, the build defaults to using the app host, which means that we get a single binary file that can be run directly. - But this also means that the binary included in the WebAssembly.Sdk platform-agnostic package will target the platform where it was built. - Instead, build with UseAppHost=false, and update the wasm host to use the managed assembly instead. And update the RunCommand to use `dotnet exec WasmAppHost.dll`. * fix
-
- 10 6月, 2022 3 次提交
-
-
由 Aleksey Kliger (λgeek) 提交于
* [wasm] Add infrastructure for building WebWorkers - Modify the rollup.config.js script to look for webworkers and to roll them up into IIFE js files in the ${nativeBinDir}/src artifacts directory - A "webworker" is any file in `src/mono/wasm/runtime/workers/` that looks like `dotnet-{workerName}-worker.ts` or `.js`. It can also include other files (ideally by defining them in files in subdirectories for that worker `src/mono/wasm/runtime/workers/dotnet-{workerName}-worker/utility.ts`) - Other changes still have to be done manually in wasm.proj, and elsewhere in order to place the bundled JS file in the right place. - Adds a tsconfig.json for the workers to typecheck using the DedicatedWorkerGlobalScope and without the DOM globals (`window`, etc) - This doesn't convert dotnet-crypto-worker.js into TypeScript, but it does turn on TypeScript checking using a JSDoc comment. To convert that file to typescript: 1. rename `workers/dotnet-crypto-worker.js` to `workers/dotnet-crypto-worker.ts` 2. replace uses of `var` by `let` or `const` 3. add `:any` in various places. * use fast-glob instead of fs.readdir * add fast-glob to devDependencies
-
由 Zoltan Varga 提交于
[mono][wasm] Add a 'wasm-gc-safepoints' option to enable the generation of GC safe points in AOTed code on WASM. (#70520)
-
由 Ankit Jain 提交于
When the results xml is large, and we are writing the base64 representation in one line, `node` can exit before all the output gets flushed out. This results in xharness getting an incomplete `STARTRESULTXML <len> <base64> ... ` with missing `ENDRESULTXML`, thus no `testResults.xml` is generated. This can be seen in the case of `Microsoft.Extensions.Primitives.Tests` which has xml ~140KB, and `System.Memory.Tests` which has a xml ~13MB. So, wait for the two streams to be flushed out, with a timeout of 3secs. - use the `drain` event only if `stream.write('')` returns `false` * Address review feedback @kg, @maraf
-
- 09 6月, 2022 2 次提交
-
-
由 Ilona Tomkowicz 提交于
-
由 Steve Pfister 提交于
This change adds two build-only lanes to `runtime` and two full build+test lanes to `runtime-wasm` that builds wasm with internal threads only (`WasmEnablePerfTracing`) and full threading (`WasmEnableThreads`). The `runtime-wasm` additions can only be manually triggered at this time. Co-authored-by: NAleksey Kliger (λgeek) <alklig@microsoft.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
- 08 6月, 2022 4 次提交
-
-
由 Ilona Tomkowicz 提交于
* Basic testcase. * Fixed non-null access to proxy-hidden members. * Fixing the issue and adding more tests. * Fixed a failing test: let CompileAndRunTheExpression throw. * Blocked failing tests on firefox. * Applied @radical's suggestions. * Reverted indexing to fix tests. * Reverted LastOrDefault instead of indexing + corrected names. * Changed to throw when root name empty. * Removing null suppression that does not change the evaluation result but fails without this change. * Applied @radical's comments. * Change exception on string property evaluation. * Added @radical's suggestions. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Thays Grazia 提交于
* [wasm] [debugger] Adding serilog dlls Adding serilog dlls * Removing serilog usage for Blazor.
-
由 Ankit Jain 提交于
* [wasm] Workaround a python bug which can cause em* scripts to hang Issue - https://github.com/emscripten-core/emscripten/pull/15146 Emscripten added a workaround enabled by setting the environment variable - `EM_WORKAROUND_PYTHON_BUG_34780`. * [wasm] Wasm.Build.Tests - use a local copy of `dotnet` .. to avoid conflicting with other instances on helix. * don't log output from robocopy
-
由 Eric Erhardt 提交于
When sending a message between LibraryChannel and ChannelWorker, there is a race condition where both threads are reading/writing to shared memory at the same time. This can cause message pages to be skipped. To fix this, add a shared mutex lock so only one side is reading/writing to shared memory at the same time. Fix #69806
-
- 07 6月, 2022 1 次提交
-
-
由 Thays Grazia 提交于
* Implementing support new method on enc * HotReload - Support new static method * - Fix adding a new static field in an class not initialized - Returning the number of the fields in the class including the ones added by hotreload. * Fix GetStringAfterEnc. Add a test with 2 enc adding classes in both of them. Adding in the dump changes typedef added. * Fix space between function and ( * Removing try catch. * Fix compilation * Remove unnecessary if. * Adressing @lambdageek comments and adding a test for it. * Addressing @radical comments. * Renaming method. * Counting row indices per-kind. * Addressing @radical comments. * Apply suggestions from code review Co-authored-by: NAnkit Jain <radical@gmail.com> * Addressing @radical comments. * Fix methodDebugInformation.Document.IsNil. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
- 06 6月, 2022 4 次提交
-
-
由 Thays Grazia 提交于
* Fix entrypoint when it's an async method. Add methods in the type even if there isn't source information. * Update src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs Co-authored-by: NAnkit Jain <radical@gmail.com> * Addressing @radical comments. * Addressing @radical comment * Update src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs Co-authored-by: NAnkit Jain <radical@gmail.com> * Address @radical comments. * Revert @radical suggestion. * Addressing @radical comment. * Addressing @radical comments offline. * Addressing @radical comments offline. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Ilona Tomkowicz 提交于
* Added DIM tests. * Addressed @radical's suggestions. * Block failing firefox tests.
-
由 Radek Doulik 提交于
Add initial SIMD support for wasm. This is subset of the original [draft PR](https://github.com/dotnet/runtime/pull/67848) without the public API additions. Add `WasmSIMD` property to enable SIMD in AOT builds. With the property enabled, the apps built with AOT get SIMD intrinsics inlined for parts of `S.R.I.Vector128` and `S.R.I.Vector128<T>` API. Add test to build and run a simple app with SIMD enabled. * Initial wasm SIMD support * Enable Vector intrinsic on wasm The llvm code generator works nicely with them. * Add missing files * Make SIMD support conditional * Remove test code * Fix debug build * Update after merge * Add Splat and ExcractLane methods * Switch i64 values for Constant method So that C# WasmBase.Constant(0xff11ff22ff33ff44, 0xff55ff66ff77ff88) is compiled into wasm code v128.const 0xff11ff22ff33ff44ff55ff66ff77ff88 [SIMD] * Update PlatformNotSupported version of WasmBase * Fix CI build * Add ReplaceLane and Swizzle * Change WasmBase.Constant to get Vector128 as input * Add Shuffle methods This will need more work, as it crashes clang during 'WebAssembly Instruction Selection' pass: WasmApp.Native.targets(353,5): error : 3. Running pass 'WebAssembly Instruction Selection' on function '@corlib_System_Runtime_Intrinsics_Wasm_WasmBase_Shuffle_System_Runtime_Intrinsics_Vector128_1_byte_System_Runtime_Intrinsics_Vector128_1_byte_System_Runtime_Intrinsics_Vector128_1_byte' * Handle SN_Shuffle * Fix crash in OP_STOREX_MEMBASE * Add build test * Set WasmSIMD to false as default value Also add "experimental" to the property comment * Remove public API, it will be part of another PR * Add link to the llvm issue * Review feedback * Review feedback
-
由 Jérôme Laban 提交于
-
- 02 6月, 2022 1 次提交
-
-
由 Stephen Toub 提交于
* Update Roslyn to pick up recent features * Replace a straggling !! * Fix now erroneous use of u8 * Disable several generic math tests
-