Граф коммитов

106400 Коммитов

Автор SHA1 Сообщение Дата
github-actions[bot] cf258a14b7
[release/5.0] [browser][crypto] Remove restraining not supported attribute Primitives (#43441)
Co-authored-by: Kenneth Pouncey <kjpou@pt.lu>
2020-10-19 19:58:31 +02:00
Juan Hoyos 25c7409c0e
[release/5.0] Fix missing signatures for Cross bitness DAC symbols (#43499)
* Unify paths used for cross-bit components
* Pass down buildArchitecture for signing
* Pass target properties to signing
2020-10-17 12:25:47 -07:00
Juan Sebastian Hoyos Ayala aedbe68b97 Pass target properties to signing 2020-10-17 01:04:04 -07:00
Juan Sebastian Hoyos Ayala 2b9b47dfcd Pass down buildArchitecture for signing 2020-10-16 16:44:50 -07:00
Juan Sebastian Hoyos Ayala 4de00f8188 Unify paths used for cross-bit components 2020-10-15 23:46:07 -07:00
github-actions[bot] 25e8b0d01e
[release/5.0] [.NET 5.0] Add support for libicu67 and several more higher versions (#43427)
* Add support for libicu67

* Add libicu68

* Adding libicu versions 69 to 72

Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
2020-10-15 08:49:24 -07:00
github-actions[bot] 2d8e19f188
Change default FeedbackSize for TripleDES internal implementation to 8
In .NET Framework, TripleDESCryptoServiceProvider defaults to a feedback
size of 8, and TripleDESCng defaults to a feedback size of 64. The
static Create by default would return TripleDESCryptoServiceProvider,
thus the TripleDES from Create would have a default feedback size of 8.

This changes the default sizes of TripleDES to behave more
similarly to .NET Framework to make porting CFB code from Framework
easier.

The internal 3DES implementation (and thus
TripleDESCryptoServiceProvider, since that is a wrapper around the
internal implementation) now defaults to a feedback size of 8.
TripleDESCng and user-derived classes from TripleDES will continue to
use a feedback size of 64.


Co-authored-by: Kevin Jones <kevin@vcsjones.com>
2020-10-14 10:25:07 -07:00
github-actions[bot] 78740beb26
Don't autoupgrade homebrew formula in install-native-dependencies.sh (#43353)
Should workaround an issue we're seeing on AzDO while upgrading openssl@1.1 1.1.1g -> 1.1.1h: 'Error: Not a directory @ dir_s_rmdir - /usr/local/Cellar/openssl'

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2020-10-14 14:36:10 +02:00
dotnet-maestro[bot] be12034936
[release/5.0] Update dependencies from dotnet/arcade (#43321)
[release/5.0] Update dependencies from dotnet/arcade


 - Avoid upgrading min version SDK

 - Convert now-invalid C# in UnmanagedCallersOnly test to IL.

 - Too many Ls.

Signed-off-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
2020-10-13 23:48:58 +00:00
github-actions[bot] d90f149592
[release/5.0] [wasm][net] System.Net.Mail should not throw PNSE for full assembly. (#43213)
Co-authored-by: Kenneth Pouncey <kjpou@pt.lu>
2020-10-13 19:26:03 +02:00
github-actions[bot] b928f03ffb
Bump Intellisense version for RTM (#43237)
Co-authored-by: Carlos Sanchez Lopez <carlossanlop@users.noreply.github.com>
2020-10-12 12:10:59 -07:00
Anirudh Agnihotry 9e4481de8a
Make stableVersion not set for non-shipping packages in coreclr & mono subset (#43258)
* set stable version to empty for non-shipping packages in coreclr and mono

* use a pattern
2020-10-10 17:13:45 -07:00
dotnet-maestro[bot] db79f63ca9
[release/5.0] Update dependencies from dotnet/arcade (#43185)
* Update dependencies from https://github.com/dotnet/arcade build 20201006.7

Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.ApiCompat
 From Version 5.0.0-beta.20474.4 -> To Version 5.0.0-beta.20506.7

* React to TargetFramework.Sdk change

* Roslyn update response (#43056)

* Update function pointer syntax usage to official.

* Fix warnings with new Roslyn

Co-authored-by: Jan Kotas <jkotas@microsoft.com>

* Adjust for roslyn change on ref parameters and NotNullIfNotNull (#42707)

* Adjust for roslyn change on ref parameters

* Adjust for roslyn change on NotNullIfNotNull

* Fix all configurations build

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Julien Couvreur <jcouv@users.noreply.github.com>
Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
2020-10-10 10:53:43 +02:00
John Salem cdbb29ad45
set isFullMatrix to true for all PRs (#41310) 2020-10-09 13:52:11 -07:00
Anirudh Agnihotry 4ad2a55dce
disable the failing test (#43225) 2020-10-09 13:21:58 -07:00
Anirudh Agnihotry 5d649722f2
turn on stable flag and pin version (#43182)
* turn on flag and pin version

* introduce centralized props
2020-10-09 13:14:20 -07:00
github-actions[bot] 9bd9f8d6c5
Remove unneeded licenses ingested from dotnet/diagnostics repo (#43099)
Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
2020-10-09 12:45:47 -07:00
github-actions[bot] 9dc28d94e6
Add executeable bit to tizen sh files (#42537)
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2020-10-09 10:48:33 -07:00
github-actions[bot] 23a291174a
[release/5.0] Backport string marshaling fixes #42486 and #42658 (#42884)
Co-authored-by: Katelyn Gadd <kg@luminance.org>
2020-10-09 19:46:03 +02:00
github-actions[bot] 28c2463854
Do not define X509_new as local_X509_new (#43159)
This was only being done for OpenSSL 1.0. X509_new is actually available
to use in OpenSSL 1.0 and doesn't need to be re-defined:
https://www.openssl.org/docs/man1.0.2/man3/X509_new.html. That document
even says: "X509_new() and X509_free() are available in all versions of
SSLeay and OpenSSL".

The current libraries code doesn't contain an implementation of
local_X509_new. If we define X509_new as local_X509_new, it breaks the
build when it's being compiled non-portable against OpenSSL 1.0. See
https://github.com/dotnet/runtime/issues/42991 for complete details.

I was able to reproduce this on Fedora 29 when building using OpenSSL
1.0 headers. The error doesn't happen when building using OpenSSL 1.1,
since X509_new is never re-defined.

Fixes: #42991

Co-authored-by: Omair Majid <omajid@redhat.com>
2020-10-09 10:32:41 -07:00
Maryam Ariyan 159ac08d97
Fix some issues with background thread compilation (#43098)
- Resolve dependencies before counting to avoid the race
where its possible for the background thread to run before
the main thread resulting in singletons being resolved during
compilation (it's meant to be side effect free).

- We also avoid capturing the ExecutionContext on the background thread
to avoid capture of async locals.

Fixes dotnet/extensions#3566

Taken from 07e4459b6e
2020-10-09 10:31:51 -07:00
Anirudh Agnihotry cca8c88347
update versions (#43192) 2020-10-09 10:15:24 -07:00
Larry Ewing 07a28b64b5
[release/5.0] Add UnsupportedOSPlatform("browser") to sync http apis. (#43177)
* make BrowserHttpMessage.Send throw PNSE (#42990)

* Throw PNSE on sync version of BrowserHttpHandler.Send

* Mark HttpClientHandler.Send as unsupported on browser

* Update reference source

* Add UnsupportedOsPlatform(browser) to more synchronous http apis (#43102)

* Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpHandler/BrowserHttpHandler.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>

Co-authored-by: Stephen Toub <stoub@microsoft.com>
2020-10-08 23:53:44 -05:00
Drew Scoggins 2b27be1af9
Add inner step as it did not get ported over before (#43153) 2020-10-08 11:49:40 -07:00
Jan Vorlicek d414588297
Port enable Alpine ARM support (#41982) (#42963)
* Port enable Alpine ARM support (#41982)

This change ports to release/5.0 enabling Alpine ARM support
in the lab build scripts packages and RID graph. It enables
CI and official builds.

* Port of #42096
2020-10-08 15:14:58 +02:00
github-actions[bot] 62eb1b22c6
Fix bad configure tests (#43031)
There was an extra -c in the CMAKE_REQUIRED_FLAGS set for testing
HAVE_UNW_GET_ACCESSORS and HAVE_UNW_GET_SAVE_LOC that was breaking
build of coreclr under homebrew. The option was somehow making
these checks behave on ARM Linux, eveb though it is not clear to
me why, as it was just causing this option to be passed to the
compiler twice at different positions of the command line of
the cmake tests.
This change fixes it by using check_symbol_exists instead of
check_c_source_compiles, since just removing the duplicite -c
was resulting in the check failing on ARM / ARM64 Linux due
to a missing symbol from libunwind during linking.

Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
2020-10-08 12:27:25 +02:00
David Mason c47568d74a
Port #42942 to release/5.0 (#43128) 2020-10-07 15:28:22 -07:00
github-actions[bot] 2e911a1282
[release/5.0] Adapt to new behavior of nano server in resource updater (#43058)
In recent builds of nano server BeginUpdateResource will return ERROR_CALL_NOT_IMPLEMENTED. ResourceUpdater needs to adapt to provide a good error experience.

Without this change the code still fails, but with a much less friendly error.

Co-authored-by: vitek-karas <vitek.karas@microsoft.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2020-10-06 11:10:50 -07:00
Alexander Köplinger 25ef70b80b
[release/5.0] build-commons.sh: check for OpenSSL 1.1 on macOS (#43037) (#43043)
We're installing openssl@1.1 from Homebrew so we should check that version.
It looks like CI Macs don't set the /usr/local/opt/openssl symlink anymore.

Backport of https://github.com/dotnet/runtime/pull/43037 to release/5.0
2020-10-06 16:12:19 +02:00
github-actions[bot] cfb011967a
[release/5.0] Update THIRD-PARTY-NOTICES file (#42989)
* Introduce THIRD-PARTY-NOTICES file for deployment with shared host package

* Update of THIRD-PARTY-NOTICES for .NET 5.0 release

* Update src/installer/pkg/THIRD-PARTY-NOTICES.TXT

Co-authored-by: Adeel Mujahid <adeelbm@outlook.com>

* Update libunwind name in root TPN file to prevent regression in future updates

* Update libunwind license

* Updates based on review comments

Co-authored-by: Nikola Milosavljevic (CLR) <nikolam@microsoft.com>
Co-authored-by: Adeel Mujahid <adeelbm@outlook.com>
2020-10-05 10:30:48 -07:00
Andy Gocke 3c6e6cc147
Merge pull request #42934 from agocke/backport/pr-42435-to-release/5.0
[release/5.0] Extract bundled files when IncludeAllContentForSelfExtract is set
2020-10-02 10:12:42 -07:00
Thays Grazia 863b458d76
[release/5.0] [wasm] Download Symbols from microsoft symbol server (#42901) 2020-10-02 18:01:05 +02:00
github-actions[bot] fd6137593e
Re-enable support for using the system libunwind (#42853)
We can now build runtime against the system libunwind using:

    ./build.sh -cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND

This allows Linux distributions that already ship a compatible version
of libunwind library to use that instead of carrying a duplicate in
.NET. This provides some benefits to them, including smaller build
sizes, slightly faster builds and fewer places to fix any
vulnerabilities

This functionality was already supported in .NET Core 3.1 and has
regressed since.

CoreCLR already handles `-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND`, so no
changes are needed there.

The libraries build doesn't care about this cmake varibale, but cmake
itself fails if the variable is not used:

    EXEC : CMake error : [runtime/src/libraries/Native/build-native.proj]
        Manually-specified variables were not used by the project:

          CLR_CMAKE_USE_SYSTEM_LIBUNWIND

So libraries just needs to check and ignore this variable.

The singlefilehost needs to link against libunwind too. Otherwise the
linker fails to resolve symbols, making the build fail:

    /usr/bin/ld: runtime/artifacts/bin/coreclr/Linux.x64.Debug//lib/libcoreclrpal.a(seh.cpp.o): in function `UnwindContextToWinContext(unw_cursor*, _CONTEXT*)':
      dotnet/runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:176: undefined reference to `_ULx86_64_get_reg'
    /usr/bin/ld: runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:177: undefined reference to `_ULx86_64_get_reg'
    /usr/bin/ld: runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:178: undefined reference to `_ULx86_64_get_reg'
    /usr/bin/ld: runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:179: undefined reference to `_ULx86_64_get_reg'
    /usr/bin/ld: runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:180: undefined reference to `_ULx86_64_get_reg'
    /usr/bin/ld: runtime/artifacts/bin/coreclr/Linux.x64.Debug//lib/libcoreclrpal.a(seh.cpp.o): runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:181: more undefined references to `_ULx86_64_get_reg' follow
    /usr/bin/ld: runtime/artifacts/bin/coreclr/Linux.x64.Debug//lib/libcoreclrpal.a(seh.cpp.o): in function `GetContextPointer(unw_cursor*, ucontext_t*, int, unsigned long**)':
      runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:227: undefined reference to `_ULx86_64_get_save_loc'
    /usr/bin/ld: runtime/artifacts/bin/coreclr/Linux.x64.Debug//lib/libcoreclrpal.a(seh.cpp.o): in function `PAL_VirtualUnwind':
      runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:340: undefined reference to `_ULx86_64_init_local'
    /usr/bin/ld: runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:351: undefined reference to `_ULx86_64_step'
    /usr/bin/ld: runtime/src/coreclr/src/pal/src/exception/seh-unwind.cpp:360: undefined reference to `_ULx86_64_is_signal_frame'
    clang-10: error: linker command failed with exit code 1 (use -v to see invocation)

Fixes: #42661

Co-authored-by: Omair Majid <omajid@redhat.com>
2020-10-01 17:47:30 -07:00
Mateo Torres-Ruiz 081b5fa71a Add single-file app's dir to NATIVE_DLL_SEARCH_DIRECTORIES (#42876)
Add two directories to NATIVE_DLL_SEARCH_DIRECTORIES to single-file bundles:

1. The bundle exe directory
2. If the bundle extracts any files, the extraction directory

Fixes #42772

(cherry picked from commit 040301836d)
2020-10-01 17:46:14 -07:00
Drew Scoggins 513a197afb
Add the release wildcard trigger in the release branch (#42962) 2020-10-01 13:06:10 -07:00
github-actions[bot] b87e3351bf
[release/5.0] DataContractSerialization doesn't work with TrimMode - link (#42911)
* DataContractSerialization doesn't work with TrimMode - link

DataContractSerialization has some Reflection "shim" methods that the ILLinker can't see through. This causes critical methods to be trimmed and applications to fail. These methods were put in place in .NET Core 1.0 when the full Reflection API wasn't available.

The fix is to remove these "shim" Reflection APIs and use Reflection directly.

Fix #41525
Fix #42754

* add copyright header

Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
2020-10-01 10:43:01 -07:00
Anirudh Agnihotry 4300a98163
Infra changes required for stable builds (#42872)
* address feedback

* remove warning
2020-09-30 17:50:33 -07:00
Mateo Torres-Ruiz 7616c4ecf6 Extract bundled files when IncludeAllContentForSelfExtract is set (#42435)
Backport of #42435 to release/5.0.

(cherry picked from commit 0be66cbac6)
2020-09-30 17:19:16 -07:00
Matt Mitchell e093079efa
Fix sha for icu (#42913) 2020-09-30 12:54:51 -07:00
github-actions[bot] 35ceb542b6
make sure we process PhysicalAddress on Linux (#42882)
Co-authored-by: wfurt <tweinfurt@yahoo.com>
2020-09-30 11:36:38 -07:00
github-actions[bot] 6604f6d92d
[release/5.0] Fix DAC thread context flags (#42854)
Fix DAC thread context flags

The CONTEXT_* flags doesn't have the proper architecture specific bit set for the cross-OS/cross-arch DAC/DBI.  This causes the thread contexts not to be copied correctly because of the way CORDbgCopyThreadContext (in coreclr\src\debug\shared\arm64\ primitives.cpp) masks/checks the context flags.

Fix x86 build: missing DT_CONTEXT_ALL

Co-authored-by: Mike McLaughlin <mikem@microsoft.com>
2020-09-30 10:58:39 -07:00
Larry Ewing 63d5747b85
[browser][http] Set HttpResponseMessage.RequestMessage (#42849)
(cherry picked from commit 1415c63f40b7c380981ca5eab05cf8f509804219)
2020-09-29 16:40:21 -05:00
dotnet-maestro[bot] f6337abe87
Update dependencies from https://github.com/dotnet/arcade build 20200924.4 (#42813)
[release/5.0] Update dependencies from dotnet/arcade
2020-09-28 19:25:33 +00:00
github-actions[bot] 387d033938
[release/5.0] Fix Activity.Baggage items Order (#42712)
Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
2020-09-28 09:39:25 -07:00
Anirudh Agnihotry 197a77e163
Merge pull request #42540 from Anipik/rtm
Updating branding to rtm
2020-09-27 20:31:44 -07:00
Anipik 36900eaee9 update branding and delete an extra file from merge conflicts 2020-09-27 11:04:14 -07:00
Anipik 6e10ddf5cf Merge remote-tracking branch 'upstream/release/5.0-rc2' into HEAD 2020-09-27 11:00:53 -07:00
Miha Zupan c5a3f49c88
Fix System.Net.Sockets telemetry (#42726) 2020-09-25 11:39:19 -07:00
Thays Grazia e79a543d59
[release/5.0-rc2][wasm][debugger] Fixing step over in an async method (#42699) 2020-09-25 13:35:33 -05:00
Thays Grazia 1061fab7ce
[release/5.0-rc2][wasm][debugger] Fix line number information for hidden locations 2020-09-25 13:33:47 -05:00