Commit Graph

31 Commits

Author SHA1 Message Date
Carlos Sánchez López be013ed306
Ignore *.pp files in .gitignore (#109001) 2024-10-17 17:07:08 -06:00
Carlos Sánchez López c12c3b7b18
Add the autocreated .mono/ folder to .gitignore (#102054) 2024-05-14 20:49:43 -06:00
Pavel Savara 8bd23f0792
[browser] introduce JSProxyContext (#95959) 2023-12-20 08:57:32 +01:00
Huo Yaoyuan c37f6c36ba
Convert CMakeSettings.json to CMakePresets.json for coreclr (#89513) 2023-08-07 10:08:23 -07:00
Thays Grazia b2106aeae6
Just create the C# file with colon on name on Linux, keep the csproj always there (#82724) 2023-02-27 17:05:16 -03:00
Thays Grazia 2480f01041
[wasm][debugger] Revert don't need to escape special characters anymore (#78320)
* Trying to fix again

* Removing comment

* trying to fix CI

* implementing escaped string for dotnet:// as discussed with @radical

* addressing radical suggestion

* fix CI

* implementing test with colon as discussed with @radical.

* fix on windows

* pushing @radical changes and addressing @radical comments

* using ilona suggestion about conditionalfact

* Reverting one suggestion.

* Fixing behavior on mac
2022-12-08 16:04:44 -03:00
Sven Boemer a63b9d7956
Don't gitignore linker (#79002) 2022-11-30 08:59:14 +01:00
Pavel Savara 0d80733c26
[wasm] deprecate legacy JS API and propose new (#73068)
- Added new API methods to top level next to MONO and BINDING namespaces
- marked MONO and BINDING namespaces obsolete
- separated legacy API into dotnet-legacy.d.ts
- renamed snake_case to camelCase names

Co-authored-by: Marek Fišera <mara@neptuo.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
2022-08-04 08:19:50 +02:00
John Salem c48adc278d
[Infrastructure] Update devcontainer (#67656)
* Update devcontainer
* upgrade to 6.0 container and fix to Ubuntu 20.04
* Upgrade llvm/clang package versions
2022-05-03 11:45:27 -07:00
Aleksey Kliger (λgeek) 5a9bcde1d5
[Codespaces] Make it possible to run wasm samples in the browser (#64277)
With these changes, running the following in the Codespace will open the local browser to a page served from the codespace hosting the WASM sample:

```console
cd src/mono/sample/wasm/browser
make
make run-browser
```


* Set EMSDK_PATH in .devcontainer.json

   We provision Emscripten as part of the devcontainer prebuild.

   Set EMSDK_PATH to allow rebuilding the wasm runtime to work without any additional ceremony

* Install dotnet-serve into .dotnet-tools-global

* [wasm] Don't try to open browser if running in Codespaces

* .devcontainer: add global tools dir to PATH

* .devcontainer: forward port 8000

   This enables running the mono wasm samples in the local browser:

* [wasm] samples: also check for dotnet-serve on the path

   On Codespaces we install dotnet-serve on the PATH but not where `dotnet tool list` can see it

* remove onAutoForward: notify - it's the default

* Adjust the path of v8 depends if running in a dev container

* Check if we're running in any Docker container, not just Codespaces

Co-authored-by: Fan Yang <52458914+fanyang-mono@users.noreply.github.com>
2022-01-26 21:00:00 -05:00
Pavel Savara 3591addba0
[wasm] Webpack & NextJS & TypeScript samples (#63335)
- nextJs sample
- webpack sample
- typescript sample
Co-authored-by: campersau <buchholz.bastian@googlemail.com>
2022-01-09 20:24:47 +01:00
Pavel Savara 1bd36302b4
[Wasm] JS modularization (#61313)
Modularized dotnet.js
* By using emcc options MODULARIZE and EXPORT_ES6, depending on WasmEnableES6 to produce ES6 or CommonJS modules respectively.
* WasmEnableES6 enables WasmBuildNative because dotnet.js need to be re-linked
* CommonJS version is able to be loaded into global namespace and behaves as before this change.
* Added new es6/*.js and es6/*.js files which are included in dotnet.js creation. 
* Key aspects are documented in src/mono/wasm/runtime/modularize-dotnet.md of this PR.
* Improved dotnet.d.ts it is now generated into version control too, so that we could observe how it evolves.
* Removed legacy --testing argument and simplified is_testing logic in the the samples.
* Added browser-es6 sample app, which uses WasmEnableES6=true to compile dotnet.js as ES6 module.
* Added browser-legacy sample, which uses dotnet.js CommonJS module and loads it into global namespace.
* Added package.json into the nupkg

Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Katelyn Gadd <kg@luminance.org>
Co-authored-by: Marek Fišera <mara@neptuo.com>
2021-12-02 10:38:00 +01:00
Anton Firszov 85642f8147
Build HttpStress and SslStress with live-built runtime using current TFM (#61689)
This PR changes both local (non-containerized) and containerized stress builds to build against the live-built runtime with the help of targetingpacks.targets.
2021-11-30 18:16:30 +01:00
Eric Erhardt 8e4c996ae3
Add initial codespaces support for dotnet/runtime (#59723)
* Add initial codespaces support for dotnet/runtime

* Enable codespaces-prebuild
2021-09-29 11:41:36 -05:00
Adeel Mujahid 72497647e4
Ignore MSBuild_Logs/ directory (#59323)
This is a new directory used by msbuild for logging since cdb5077c45.
2021-09-20 12:46:34 -05:00
Anton Firszov 62327913b9
Remove duplicate lines for the src/coreclr/debug folder exception in .gitignore (#49749)
* remove unused duplicate in .gitignore

* delete "!pal/prebuilt/idl/*_i.c"
2021-03-20 09:01:46 +01:00
Kenneth Pouncey c07d59af4e
[mono] Adjust wasm gitignore (#48325)
- move the responsibility of ignoring wasm files to the mono/wasm .gitignore
2021-02-16 09:34:13 +01:00
Tomáš Rylek 69e114c1ab
December infra rollout - remove duplicated 'src' from coreclr subrepo (src/coreclr/src becomes src/coreclr) (#44973)
* Move src/coreclr/src/Directory.Build.targets to src/coreclr
Merge src/coreclr/src/CMakeLists.txt into src/coreclr/CMakeLists.txt

* Mechanical move of src/coreclr/src to src/coreclr

* Scripts adjustments to reflect the changed paths
2020-12-08 03:19:44 +01:00
Roman Konecny 7171407822
Optimize HTTP2 HPack huffman decoding (#43603)
Optimized to use 8 bits lookup tables tree with result of about 0.35 CPU utilization as oppose to former version.
Decoding table is lazy generated as ushort[].
2020-11-27 10:02:08 +01:00
wooooooood 7f81977114
Remove Makefile from gitignore (#41075) 2020-08-20 09:41:30 -07:00
Ryan Lucia 053d6082e2
[mono] Adjust wasm gitignore and Makefile (#40797) 2020-08-13 20:55:44 -04:00
Adeel Mujahid 43ae9afecb
Add support for illumos cross-compilation (#37753) 2020-06-19 14:50:20 +02:00
Steve MacLean 9890a9a6d8
Enable cross OS DBI build (#35021)
* Enable cross OS DBI build

* Fix .gitignore

* Fix Cross OS DBI compilation issues

* Review feedback

* Cleanup dummy/twowaypipe.cpp
2020-04-17 15:58:26 -04:00
Viktor Hofer 42183b1b86
Enable restore for ref and src projects in libs (#33553)
- Use RestoreUseStaticGraphEvaluation which improves no-op restore by 10-15x down to 10-20 seconds.
- .builds msbuild files renamed to .proj as RestoreUseStaticGraphEvaluation throws for non .proj files without an env var set.
- Introducing subsets for libraries and mono and replacing -buildtests switch which was only working for libraries in favor of the subset switch -subset tests which works consistently.
- Fixing the Microsoft.DotNet.CodeAnalysis analyzer which wasn't running and adding missing exclusions.
- Separating restore and build phases in different parts in the repo (ie for installer.tasks) as generated props and targets need to be imported which requires a reevaluation in the build phase.
- Fix eng/docker/build-docker-sdk.ps1 by using the official build entrypoints (cc @alnikola)
- Remove a few depprojs in favor of project restore (faster restore :))
- Fix root code coverage measurement not working correctly
- Traversal support instead of dir.traversal.targets or manual build target defines.
- Introduce a root Build.proj entrypoint which is responsible for building and restoring the repository. This is necessary to enable the new NuGet fast restore which works best and fastest with a single entrypoint.
- Avoid binclashes in libraries and between libraries and installer (netstandard.depproj vs netstandard.csproj)
- Upgrading the SDK to 5.0 latest
- Code cleanup
2020-04-06 11:54:10 +02:00
pi1024e 3eb514ba5c
Remove duplicated entries (#33371) 2020-03-09 14:14:27 -07:00
Egor Bogatov 134b198b96
[mono] Improve mono.proj, auto-detect build configurations (#31739)
* Auto-detect build configuration in Makefile

* Improve RunCoreClrTests target

* Clone .dotnet to .dotnet-mono

* Implement Console
2020-02-06 18:34:16 +03:00
Michal Strehovský e92e2e6d6a Add link to shared portion of CoreLib to .gitignore (#1607)
In the coreclr repo, one could simply findstr in the System.Private.CoreLib directory to find stuff.

Since in the runtime repo the shared portion of the CoreLib moved to src/libraries/, but private portion lives in src/coreclr, the files are split. We can work around it locally by making a symbolic link.

That way runtime devs that just grep/findstr stuff don't have to suffer entering the src/libraries directory where tab completion doesn't work because there's 180 directories prefixed by `System.`.
2020-01-15 07:49:42 -08:00
Eirik Tsarpalis 895edd6267
remote *_i.h blacklist from .gitignore (#975) 2019-12-17 13:11:13 +02:00
Jarret Shook d94b855e12
Fix linux musl arm64 testing (#523)
* Fix linux musl arm64 testing

1. Increase crossgen-comparion job to 2 hour timeout
2. modify .gitignore to include .devcontainer -> vscode hidden folder

* Update comment
2019-12-04 22:17:53 -08:00
Viktor Hofer 1d5de1533a
Libraries testing (#178)
* Add Libraries Testing framework package as inline

The existing package Microsoft.DotNet.CoreFxTesting lived in Arcade
because of no infrastructure being available to compile local tasks in
the repository. As the runtime repository now offers that we can inline
the testing framework.

* Hardcode configuration for installer.tasks

* Update ReportGenerator global tool version

* Add vstest support

* Update binary serialization blobs
2019-11-21 23:13:26 +01:00
dotnet-bot 381372f6f1 Initial runtime repository structure 2019-11-14 01:26:19 +01:00