- 01 7月, 2022 4 次提交
-
-
由 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.
-
由 Alexander Köplinger 提交于
Brings in new cmake 2.23.1 and Android NDK23c which fixes an issue with the binary size and perf of libmonosgen-2.0.so In NDK23b they decided to no longer pass -O2 compiler optimization flag (for arm64, armv7 used -Oz) as part of the Android toolchain but delegate to upstream CMake behavior: https://github.com/android/ndk/wiki/Changelog-r23 and https://github.com/android/ndk/issues/1536 CMake defaults to -O3 for Release builds but unfortunately this causes quite a noticable binary size increase and perf regression. The Xamarin Android team measured startup time on an average of 10 runs of `dotnet new maui` on a Pixel 5: ``` -O3: 893.7ms -O2: 600.2ms -Oz: 649.1ms ``` We now explicitly pass in -O2 for Android builds. Fixes https://github.com/dotnet/runtime/issues/68330
-
- 30 6月, 2022 3 次提交
-
-
由 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
-
由 Steve Pfister 提交于
https://github.com/dotnet/runtime/pull/70970 was merged with a field that was unused. This PR removes it. Co-authored-by: NSteve Pfister <steve.pfister@microsoft.com>
-
- 29 6月, 2022 8 次提交
-
-
由 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.
-
由 Katelyn Gadd 提交于
Gc safe transitions and memory barriers were disabled for wasm, now they are enabled if the wasm_gc_safepoints AOT compiler option is set or the DISABLE_THREADS define is not active
-
由 Zoltan Varga 提交于
-
由 Zoltan Varga 提交于
* [mono] Use GenericArraySortHelper<T> on mono as well. * Remove unnecessarily DynamicDependency attributes.
-
由 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 提交于
-
由 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 3 次提交
-
-
由 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>
-
由 Steve Pfister 提交于
There is a crash in `Exception.CaptureDispatchState` when called from one thread at the same time another calls into `Exception.RestoreDispatchState`. The reason for the crash is due to the way we do not update `foreignExceptionFrames` in a thread-safe way. `foreignExceptionFrames` is used in both methods and can crash when the size changes before the array is copied. The fix copies `foreignExceptionFrame` into a local variable in `CaptureDispatchState` Fixes https://github.com/dotnet/runtime/issues/70081
-
由 Thays Grazia 提交于
* Support new hotreload features on mobile devices. * Implementing support to add methods in hotreload on mobile devices * Only invalidate code when we really have some change. * Remove printf * add/remove extra lines in eof * Sharing string between the debugger and the managed get capabilities API
-
- 22 6月, 2022 5 次提交
-
-
由 Mitchell Hwang 提交于
* [mono] Extend HelloWorld sample to use MonoAotCompiler Task * [mono] Extend MonoAotCompiler Task to invoke dotnet-pgo * Use cache for incremental builds
-
由 Fan Yang 提交于
* Fix C4018 warnings round II * Changes for x86 * Fix more C4018 warnings * Last set of files being fixed within this PR * Address review feedback and fix a build failure * Update upd_locator_t to be in sync with locator_t
-
由 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 3 次提交
-
-
由 Ivan Povazan 提交于
This change improves the AOTed code size by reducing the number of generated methods for generics. Fixes https://github.com/dotnet/runtime/issues/54850
-
由 Vikas Gupta 提交于
-
由 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
-
- 20 6月, 2022 1 次提交
-
-
由 Vikas Gupta 提交于
* coreclr pal layer chanegs. * Updated the system arch for power architecture. * Fixed the failing PAL SXS exception_handling test case * replaced gint with gint64 to avoid overflow and this has fixed the segmentation fault issue. * coreclr pal layer chanegs. * Fixed the failing PAL SXS exception_handling test case * coreclr pal layer chanegs. * Updated the system arch for power architecture. * Fixed the failing PAL SXS exception_handling test case * replaced gint with gint64 to avoid overflow and this has fixed the segmentation fault issue. * coreclr pal layer chanegs. * Fixed the failing PAL SXS exception_handling test case * Removing intsafe.h file as main does not have this file now.(Already removed in commit 27195f67) Co-authored-by: NAlhad Deshpande <Alhad.Deshpande1@ibm.com>
-
- 19 6月, 2022 1 次提交
-
-
由 Stephen Toub 提交于
-
- 18 6月, 2022 4 次提交
-
-
由 Stephen Toub 提交于
* Remove some dead code / branches Some signal amidst the noise in an lgtm.com report. * Address PR feedback
-
由 Aaron Robinson 提交于
* Remove enum_flag_Unrestored usage in boxing stubs. * Add AND instruction (21h) to x86 decoder. * Update mono for null ref in interpreter paths. * Disable test on llvmfullaot and wasm * Handle null destination for intrinsics.
-
由 Eduardo Velarde 提交于
Event ThreadPoolMinMaxThreads added. Parameters are: ushort MinWorkerThreads ushort MaxWorkerThreads ushort MinIOCompletionThreads ushort MaxIOCompletionThreads ushort ClrInstanceID It is fired in the ThreadPool constructor and in the SetMinThreads/SetMaxThreads functions.
-
由 Katelyn Gadd 提交于
-
- 17 6月, 2022 2 次提交
-
-
由 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>
-
由 Aleksey Kliger (λgeek) 提交于
the BLOCKING_SUSPEND_REQUESTED state is treated as suspend in full coop mode (the thread keeps running, but by definition it's not allowed to access managed resources and it will self-suspend if it tries to enter GC Unsafe mode by calling a runtime API or managed code). It is bad in hybrid suspend mode (the thread should be preemptively suspended, but we timed out before the signal handler had a chance to run). The corresponding suspension logic in the code is: https://github.com/dotnet/runtime/blob/3fc61ebb562afc327a8fc6de5c82d76e86bf6f5d/src/mono/mono/utils/mono-threads.c#L1149-L1158
-
- 16 6月, 2022 1 次提交
-
-
由 Thays Grazia 提交于
-
- 15 6月, 2022 2 次提交
-
-
由 Fan Yang 提交于
* First round of change of fixing C4018 * Address part of review feedback * Change the type of idx to unsigned for `effective_table_slow` * Add idx range check after the type was changed * Address review feedback for `class-init.c` * Change the return type of `*table_num_rows*` to `guint32`. Deal with the consequence of return type change of `table_info_get_rows`. Correct the type of a few local variables which store the return of `mono_metadata_token_index`. * Update return type * Address review feedbacks of metadata.c * Fix native crash * Make counter private to for-loop * Address review feedbacks * Address review feedbacks
-
由 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>
-