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
path: root/sdks
AgeCommit message (Collapse)Author
2020-03-11[wasm][packager] add option to pull from a different runtime directory (#19178)Larry Ewing
2020-03-10[wasm][standalone-benchmarks] Support mac (#19175)Larry Ewing
This just handles systems (mac) without realpath installed and with a version of bash that doesn't support &>>. It also trims path information from the benchmark name
2020-03-09[wasm] Convert MonoString to string without utf8 intermediate (#19156)Larry Ewing
* [wasm] Convert MonoString to string without utf8 Previously when converting strings from mono objects to js we used a utf8 intermediate buffer, this change builds the js string from the mono string without an intermediate.
2020-03-09[wasm] remove m_strdup (#19158)Larry Ewing
2020-03-08Bump emscripten to 1.39.9. (#19147)Zoltan Varga
2020-03-06[wasm][debugger] Hash messages and sessions directly (#19128)Larry Ewing
* [wasm][debugger] Hash messages and sessions directly
2020-03-05[wasm][debugger] Check runtime state before attempting to resolve ↵Larry Ewing
breakpoints (#19134) Handle the case where the breakpoint request comes in very early before the runtime initialized by deferring resolution until normal runtime init.
2020-03-05[wasm][debugger] Rework breakpointRequest handling across sessions (#19113)Larry Ewing
Try to follow CDP ordering constraints by not responding Debugger.enable until we've fired scriptParsed events for any already loaded assemblies. Send Debugger.scriptParsed asynchronously as we load assemblies instead of waiting for them all to load first and fix some of the sequence point processing to speed up debugger initialization time. Rework breakpoint request handling by always passing the request to the browser then storing both the request and the resultant id for use in when any new scripts are loaded. Pass any previous breakpoint requests to the new execution context on page reload.
2020-03-02[wasm] Allow SIMD only in netcore mode. (#19087)Zoltan Varga
2020-02-29[wasm] Pass --exclude-feature deserialization to the linker. (#19031)Zoltan Varga
* [wasm] Pass --exclude-feature deserialization to the linker. * Add a --linker-exclude-deserialization packager option.
2020-02-27[wasm][debugger] use console.debug to signal runtime init (#19057)Larry Ewing
* [wasm][debug] use console.trace instead to init runtime Using a `debugger` breakpoint in Mono.mono_wasm_runtime_ready has unfortunate side effects, this changes the logic to use console.trace and checks the stackTrace when the event is arrives. * add a console.trace stub to runtime-test.js * Use console.debug with a magic number instead
2020-02-27[wasm][debugger] allow stepping out of c# (#19059)Larry Ewing
2020-02-27[wasm][debugger] Always pass failed breakpoint requests to target (#19053)Larry Ewing
* [wasm][debugger] Always pass failed breakpoint requests to target Originally we had a simple way to detect that breakpoints were meant for the runtime but that is no longer true. Now if we can't location a breakpoint we need to pass the request on to the target so it can make an attempt. * Fix test byUrl is a logical breakpoint and should not fail
2020-02-27[wasm][debugger] Show the typename for valuetypes (#19046)Ankit Jain
- no details of the valuetype are accessible Fixes #18232
2020-02-27[wasm][debugger] clean up scriptid parsing (#19052)Larry Ewing
2020-02-27[wasm][debugger] Since System.Url normalizes the path sep also try to match ↵Larry Ewing
on the doc.Url (#19051) Match against the pdb document url as well as the Url we calculated in case the urls have been processed incompatibly
2020-02-26Debug proxy updates (#19026)Steve Sanderson
Currently, the Mono WebAssembly debug proxy logic is treated as "shared source" with ASP.NET Core. Each time we update by copying the sources from this repo into the ASP.NET Core repo, we need to make some updates to avoid problems. The intention of this PR is to make the updates here at source, so we can simply copy the sources as-is and don't need to update them each time. The changes are: Making everything internal, since this is not intended as public API surface for ASP.NET Core developers. It's an internal implementation detail of the framework. To retain convenience for the ProxyDriver and Mono test code, this PR also adds a simple public entrypoint called DebuggerProxy. This exposes nothing except the ability to connect a debugger proxy instance to a websocket. In the ASP.NET Core code, we'll simply omit this file since it's not needed, but even if we did get it in the future when the proxy feature is published as a package, it would still be fine since it doesn't expose any public API that would be expensive to support and maintain. Replacing all the Console.WriteLine calls with use of ILogger from the standard Microsoft.Extensions.Logging package, as used by most .NET Core-based application frameworks including ASP.NET Core. This allows external code to control what happens with log output, what severity levels are filtered in/out, etc. In ProxyDriver and Mono test code, I've configured it to behave just like before: it logs to console, and doesn't filter out anything. This has the benefit that various bits of commented-out logging code no longer need to be commented out. Instead, when calling the logger.Log* methods, each call site can specify a severity level and then (for example) the filter level could be set to Debug so that all Trace items are filtered out by default.
2020-02-26Merge pull request #19035 from radical/async-local-fixesAnkit Jain
[wasm][debugger] Fixes to get async method locals
2020-02-26[wasm] Improve error handling in the packager. (#19037)Zoltan Varga
2020-02-26Add basic set of standalone benchmarks for wasm (#18977)Katelyn Gadd
Adds a basic set of standalone benchmarks from multiple sources, along with simple infrastructure for running them in mono, netcore and node.js wasm. A couple of them also have original JS versions you can run from a JS shell.
2020-02-25[wasm][debugger] Fix getting async method locals, and `this`Ankit Jain
- async local field names don't start with `<`, surface those - `this` for the actual async method is in a field named like `<>4__this`, surface it as the `this` object
2020-02-25[wasm][debugger][tests] Update tests to track test api changesAnkit Jain
2020-02-25[wasm][debugger][tests] Ensure to always check location when sendingAnkit Jain
.. commands.
2020-02-25[wasm][debugger][tests] extract method to set breakpointsAnkit Jain
2020-02-25[wasm][debugger] revert DotNetUrl changes (#19021)Larry Ewing
2020-02-24Use AsLocation when creating location (#19016)Larry Ewing
2020-02-24[wasm][debugger] Don't mark the runtime ready before clearing the (#19015)Ankit Jain
.. breakpoints. Chrome tries set the breakpoints from previous sessions when the debugger starts up. And we set that in mono, if the runtime is ready. But in `MonoProxy.RuntimeReady`, we mark the runtime ready *before* clearing the breakpoints. So, we end up setting the breakpoints, as asked by chrome debugger, but then subsequently clearing them! This manifests as previously set breakpoints in managed code not getting hit, but if we reset the breakpoint manually then it gets hit.
2020-02-24Merge pull request #19003 from radical/improve-locals-accessAnkit Jain
[wasm][debugger] Improve accessing locals
2020-02-23[wasm][debugger] Fix nested class names for `this`Ankit Jain
2020-02-23[wasm][debugger] Fix issue in getting locals for previous framesAnkit Jain
`mono_wasm_get_var_info` didn't correctly reset the `data.cur_frame` required for `mono_walk_stack_with_ctx`, as the stack is walked repeatedly to get the variables.
2020-02-22[wasm][debugger] Enable embedded ppdb on wasm (#18966)Thays Grazia
* Enabling PPDB on Wasm.
2020-02-22[wasm][debugger] Handle exceptions from JSAnkit Jain
- correctly mark `Result` with the error
2020-02-22[wasm][debugger] SetException on all the inspector waiters for uncaught ↵Ankit Jain
exceptions
2020-02-22[wasm][debugger] Store more per session state and force some event ordering ↵Larry Ewing
(#18747) * [wasm][debugger] Store more per session state and force some event ordering Register a DebugStore and ExecutionContext per session and force some commands to block on source loading so that scripts are loaded before attempting to use them. This should populate the sources in vscode-js-debug properly.
2020-02-21[wasm][tests] clean up a couple of the Contains assertionsLarry Ewing
2020-02-20[wasm] Improve locals visualization (#18919)Ankit Jain
* [wasm] Improve locals visualization in the debugger - improves handling of generic types, null objects, delegates - improves getting the name for nested types, arrays, generic types top todos from this: - Remove arity in "foo`2<int, int>" from the type name - Convert nested type names from `foo/bar` to `foo.bar`. * [wasm] Fix scoping for `mono_wasm_add_null_var` - which caused runtime uncaught exceptions * [wasm] Fix possible lost exception in GetScopeProperties - An exception, eg., because of an invalid scope id just ends up uncaught instead of showing up as a failed Result. * [wasm] Address review feedback - Replace `stringify_type` with `mono_type_full_name` which does exactly the same thing! * [wasm][debugger] Fixup nested class, and generic type names ``` // Fix up generic names like Foo`2<int, string> to Foo<int, string> // and nested class names like Foo/Bar to Foo.Bar ```
2020-02-18[wasm] Implement generation of empty assemblies in wasm-tuner. (#18880)Zoltan Varga
The linker can completely link away some assemblies, but the rest of the ninja build still requires them. Previously they were generated by running csc, but thats too slow, so generate them using Cecil from wasm-tuner.
2020-02-17[wasm] Make cil-strip quiet. (#18881)Zoltan Varga
2020-02-14[sdks] add anroid-interpreter-{arm64-v8a,armeabi-v7a,x86,x86_64} targets ↵Bernhard Urban-Forster
(#18814) The Xamarin.Android team prefers that we ship two different `libmonosgen-2.0.so` for each target, e.g. for arm64 we will have with this PR: * `./sdks/out/android-arm64-v8a-release/lib/libmonosgen-2.0.so` * `./sdks/out/android-interpreter-arm64-v8a-release/lib/libmonosgen-2.0.so` As the names indicate one has the interpreter enabled. This is contrary to what we do for Xamarin.iOS. There, `--enable-minimal=interpreter` has the side-effect that the build will produce a `libmono-ee-interp.dylib` that can be linked next to `libmonosgen-2.0.dylib`. We _could_ do the same for Android, but that would require us to * Add `--disable-visibility-hidden` to the Android Mono runtime builds. There are concerns however that this will slow down `dlopen (libmonosgen-2.0.so)` on the Xamarin.Android side. * Do some changes to the interpreter infrastructure, because `--disable-minimal=interpreter` is designed to be used with a cross compiler in mind. For example, we would need a different solution for this: https://github.com/mono/mono/blob/d7e6fcbda82639fd5afe106b0e7a65a2a72a4f63/mono/mini/tramp-arm64.c#L631-L634
2020-02-13[wasm] Avoid compiling release configuration with -s ASSERTIONS=1 in AOT ↵Zoltan Varga
mode, it generates a lot of extra code. (#18703) * [wasm] Avoid compiling release configuration with -s ASSERTIONS=1 in AOT mode, it generates a lot of extra code. * Update sdks/wasm/packager.cs Co-Authored-By: Bernhard Urban-Forster <bernhard.urban@xamarin.com> Co-authored-by: Bernhard Urban-Forster <bernhard.urban@xamarin.com>
2020-02-13[wasm] Update WASM-REQUESTS.md. (#18816)Zoltan Varga
2020-02-13Revert "[wasm] Pass direct-pinvoke to the AOT compiler. (#18775)" (#18807)Zoltan Varga
This reverts commit eb85a108a33ba86ffd184689b62ac1f7250c9818.
2020-02-12[wasm] Remove chakra and xs from the jsvu update list. (#18804)Zoltan Varga
Chakra is no longer getting updated and we don't use XS.
2020-02-12[wasm] Switch to the lts version of node. (#18805)Zoltan Varga
* [wasm] Switch to the lts version of node. * Fix a typo.
2020-02-11[wasm] Pass direct-pinvoke to the AOT compiler. (#18775)Zoltan Varga
2020-02-11Move offsets-tool into mono/tools (#18783)Alexander Köplinger
This allows us to consume it in the dotnet/runtime build.
2020-02-07[iOS] Replace removed dsymutil `-t` switch with `-num-threads` (#18741)Alex Soto
Apple removed `-t` switch from dsymutil in favor of `-num-threads`
2020-02-06[wasm][debugger] Use System.Text.Json in the driverLarry Ewing
2020-02-06[wasm][debugger] Let chrome pick an open port by defaultLarry Ewing
2020-02-06[wasm][debugger] Silence some logging and extract the null caseLarry Ewing