- 07 9月, 2022 24 次提交
-
-
https://github.com/dotnet/arcade由 dotnet-maestro[bot] 提交于
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 8.0.0-beta.22452.1 -> To Version 8.0.0-beta.22455.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Zoltan Varga 提交于
* [mono][wasm] Make OP_WASM_SIMD_SWIZZLE use the shufflevector LLVM instruction. The wasm.swizzle instrinsic always uses byte sized SIMD lanes, so it cannot represent all the variants of Vector128.Shuffle (). * Enable SIMD by default for testing. * Remove an assert. * Work around an LLVM problem. * Revert "Enable SIMD by default for testing." This reverts commit eebc533d4b90fdd32bbf5ea737bfa29243bdfbfe.
-
由 Radek Zikmund 提交于
-
由 Connor Bullard 提交于
* Update UriBuilder.cs * Adding check to Password * Adding Unit Tests * Update src/libraries/System.Private.Uri/src/System/UriBuilder.cs Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com> * Revising location of EncodeUserInfo to ToString() * Update src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderTests.cs Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com> Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com>
-
由 Anton Lapounov 提交于
-
由 Anton Lapounov 提交于
-
由 Stephen Toub 提交于
Use Encoding.ASCII.GetBytes instead of open-coded loop in CreateSecKeyAndSecWebSocketAccept (#75130)
-
由 Genevieve Warren 提交于
-
由 Stephen Toub 提交于
Just pretties up the generated code if these ranges are used. With this, all of the char.IsXx helpers can be emitted.
-
由 Stephen Toub 提交于
-
由 Samiullah Mohammed 提交于
* Add local build for System.Globalization shim Bundle the System.Globalization.Native shim sources into the native AOT toolchain package and compile them automatically using C/C++ compiler on the target machine. Compiling of the shim sources using C/C++ compiler is done during dotnet publish as follows: dotnet publish /p:LocalSystemGlobalizationNative=1 -bl -r linux-x64 This change is 'opt-in', it is enabled only by using /p:LocalSystemGlobalizationNative=1 * Incorporate review feedback * Copy shim source code into users Obj directory at IntermediateOutputPath and compile ** $ ls -al obj/Debug/net7.0/linux-x64/shim_source_code/libs/System.Globalization.Native/build/libSystem.Globalization.Native-Static.a * Add shell script for readability * Add copyright headers * Fix IlCompilerPackagePath Add change that was part of previous commit * Address review feedback * Include existing pal_icushim_static.c by using STATIC_ICU define * Use IlcSdkPath to copy shim source code * Incorporate review feedback * Remove USE_ICUSHIM_STATIC_BUILD in pal_icushim.c * Rename shim_source_code to source_code in Microsoft.DotNet.ILCompiler.pkgproj and script * Regular config is used, config-standalone.h is removed * IlcPath/.. is replaced to make the ".." go away * Address feedback from 08/04 * Rename option to ICUStaticLinking * Remove <Message .. * Compile without copying sources * Trim list of defines * Emit error when run on Linux in CMakeLists.txt * Move StaticICULibs to near licucore on Mac * Use only IlcHostPackagePath * Fix DirectPInvoke for library built by user * Feedback on 08/25: rename static-build, "source_code" and cleanup compile defs * Remove IlcHostPackagePath check * StaticICULinking property is true/false * Remove -g and -fPIC from definitions * Use minimal warning level * Remove -DHOST_AMD64 * Remove -O0 * Remove -fms-extensions -fwrapv * Standardize on "local build" * Rename build-nativeaot-shim-standalone.sh to build.sh * Script name in the error message should match the actual script name * Rename source_code to native/src Test code: $ cat Program.cs using System.Globalization; namespace CurrentCulture { class Program { static void Main(string[] args) { double val = 1235.56; Console.WriteLine($"Current culture: {CultureInfo.CurrentCulture.Name}"); Console.WriteLine(val); CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US"); Console.WriteLine($"Current culture: {CultureInfo.CurrentCulture.Name}"); Console.WriteLine(val); } } } $ cat hello-4.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net7.0</TargetFramework> <RootNamespace>hello_4</RootNamespace> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> $ cat nuget.config <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <!--To inherit the global NuGet package sources remove the <clear/> line below --> <clear /> <add key="repositoryPath" value="/home/ubuntu/runtime/artifacts/packages/Debug/Shipping" /> <add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" /> </packageSources> </configuration> Test code build: rm ./bin/Debug/net7.0/linux-arm64/native/hello-4 ~/dotnet-sdk/dotnet clean ~/dotnet-sdk/dotnet publish /p:PublishAot=true /p:StaticICULinking=true -bl -r linux-arm64 --self-contained -v d 2>&1 > log ./bin/Debug/net7.0/linux-arm64/native/hello-4 Tested on x86-64 and arm64 * Feedback on 09/02 * Incorporated change to use only src/native/libs/System.Globalization.Native/CMakeLists.txt * Conditionalized CMakeLists.txt for local build * Moved the build.sh into parent as local_build.sh and removed local-build directory. * Rename STATIC_SHIM_COMPILE to LOCAL_BUILD * Move file includes to previous itemgroup Move the includes in Microsoft.DotNet.ILCompiler.pkgproj to <ItemGroup Condition="'$(PackageTargetRuntime)' != ''"> * Move file includes to previous itemgroup Move the includes in Microsoft.DotNet.ILCompiler.pkgproj to <ItemGroup Condition="'$(PackageTargetRuntime)' != ''"> * Update section in compiling.md * Add "Using statically linked ICU" to compiling.md * Remove define check for LOCAL_BUILD in CMakeLists.txt * Update src/coreclr/nativeaot/docs/compiling.md * Update src/coreclr/nativeaot/docs/compiling.md * Update src/coreclr/nativeaot/docs/compiling.md * Update src/coreclr/nativeaot/docs/compiling.md Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com> * Update src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com> Co-authored-by: NSamiullah Mohammed <ubuntu@ip-172-31-24-113> Co-authored-by: NUbuntu <ubuntu@ip-10-0-0-223.us-west-1.compute.internal> Co-authored-by: NJan Kotas <jkotas@microsoft.com> Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
-
由 Natalia Kondratyeva 提交于
-
由 Tomas Weinfurt 提交于
-
由 Parker Bibus 提交于
-
由 Manish Godse 提交于
* add ability to set GCName via runtimeconfig. * Update config name. * Added the GC Name to the gcconfig.h to show up in the GetConfigurationVariables API Co-authored-by: Nmrsharm <musharm@microsoft.com>
-
由 Eirik Tsarpalis 提交于
* Make the JsonSerializerOptions.MemberAccessorStrategy property static. * fix naming
-
由 Charles Stoner 提交于
* Update to compiler build 4.4.0-3.22431.10 * Add missing types * Remove duplicate Microsoft.Interop.SourceGeneration reference
-
由 Tomas Weinfurt 提交于
* test * improve hanling of TLS certificates on Linux * remove NullableSafeHandleMarshaller * add DangerousRelease * feedback from review * feedback from review * feedback from review * Update src/libraries/System.Net.Security/src/System/Net/CertificateValidationPal.Unix.cs Co-authored-by: NJeremy Barton <jbarton@microsoft.com> Co-authored-by: NJeremy Barton <jbarton@microsoft.com>
-
由 Natalia Kondratyeva 提交于
* Send buffers and handles crash fixes * Add generated-like interop * Apply PR feedback from #74611 * Change asserts * Feedback + moved native methods to their own file * PR feedback Co-authored-by: NManickaP <mapichov@microsoft.com>
-
由 Pavel Savara 提交于
- only browser-advanced and browser-bench have preload optimizations now - modulepreload is not yet supported by FireFox, script tag type='module' works better for dependencies - preload and prefetch works well enough
-
由 Pavel Savara 提交于
-
由 Johan Lorensson 提交于
Fix Mono Windows x86 build and runtime crash. Trying to validate a fix on x86 Windows Mono crashed runtime with stack overflow. After some investigation it turns out that Mono Windows x86 have SIMD disabled, but S.P.C was still build with System.Runtime.Intrinsics support and implementation of methods like get_IsSupported is implemented as follow: .method public hidebysig specialname static bool get_IsSupported() cil managed { // Code size 6 (0x6) .maxstack 8 IL_0000: call bool System.Runtime.Intrinsics.X86.Popcnt::get_IsSupported() IL_0005: ret } // end of method Popcnt::get_IsSupported causing a stack overflow when called at runtime. Fix make sure we won't add support for System.Runtime.Intrinsics in S.P.C for Mono Windows x86 builds. There was also a warning in debugger-agent.c when building debug that caused build to fail, including fix for that as well.
-
由 dubiousconst282 提交于
* Morph `(x >> y & 1) NE/EQ 0/1` into `(x & (1 << y)) NE/EQ 0` * Fix cond reversing * Transform TEST_NE(x, 1) into AND(x, 1) * Recalculate containment when changing TEST to AND * Fix formatting * Update node flags when changing operands * Check heuristic before morphing * Revert TEST_NE -> AND, do it earlier and check for LSH * Use SetAllEffectsFlags() instead of manual bit ops * Fix formatting * Remove unnecessary check
-
由 SingleAccretion 提交于
* Consolidate importer spilling code V2 (#72744) * Consolidate importer spilling code (#72291) * Add tests * Fix losing GLOB_REF on the LHS The comment states we don't need it, which is incorrect. Diffs are improvements because we block forward substitution of calls into "ASG(BLK(ADDR(LCL_VAR<field>, ...)))", which allows morph to leave the "can be replaced with its field" local alone. * Prospective fix Spill "glob refs" on stores to "aliased" locals. * Delete now-not-necessary code * Fix up asserts * Clean out '(unsigned)CHECK_SPILL_ALL/NONE' casts * Don't manually spill for 'st[s]fld' * Revert 'Clean out '(unsigned)CHECK_SPILL_ALL/NONE' casts' * Fix assignments done via return buffers The mistake in logic was that the only trees which could modify unaliased locals are assignments, which is not true, calls can do that as well. One day we will move the return buffer handling out of importer, but until then, special handling is required. An alternative fix would have been to bring back the explicit "impSpillLclRefs" to "stloc/starg" code, but that would contradict the overall goal of consolidating the spilling logic. * Account for "implicit" GLOB_REFs Indirections off of "aliased" locals must be treated as global references even as they are not marked with GLOB_REF. Ideally, the importer would be designed such that this special-casing would not be necessary (i. e. all indirections are initially GLOB_REF and then morph "cleans" the flags once address-exposure info has been determined), but we're not there yet, and it is questionable whether we'll get to that point in any sort of near future.
-
- 06 9月, 2022 11 次提交
-
-
由 Ankit Jain 提交于
* [wasm] CI: Trigger wasm jobs on some specific libraries For example: - `src/libraries/System.Runtime.InteropServices/*` - this includes import generators - `src/libraries/System.Runtime.InteropServices.JavaScript/*` These, and the other libraries have browser specific code that should trigger the wasm tests. * fix typo
-
由 Stephen Toub 提交于
-
由 Egor Bogatov 提交于
* Enable JitStdOutFile in Release
-
由 Jakob Botsch Nielsen 提交于
Fix #57918
-
由 Adeel Mujahid 提交于
* Fix undefined behavior issues in aarch64 * Account for lr in aarch64's uc_addr
-
由 Egor Bogatov 提交于
-
由 Aaron Robinson 提交于
* Fix W^X flag for setting ITypeInfo
-
由 Anton Firszov 提交于
Fixes #74604 * Set ProductVersion to 8.0.0 * Configure roll-forward as recommended in the issue conversation * Build non-containerized SslStress using a private dotnet install, just like HttpStres
-
由 Viktor Hofer 提交于
* Remove duplicate SourceGeneration generator refs Unblocks https://github.com/dotnet/runtime/pull/75058 The listed PR brings in a change in roslyn that errors for duplicate analyzer references. There were only two duplicates in the libraries source projects which are being removed. The actual reference is already brought in via generators.targets. * Update System.Net.Http.csproj
-
由 Kunal Pathak 提交于
* Rename test files * Fix index scale for cast * Do not contain index if indir is not containable. * Revert "Do not contain index if indir is not containable." This reverts commit e79d17d92ceb0eed5ae1bfd03c2d1d6b171ab17f. * Instead try to contain the LEA * IsSafeToContainMem() check * Do IsSafeToContainMem() only if needed * Add test case * Fix merge error * fix the test case * review comment
-
由 Miha Zupan 提交于
* Avoid allocations in ClientWebSocket.ConnectAsync in the common case * Remove outdated ActiveIssue * Update comment typo
-
- 05 9月, 2022 5 次提交
-
-
由 Alexander Köplinger 提交于
They were disabled but it looks like the underlying problem was fixed since they pass now. Noticed while investigating https://github.com/dotnet/runtime/pull/74994 Closes https://github.com/dotnet/runtime/issues/34690
-
由 Pierre Belin 提交于
* Add nullability annotation on CacheControlHeaderValue Add nullability annotation on CacheControlHeaderValue.TryParse inside System.Net.Http Fix #74061 * Returns empty value instead of null * Parsing returns empty values instead of null * Remove useless tests + null-forgiving operator * Remove null-forgiving and add nullable return type
-
由 Radek Zikmund 提交于
* Fix the inheritdoc cref on Quic* classes * Add missing documentation * WIP * Add summary and exception annotation to Stream overriden members * Code review feedback
-
由 Michal Strehovský 提交于
https://github.com/dotnet/runtime/pull/74825#pullrequestreview-1092024823 I don't think we need to run on the same thread.
-
由 Adeel Mujahid 提交于
-