Keerat Singh [Fri, 13 Jul 2018 17:18:52 +0000 (10:18 -0700)]
Added Utf8SupportTest.
Commit migrated from https://github.com/dotnet/corefx/commit/
7fc013c17fb2b2cea007b7403c175b81bcb2f8d3
Keerat Singh [Thu, 12 Jul 2018 20:35:53 +0000 (13:35 -0700)]
Addressed Saurabh's review feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/
0c591e408df1f3dc8293fb83c9259b6c1e4e9dae
Keerat Singh [Wed, 11 Jul 2018 23:42:10 +0000 (16:42 -0700)]
Merge branch 'master' of https://github.com/dotnet/corefx into utf8-feature-extension
Commit migrated from https://github.com/dotnet/corefx/commit/
d57d3d34c66b7c70e77b7ba4204769575bcff559
Keerat Singh [Wed, 11 Jul 2018 23:41:55 +0000 (16:41 -0700)]
Addressed Uday's review feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/
4b5ba1472d95e77e73309177d76858797f936c4b
Anirudh Agnihotry [Wed, 11 Jul 2018 22:34:47 +0000 (15:34 -0700)]
Porting StandardOleMarshalObject and IMarshal (dotnet/corefx#30931)
* Porting IMarshal
* Writing ref File and minor changes
* ported from .netfx
* formatting and adding aditional files
* Minor fixes
* Feedback addressed
Commit migrated from https://github.com/dotnet/corefx/commit/
f70599a192fcfbeefa52b8ae35a9b1391fe5b809
dotnet-maestro-bot [Wed, 11 Jul 2018 19:38:30 +0000 (12:38 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03011-03, preview1-26711-05, preview1-26711-05, preview1-26711-01, beta-26711-00, beta-26711-00, respectively (dotnet/corefx#30973)
Commit migrated from https://github.com/dotnet/corefx/commit/
003ce301cd66c353aad84b770dae038de07b75d0
Paulo Janotti [Wed, 11 Jul 2018 17:13:09 +0000 (10:13 -0700)]
Tweaks to reflect current status for coverage. (dotnet/corefx#30967)
Commit migrated from https://github.com/dotnet/corefx/commit/
f8fc5e333e607236f3e2717e5d79d11ebc964622
Ricardo Arenas [Wed, 11 Jul 2018 15:39:53 +0000 (08:39 -0700)]
Merge pull request dotnet/corefx#30975 from riarenas/riarenas/always-run-end-script
Always run end.sh/ps1 step
Commit migrated from https://github.com/dotnet/corefx/commit/
e2c27b7d6fa230c89bf78c4a5ff2bb440fabe936
Maxim Lipnin [Wed, 11 Jul 2018 13:24:45 +0000 (16:24 +0300)]
Fixing Pkcs9SigningTime behavior on the X.509 Time UtcTime range [1950;2049)
Add AsnWriter.WriteUtcTime overload to align the behavior of Pkcs9SigningTime type on the X.509 Time range [1950;2049)
Commit migrated from https://github.com/dotnet/corefx/commit/
ba36ab8bcf157b8181e52a7b29a226d9202bf92d
Maxim Lipnin [Wed, 11 Jul 2018 13:18:23 +0000 (16:18 +0300)]
Bring the AlgorithmIdentifier.Parameters property back
Add AlgorithmIdentifier.Parameters, but always set it to the empty array.
There aren't any really understood scenarios for why someone would want to read the algorithm parameters. Combined with .NET Framework only assigning a non-empty value some of the time, never assigning the correct value, and not having a consistent incorrect value, the empty array seemed the best thing for now.
Commit migrated from https://github.com/dotnet/corefx/commit/
64bab987f50b399b78cc1dc23a8e42325e5e175a
Paulo Janotti [Wed, 11 Jul 2018 00:10:07 +0000 (17:10 -0700)]
Small updates regarding code coverage (dotnet/corefx#30966)
* Small updates regarding code coverage
* Update developer-guide.md
* PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
f9f200e53600fa4af761ce59e44921b607cbe905
Paulo Janotti [Tue, 10 Jul 2018 23:43:34 +0000 (16:43 -0700)]
Reduce coverage run timeout (dotnet/corefx#30972)
Commit migrated from https://github.com/dotnet/corefx/commit/
9a2ff8365d923b0efbefb97d6001707607a2991e
Santiago Fernandez Madero [Tue, 10 Jul 2018 23:42:08 +0000 (16:42 -0700)]
Cleanup in System.Drawing, remove usings and add Gdip alias to SafeNativeMethods (dotnet/corefx#30970)
Commit migrated from https://github.com/dotnet/corefx/commit/
9a507ddef293dbbefe89b4711a7b7d981fa227e8
Santiago Fernandez Madero [Tue, 10 Jul 2018 22:04:27 +0000 (15:04 -0700)]
Update netfx alias to target .NET 4.7.2 (dotnet/corefx#28883)
* Change netfx to target .NET 4.7.1
* Fix CoreFx.Private.TestUtilities to not reference System.Runtime.InteropServices.RuntimeInformation which is now inbox in netfx
* Fix StackTrace.Tests to be built against netstandard and run against netfx inbox
* Fix ValueTuple configurations to support net461 and add netfx placeholder configuration since in net471 it is now inbox
* Fix projects' package configurations that had netfx (net461) to still support net461 and netfx as a buildconfigurations
* Disable failing tests when running on .NET 4.7.1
* Make netfx target net472 and merge with master
* Update ActiveIssue comments to issue number only
* Workaround packages tests due to not installed targeting pack
* Match NSSupportPackage version to CLI's
* Remove netstandard support lib bin placing to runtime and testhost for netfx, fix reference paths to match new package
* Run UpdateVSConfigurations after merging conflicts with the newly updated SDK projects
* Add net461 package configuration to System.CodeDom
* Add net461 package configuration to System.Configuration.ConfigurationManager
* Add net461 package configuration to System.Security.Cryptography.Xml
* Add net461 package configuration to System.Security.Permissions
* Add net461 package configuration to System.ServiceModel.Syndication
Commit migrated from https://github.com/dotnet/corefx/commit/
faad2e63b35bed10fe18195987a413308b97eded
Ricardo Arenas [Tue, 10 Jul 2018 21:42:47 +0000 (14:42 -0700)]
always run end.ps1 step
Commit migrated from https://github.com/dotnet/corefx/commit/
eb3e94f9d4f49c1191ce6abe3c3fe05b69f21656
Wes Haggard [Tue, 10 Jul 2018 18:45:03 +0000 (11:45 -0700)]
Merge pull request dotnet/corefx#30949 from eerhardt/DowngradeCLIVersion
Downgrade CLI version to 2.1.401-preview-009081.
Commit migrated from https://github.com/dotnet/corefx/commit/
8d97d4d3d375b880d265f403eb55bf5570c1890d
Max Kerr [Tue, 10 Jul 2018 17:18:56 +0000 (10:18 -0700)]
Add support and tests for HTTP 308 Permanent Redirect (dotnet/corefx#30398)
This change adds support for 308 redirects to SocketsHttpHandler, and enables 308 redirects in our tests.
Fixes: dotnet/corefx#30389
Commit migrated from https://github.com/dotnet/corefx/commit/
12e41edba6c9b177f21e30001ce3c890c5225132
Eric Erhardt [Tue, 10 Jul 2018 16:50:03 +0000 (11:50 -0500)]
Downgrade CLI version to 2.1.401-preview-009081.
We temporarily needed to bump the CLI version to 3.0 builds because of https://github.com/dotnet/core-setup/issues/4291. But now that we have a 2.1 servicing build with this change, we can downgrade to that build.
Commit migrated from https://github.com/dotnet/corefx/commit/
f77c1474defafb16754a034edf67daa2f0f42732
Maryam Ariyan [Tue, 10 Jul 2018 16:09:46 +0000 (12:09 -0400)]
Proper fix for compilation issue caused by deprecated API in Mojave (dotnet/corefx#30815)
* Proper fix for compilation issue caused by deprecated API in macOS Mojave by
using dlsym to call available API rather than suppressing deprecation warnings.
Fixes: dotnet/corefx#30599
Commit migrated from https://github.com/dotnet/corefx/commit/
92b4826a7648b05678e9340e98af3453a9d064a2
Filip Navara [Tue, 10 Jul 2018 16:00:10 +0000 (18:00 +0200)]
Add support for custom macOS keychains exposed using X509Store API
Support the custom keychain-based stores only for StoreLocation.CurrentUser
Update documentation to reflect the changes.
Commit migrated from https://github.com/dotnet/corefx/commit/
188e1749df0a3ef53afb81dd2da29987bf17f15c
dotnet-maestro-bot [Tue, 10 Jul 2018 15:26:14 +0000 (08:26 -0700)]
Update CoreClr to preview1-26710-05 (dotnet/corefx#30944)
Commit migrated from https://github.com/dotnet/corefx/commit/
5d8630d1272dcd5ab83c6ed10313196de0a11b5f
Viktor Hofer [Tue, 10 Jul 2018 13:03:23 +0000 (15:03 +0200)]
Use IEqualityComparer<T> instead of IComparer<T> during HashSet serialization (dotnet/corefx#30912)
* Use IEqualityComparer<T> instead of IComparer<T> during HashSet serialization
* Enable type value assignability check for serializable types
* Enable typeobject integrity for netfx
Commit migrated from https://github.com/dotnet/corefx/commit/
fe5927a0f68717223528220c891a3b02d7331829
dotnet-maestro-bot [Tue, 10 Jul 2018 11:36:30 +0000 (04:36 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-26710-00, beta-26710-00, respectively (dotnet/corefx#30935)
Commit migrated from https://github.com/dotnet/corefx/commit/
81a246f3adf1eece3d981f1d8bb8ae9de12de9c6
Zeng Jiang [Tue, 10 Jul 2018 11:36:10 +0000 (19:36 +0800)]
Disable Marshal API test NullValueArguments_ThrowsAccessViolationException() of ObjectTests.cs for NetFx. (dotnet/corefx#30937)
Commit migrated from https://github.com/dotnet/corefx/commit/
f09fdb4a08992bce31f29b08f93ef3311dbcc181
dotnet-maestro-bot [Tue, 10 Jul 2018 03:05:15 +0000 (20:05 -0700)]
Update BuildTools, CoreClr, CoreSetup to preview1-03010-01, preview1-26710-01, preview1-26709-03, respectively (dotnet/corefx#30932)
Commit migrated from https://github.com/dotnet/corefx/commit/
28f10d9057311ee21969ce1416a5196788f97086
Afsaneh Rafighi [Tue, 10 Jul 2018 02:46:55 +0000 (19:46 -0700)]
Update PoolBlockPeriodTest to check if connection string is setup (dotnet/corefx#30856)
* check if connectionString is setup for PoolBlockPeriodTest
* update test per Stephen and Keerat's comments
Commit migrated from https://github.com/dotnet/corefx/commit/
caef3e7049ee5767719a7697afd36d8f4e57e705
Anirudh Agnihotry [Tue, 10 Jul 2018 00:35:11 +0000 (17:35 -0700)]
Test fot setting up appcontext.TargetFramework (dotnet/corefx#30885)
* Tests for targetFramework
* Feedback addressed
* Fixing tests for netfx
Commit migrated from https://github.com/dotnet/corefx/commit/
7c28084bb60689f15fc6119c3d11964a5335c4f5
Filip Navara [Tue, 10 Jul 2018 00:09:24 +0000 (02:09 +0200)]
Replace pkcs7_[new/content_new/set_type/add_certificate] with single pkcs7_sign call.
Replace pkcs7_[new/content_new/set_type/add_certificate] with single pkcs7_sign call via Pkcs7CreateCertificateCollection.
Commit migrated from https://github.com/dotnet/corefx/commit/
63d4ad5ca72e91ad6798c6f6c27af348002e98f3
Paulo Janotti [Mon, 9 Jul 2018 23:36:34 +0000 (16:36 -0700)]
Coverage runs are being aborted: increase timeout (dotnet/corefx#30922)
Commit migrated from https://github.com/dotnet/corefx/commit/
7e807db2a42cef08928db09377b9291aeaec42e9
Eric Erhardt [Mon, 9 Jul 2018 19:21:40 +0000 (14:21 -0500)]
Fix optional tooling restore (dotnet/corefx#30918)
With the SDK-style project change, all properties from the root Directory.Build.props are being imported into optional.csproj. The RestoreSources property overwrites any sources specified in the NuGet.config, which means the restore fails to find the packages.
The fix is to blank out RestoreSources so the NuGet.config sources are used.
Fix dotnet/corefx#30906
Commit migrated from https://github.com/dotnet/corefx/commit/
d327f8174110750a2e4a57bdaf8742efe2a56e56
Filip Navara [Mon, 9 Jul 2018 17:14:27 +0000 (19:14 +0200)]
Parse the OpenSSL version from the SSLeay numerical value instead of the SSLeay_version string.
Commit migrated from https://github.com/dotnet/corefx/commit/
711c42810b8b9f8b7736b7b175cf9e330932b5f3
Filip Navara [Mon, 9 Jul 2018 17:08:50 +0000 (19:08 +0200)]
Drop pal_asn1_print in favor of the managed code
* Drop pal_asn1_print in favor of the managed code that is already used on macOS.
* Add handling of T61 strings to ManagedCertificateFinder.DerStringToManagedString.
Commit migrated from https://github.com/dotnet/corefx/commit/
acb18506a56eda3a7e056cd597b20f4049f36038
Filip Navara [Mon, 9 Jul 2018 17:04:27 +0000 (19:04 +0200)]
Relax the error checking code to cater for different OpenSSL versions.
Commit migrated from https://github.com/dotnet/corefx/commit/
74e3d35a1e41f74e6549365338e79a335fadba78
Viktor Hofer [Mon, 9 Jul 2018 16:11:38 +0000 (18:11 +0200)]
Remove duplicate dependencies.props import (dotnet/corefx#30907)
Commit migrated from https://github.com/dotnet/corefx/commit/
774a0b4d3cf39d078d3c8c6b8ff02fd6a7a04022
Keerat Singh [Mon, 9 Jul 2018 15:42:25 +0000 (08:42 -0700)]
Merge branch 'master' of https://github.com/dotnet/corefx into utf8-feature-extension
Commit migrated from https://github.com/dotnet/corefx/commit/
0c7c62794ff9631e63d59bbd80527a0e5c99fa57
Filip Navara [Mon, 9 Jul 2018 15:04:46 +0000 (17:04 +0200)]
Replace SecureStringMarshal with Marshal calls. (dotnet/corefx#30908)
Commit migrated from https://github.com/dotnet/corefx/commit/
00454c4d8cc9c036d47336b9b320c08d5d700274
dotnet-maestro-bot [Mon, 9 Jul 2018 15:04:31 +0000 (08:04 -0700)]
Update CoreClr, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26709-05, preview1-26709-01, beta-26709-00, beta-26709-00, respectively (dotnet/corefx#30902)
Commit migrated from https://github.com/dotnet/corefx/commit/
265b4f606baf9f6e7fe0c6e2d5e0be6b7f5a592f
dotnet-maestro-bot [Mon, 9 Jul 2018 02:09:41 +0000 (19:09 -0700)]
Update CoreClr, CoreSetup to preview1-26709-01, preview1-26708-03, respectively (dotnet/corefx#30901)
Commit migrated from https://github.com/dotnet/corefx/commit/
87ed90733ec4b307c4d39b541ad4ad893f438f4a
Eric Erhardt [Sun, 8 Jul 2018 20:58:13 +0000 (15:58 -0500)]
Merge pull request dotnet/corefx#29831 from wtgodbe/SdkProj
Convert all projects to SDK-style
Commit migrated from https://github.com/dotnet/corefx/commit/
0b0f63d47951773cc46393312d80b40176d3a413
dotnet-maestro-bot [Sun, 8 Jul 2018 15:17:45 +0000 (08:17 -0700)]
Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26708-04, preview1-26708-04, preview1-26708-01, beta-26707-00, beta-26707-00, respectively (dotnet/corefx#30883)
Commit migrated from https://github.com/dotnet/corefx/commit/
af8f03ce8b0c6e16cb28dda27d637356fde4c99b
Stephen Toub [Sun, 8 Jul 2018 13:07:53 +0000 (09:07 -0400)]
Fix interop test expecting ArgumentNullException (dotnet/corefx#30895)
Commit migrated from https://github.com/dotnet/corefx/commit/
a51556435393cf9ad4b9a3fac9b27bcc5ae1ea9e
Eric Erhardt [Sat, 7 Jul 2018 16:03:56 +0000 (11:03 -0500)]
Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/
99e21e612ddd8fbd23bb760e9c802ca2cfc01d4a
Zeng Jiang [Sat, 7 Jul 2018 00:21:05 +0000 (08:21 +0800)]
Port Marshal API tests from CoreCLR (dotnet/corefx#30690)
* Port Marshal API tests from CoreCLR
* Fix comments about Marshal API tests
* Fis comments from code review for porting Marshal API.
* Scope Marshal API tests about Variant type for Windows only
* Scope Marshal.*UTF8* API testcases only for NetCoreApp.
* Fix Marshal\PtrToStringTests.cs compile issue in linux
* Scope Marshal API test TestFieldAlignment_Variant test for Windows only
* Change the private property to public in a Struct in OffsetOfTest.cs
* Disable test NullValueArguments_ThrowsArgumentNullException with issue dotnet/corefx#30830
* Fix failing test NonGenericOffEqualsGenericOffset() in OffsetOfTests.cs
* Disable Marshal API test GetExceptionForHR_EqualsErrorCode() with dotnet/corefx#30866
Commit migrated from https://github.com/dotnet/corefx/commit/
9ebc30a73c52f78a3d9d2b79a8bb4e848f39b29b
Stephen Toub [Fri, 6 Jul 2018 21:07:51 +0000 (17:07 -0400)]
Update concurrent socket disposal test to accomoate UAP (dotnet/corefx#30874)
Apparently if a socket is disposed of while it's in use, we can get an SEHException back from the P/Invoke, presumably due to the OS code trying to throw an SEH exception out of the call. Just update the test to accomodate this when IsUap is true.
Commit migrated from https://github.com/dotnet/corefx/commit/
33f1a2a0cd9c2a4a6893a0794c747f66ad2cc401
Viktor Hofer [Fri, 6 Jul 2018 20:46:51 +0000 (22:46 +0200)]
Add CompareInfo and Span.IndexOf with string comparison benchmark tests (dotnet/corefx#30837)
* Add CompareInfo string perf tests
* Add Span.IndexOf with stringcomparison benchmark
* Add more permutations and different cultures
Commit migrated from https://github.com/dotnet/corefx/commit/
f641a94ce4b31e01666ff6585adc42afcb925693
Wes Haggard [Fri, 6 Jul 2018 20:04:24 +0000 (13:04 -0700)]
Merge pull request dotnet/corefx#30875 from gbalykov/update-tizen-rid-for-netcore-app
Add Tizen 5.0 RID for NETCoreApp
Commit migrated from https://github.com/dotnet/corefx/commit/
e38aaa519d47389acaf66eda36346662ffd033c2
Eric Erhardt [Fri, 6 Jul 2018 19:51:52 +0000 (14:51 -0500)]
Merge remote-tracking branch 'upstream/master' into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/
b86cade27ef07e6be4bc6b4cd50a4ad0892de8bf
Eric Erhardt [Fri, 6 Jul 2018 19:51:08 +0000 (14:51 -0500)]
Set TargetFramework to workaround project system bug.
Commit migrated from https://github.com/dotnet/corefx/commit/
aa89672cb15f11f711ba4c0232b88b706ffe736f
Stephen Toub [Fri, 6 Jul 2018 18:36:57 +0000 (14:36 -0400)]
Merge pull request dotnet/corefx#30840 from dotnet-maestro-bot/master-UpdateDependencies
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03005-04, preview1-26706-05, preview1-26706-05, preview1-26705-01, beta-26705-00, beta-26705-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/
8274060481903a4ffffcf53e448be7c7e497c55d
Stephen Toub [Fri, 6 Jul 2018 18:33:53 +0000 (14:33 -0400)]
Augment UnixFileSystemTypes with additional values (dotnet/corefx#30872)
Based on cross-referencing with Mono, adding in a few items it had that were missing here, and recategorizing a few to match its categorization (after also doing some internet searches to corroborate).
Commit migrated from https://github.com/dotnet/corefx/commit/
d96d7a1a98b0623e0171efe3731348942b484149
Stephen Toub [Fri, 6 Jul 2018 17:03:02 +0000 (13:03 -0400)]
Fix System.Drawing test for fixed Marshal.Read(null) behavior
Commit migrated from https://github.com/dotnet/corefx/commit/
ecb7b2551f3f115da05be112e324e017b4cd7f0e
Stephen Toub [Fri, 6 Jul 2018 16:22:47 +0000 (12:22 -0400)]
Disable failing EventSource test
Commit migrated from https://github.com/dotnet/corefx/commit/
079ad108a4b08b771801dec63f921eb185202969
dotnet-maestro-bot [Fri, 6 Jul 2018 14:25:32 +0000 (07:25 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03005-04, preview1-26706-05, preview1-26706-05, preview1-26705-01, beta-26705-00, beta-26705-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
beda8c1e4eb00a3db36abc72f4f41af48dac5c9c
Stephen Toub [Fri, 6 Jul 2018 16:28:31 +0000 (12:28 -0400)]
Add more DateTime{Offset}.ParseExact "o"/"r" tests (dotnet/corefx#30860)
Commit migrated from https://github.com/dotnet/corefx/commit/
0956f3e2122802776ebe1ec614ead2dd4267def9
Jan Kotas [Fri, 6 Jul 2018 16:13:51 +0000 (09:13 -0700)]
Delete obsolete ResourceConsumption/ResourceExposure attributes (dotnet/corefx#30863)
These are leftovers from unfinished experiment that a long time ago.
Commit migrated from https://github.com/dotnet/corefx/commit/
501d1566e85d0777b66d6ad44ecd8efd30a0e149
Gleb Balykov [Fri, 6 Jul 2018 15:49:57 +0000 (18:49 +0300)]
Add Tizen 5.0 RID for NETCoreApp
Commit migrated from https://github.com/dotnet/corefx/commit/
94b7c995979e0fad54880607c7390e9af84208eb
Mateus Rodrigues de Morais [Fri, 6 Jul 2018 00:43:20 +0000 (21:43 -0300)]
Fixed getmntinfo() call on FreeBSD (dotnet/corefx#30851)
* fix test for System.IO.FileSystem.DriveInfo.Tests.dll
* change 1 for MNT_WAIT for better readability
* moved directives to beginning of the line
* removed special case for FreeBSD and made it general
Commit migrated from https://github.com/dotnet/corefx/commit/
0e021636e10782fdd0245fb0cb3ba3986b60dce8
Tomas Weinfurt [Fri, 6 Jul 2018 00:33:48 +0000 (17:33 -0700)]
changes to support FreeBSD build (dotnet/corefx#30832)
Commit migrated from https://github.com/dotnet/corefx/commit/
e3fb5bfd0f4a3b4be5170099a441562ce929b84f
Eric Erhardt [Fri, 6 Jul 2018 00:22:10 +0000 (19:22 -0500)]
Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/
e72643b4aab4b33a33baad1fa74b0551cc2cf739
Eric Erhardt [Thu, 5 Jul 2018 19:26:05 +0000 (14:26 -0500)]
Fix up new projects and usages of dir.props/targets.
Commit migrated from https://github.com/dotnet/corefx/commit/
9b7b8c0b63b7c35a13a91310b141fca8ee2b3d6f
Viktor Hofer [Thu, 5 Jul 2018 21:02:56 +0000 (23:02 +0200)]
Update stable packages for System.Composition.*
Commit migrated from https://github.com/dotnet/corefx/commit/
c06df8e5f3877ddd3fd1a75b1d4d494268acce7f
Viktor Hofer [Thu, 5 Jul 2018 18:43:00 +0000 (20:43 +0200)]
Cleanup System.Composition
Commit migrated from https://github.com/dotnet/corefx/commit/
6b0c1b7b4be9b8085b2ac6d9390834500576b99d
Viktor Hofer [Thu, 5 Jul 2018 18:20:58 +0000 (20:20 +0200)]
Remove NS1.0 build from System.Composition.Runtime
Commit migrated from https://github.com/dotnet/corefx/commit/
024abaf4e2b11e1c48c012b20574e0fd30ee2f09
Viktor Hofer [Thu, 5 Jul 2018 17:52:28 +0000 (19:52 +0200)]
Delte unused System.ComponentModel.Composition code in favor of shared code
Commit migrated from https://github.com/dotnet/corefx/commit/
b21614896065ca6525b4caba23e450810860970f
Viktor Hofer [Thu, 5 Jul 2018 16:48:46 +0000 (18:48 +0200)]
Cleanup and remove NS1.0 build from System.Composition.TypedParts
Commit migrated from https://github.com/dotnet/corefx/commit/
3982f782e86adefbdf15385d6fc29279d66e1a54
Viktor Hofer [Thu, 5 Jul 2018 16:37:20 +0000 (18:37 +0200)]
Clean & remove NS1.0 build from System.Composition.AttributedModel
Commit migrated from https://github.com/dotnet/corefx/commit/
955f028171040c66afc19394ddc332b9cda52c88
Viktor Hofer [Thu, 5 Jul 2018 15:45:40 +0000 (17:45 +0200)]
Cleanup and remove NS1.0 from System.Composition.Hosting
Commit migrated from https://github.com/dotnet/corefx/commit/
5d1c9403a16f9e44c78d34e28435e08b11cc6f9c
Viktor Hofer [Thu, 5 Jul 2018 15:31:35 +0000 (17:31 +0200)]
Cleanup and remove NS1.0 build from System.Composition.Convention
Commit migrated from https://github.com/dotnet/corefx/commit/
f94fb3c50fa23d93fc0e3c645af8d644b8ea97f3
Redouane Sobaihi [Sat, 30 Jun 2018 16:53:22 +0000 (17:53 +0100)]
Remove Microsoft.Internal from System.Composition.*
Commit migrated from https://github.com/dotnet/corefx/commit/
c6f257fdd67e8d7dcdd20f735c192ce3e5d40e5d
Keerat Singh [Thu, 5 Jul 2018 23:12:19 +0000 (16:12 -0700)]
GH Issue dotnet/corefx#15652 SqlFileStream Implementation (dotnet/corefx#29879)
* Initial port of SqlFileStream
* Added SqlFileStreamTest
* Cleanup code
* Updated file paths after catchup merge.
* Added newline at the end of Strings.resx
* Fixed cosmetic changes
* Replaced null SafeHandle call
* Added headers to SqlFileStreamTest.cs
* Addressed review feedback by Stephen and Jeremy
* Fixed filename UnSupported.cs to Unsupported.cs to match case in Linux builds.
* Addressed review comments
* Made SqlFileStream netcoreapp and windows specific.
* Update EaName to include Null Terminator
* Fixed cosmetic issues
* Addressed Dan's review feedback.
Removed initially added file Interop.GetFullPathName.cs as is it no longer being used.
* Addressed Jeremy's review comments.
* Addressed Jeremy's review comments about style polish.
Commit migrated from https://github.com/dotnet/corefx/commit/
2f7844a8df4fef427df1a2bc77e9f34211a720a1
Tomas Weinfurt [Thu, 5 Jul 2018 21:23:32 +0000 (14:23 -0700)]
bottom part of serial port support on Unix (dotnet/corefx#29033)
* bottom part of serial port support
* small cleanup
* feedback from reviews
* remove previous changes to System.Native
* feedback from review
* use consistently int32_t
* update names and types based on feedback
* feedback from kasper3
Commit migrated from https://github.com/dotnet/corefx/commit/
83753bc26b6debb966b94c0c26d4e718f312c8e1
Anirudh Agnihotry [Thu, 5 Jul 2018 20:33:24 +0000 (13:33 -0700)]
Exposing SetupInformation, TargetFramework and ApplicationBase (dotnet/corefx#30839)
* Exposing SetupInformation in AppDomain.cs and targetFramework, ApplicationBase in AppDomainSetup.cs
* Removing setter, local variables and ctor
* ctor added
* Disabling test on netfx and adding comment
* modify typo corrected
Commit migrated from https://github.com/dotnet/corefx/commit/
8804b7d68dec4422ddb1a2577275af6e3e8eb74a
Eric Erhardt [Thu, 5 Jul 2018 19:12:38 +0000 (14:12 -0500)]
Run UpdateVSConfigurations on the current code.
Commit migrated from https://github.com/dotnet/corefx/commit/
1a4b8a2ba40d39abe3c3888caede4e46218e7099
Eric Erhardt [Thu, 5 Jul 2018 19:06:19 +0000 (14:06 -0500)]
Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/
0343b37275d50fa44b8db91bd9ed8364f89600fc
cmpt376edits [Wed, 4 Jul 2018 19:52:39 +0000 (12:52 -0700)]
Improve wording in coding style documentation (dotnet/corefx#30833)
Commit migrated from https://github.com/dotnet/corefx/commit/
20c344cb345c608fe3f5b3ebb4b7da77be52be7c
dotnet-maestro-bot [Wed, 4 Jul 2018 16:12:06 +0000 (09:12 -0700)]
Update CoreFx, CoreSetup to preview1-26704-05, preview1-26704-01, respectively (dotnet/corefx#30835)
Commit migrated from https://github.com/dotnet/corefx/commit/
e7b1711fc3d7e23c8be83716925d22f3fd8d7626
dotnet-maestro-bot [Wed, 4 Jul 2018 11:32:02 +0000 (04:32 -0700)]
Update BuildTools, CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview1-03004-01, preview1-26704-01, preview1-26704-01, beta-26704-00, beta-26704-00, respectively (dotnet/corefx#30824)
Commit migrated from https://github.com/dotnet/corefx/commit/
77e610a1f373157f6015620fdff145461f0e59a0
Anirudh Agnihotry [Wed, 4 Jul 2018 09:18:31 +0000 (02:18 -0700)]
Lazy Initialization of Thread.CurrentPrincipal and implementing GetThreadPrincipal (dotnet/corefx#30765)
Commit migrated from https://github.com/dotnet/corefx/commit/
6fb57a4bfe4504b60b3af769798b96ba15e6c842
Jeremy Kuhne [Wed, 4 Jul 2018 03:36:54 +0000 (20:36 -0700)]
Replace custom synchronized text writer (dotnet/corefx#30796)
TextWriter.Synchronized does this and isn't missing APIs, which can cause derived methods to not be called. Test added.
Commit migrated from https://github.com/dotnet/corefx/commit/
0b868a47b4889fef013539787cf3475d817d893f
Stephen Toub [Wed, 4 Jul 2018 00:25:16 +0000 (20:25 -0400)]
Add more DateTime ParseExact tests for "r" (dotnet/corefx#30818)
Commit migrated from https://github.com/dotnet/corefx/commit/
a02e71d274d0f44613d7b3f2f8590f5b17cfaca3
Maryam Ariyan [Tue, 3 Jul 2018 22:54:48 +0000 (15:54 -0700)]
Updating test to assert milisecond granularity for (dotnet/corefx#30763)
- non any linux or
- OSX non-HFS driver formats
Fixes dotnet/corefx#30472
Commit migrated from https://github.com/dotnet/corefx/commit/
a399e51941f6435063052df8b47182ddca0b4496
Luqun Lou [Tue, 3 Jul 2018 22:41:37 +0000 (15:41 -0700)]
Use public implementation CultureDataSupport (dotnet/corefx#30739)
Commit migrated from https://github.com/dotnet/corefx/commit/
38b71a3a1da3b460bf68c3d0b7d653e04780e054
Keerat Singh [Tue, 3 Jul 2018 21:42:22 +0000 (14:42 -0700)]
Fixed cosmetic changes
Commit migrated from https://github.com/dotnet/corefx/commit/
1a72a1b28a6ec2a6ecf5b4ae2bbc7f46f3bd5c8d
Jose Perez Rodriguez [Tue, 3 Jul 2018 21:32:50 +0000 (14:32 -0700)]
Configuration changes so that System.Reflection.Emit may compile against netstandard2.0 (dotnet/corefx#30741)
* Configuration changes so that System.Reflection.Emit may compile against
netstandard2.0
* Adding NS2.0 config for System.Reflection.Emit.Lightweight
* Fixing netfx vertical
* Addressing PR Feedback
* Fixing mscorlib facade generation now that there are a few type
conflicts
* Add back Ref.Emit packages
These packages all needed the following workarounds:
1. Matching not-supported implementation assemblies for netstandard1.x
2. Not support implementation for AOT frameworks
3. Ensure we don't add API to old frameworks (eg: UAP10.0.16299, desktop) or frameworks compatible with those (netstandard2).
Commit migrated from https://github.com/dotnet/corefx/commit/
1e72f59677547df9b82fa642fd4f443c6768d743
Keerat Singh [Tue, 3 Jul 2018 21:28:48 +0000 (14:28 -0700)]
Merge branch 'master' of https://github.com/dotnet/corefx into utf8-feature-extension
Commit migrated from https://github.com/dotnet/corefx/commit/
3d5e4abe5f1cb5166919e2d7feba67e4e52b64e3
Tomas Weinfurt [Tue, 3 Jul 2018 21:25:23 +0000 (14:25 -0700)]
use separate kevent() calls on FreeBSD for read and write event notifications. (dotnet/corefx#30688)
* use separate kevent() calls on FreeBSD for read and write events
* add reference to Issue: dotnet/corefx#30698
Commit migrated from https://github.com/dotnet/corefx/commit/
a04ad96f9cabc6fd074098924d32082018888993
Viktor Hofer [Tue, 3 Jul 2018 16:09:00 +0000 (18:09 +0200)]
Fix flacky RegistrationBuilder test
Commit migrated from https://github.com/dotnet/corefx/commit/
465e7c15bd6c2ac13adf44cd9cca799df603282d
Eric Erhardt [Tue, 3 Jul 2018 20:50:46 +0000 (15:50 -0500)]
Moving sign.builds to run on full .NET Framework. (dotnet/corefx#30797)
* Moving sign.builds to run on full .NET Framework.
MicroBuild signing doesn't work when MSBuild is running on .NET Core. So move the signing piece to use MSBuild on full framework.
* Flow SignType property through to sign.builds.
Commit migrated from https://github.com/dotnet/corefx/commit/
b9e62080ed8c297dc1c9c8739b4c780285dbda3b
Stephen Toub [Tue, 3 Jul 2018 17:21:18 +0000 (13:21 -0400)]
Fix SocketAsyncEventArgs' handling of ExecutionContext (dotnet/corefx#30712)
SocketAsyncEventArgs has a few issues with ExecutionContext, presumably stemming from the fact that capturing ExecutionContext in .NET Framework is not a cheap operation. As a result, when this code was written, it was optimized for avoiding calls to ExecutionContext.Capture. The SAEA tries to hold onto a captured ExecutionContext for as long as possible, only re-capturing when either the SAEA is used with a different socket instance or when an event handler is changed. That has several problems, though. First, it largely violates the purpose of ExecutionContext, which is to flow information from the point where the async operation begins to the continuation/callback, but if the context is only being captured when the Socket or handler is changed, then the context isn't actually tied to the location where the async operation begins, and that means that data like that in an AsyncLocal doesn't properly flow across the async point. Second, it means that the SocketAsyncEventArgs (the whole purpose of which is to cache it) can end up keeping state in an ExecutionContext alive well beyond when it should be kept alive, because the SocketAsyncEventArgs is holding onto the ExecutionContext instance until either the Socket or handler is changed.
This commit fixes this behavior. Since ExecutionContext.Capture in .NET Core is relatively cheap (no allocation, primarily just a ThreadStatic access), we now just always capture the context when starting an operation, and then clear it out when completing the operation.
Commit migrated from https://github.com/dotnet/corefx/commit/
851a53bee21639cd65e109b72fd5f9ef90cc0f39
Atsushi Kanamori [Tue, 3 Jul 2018 17:20:24 +0000 (10:20 -0700)]
Add test to ensure FromBase64 bug doesn't regress. (dotnet/corefx#30814)
Convert.FromBase64() had a subtle bug where an illicit
second padding character at the end of the string caused
the decode to "succeed" by dropping the fifth to
last character.
We inadvertently fixed this bug while optimizing that
api in .NetCore 2.1. Adding test to document bug and
ensure we don't regress.
Details in https://github.com/dotnet/corefx/issues/30793
Commit migrated from https://github.com/dotnet/corefx/commit/
f1065c7cf056275b0d206ee077281b8ecfe25d03
dotnet-maestro-bot [Tue, 3 Jul 2018 15:08:48 +0000 (08:08 -0700)]
Update CoreClr, CoreSetup to preview1-26703-04, preview1-26703-01, respectively (dotnet/corefx#30808)
Commit migrated from https://github.com/dotnet/corefx/commit/
d8ae2adab78bc5b4088a18d8cf826867d39774b3
Dan Moseley [Tue, 3 Jul 2018 13:42:54 +0000 (06:42 -0700)]
Minor test fixes for UAP runs (dotnet/corefx#30803)
* Fix BindHandle_DisposedSyncHandleAsHandle_ThrowsArgumentException on UAP
* Fix most of RangeAttributeTests
Commit migrated from https://github.com/dotnet/corefx/commit/
6ee8b75a000eec5b26f256b04902dc19a1db9d35
dotnet-maestro-bot [Tue, 3 Jul 2018 02:38:26 +0000 (19:38 -0700)]
Update CoreClr to preview1-26703-01 (dotnet/corefx#30800)
Commit migrated from https://github.com/dotnet/corefx/commit/
6e443922f36e6a4604d162583150678de97fe6b0
Viktor Hofer [Wed, 27 Jun 2018 21:21:29 +0000 (23:21 +0200)]
Add System.ComponentModel.Composition.Registration
Update packageIndex
Commit migrated from https://github.com/dotnet/corefx/commit/
2e6994336ba7eddb326646d43f1456e753caf47d
Viktor Hofer [Thu, 26 Apr 2018 16:33:27 +0000 (18:33 +0200)]
Cleanup System.ComponentModel.Composition
Fix failing tests & remove noisy output loggings
Use common threadculture and remove unused files
Cleanup test codebase & delete unused files
Remove resource from turd assembly
Auto format documents
Commit migrated from https://github.com/dotnet/corefx/commit/
78bf9d7974d9413eed39ebc4d7b220ce3ed70d92
Eric Erhardt [Mon, 2 Jul 2018 19:30:45 +0000 (14:30 -0500)]
Update the OptionalTooling to work on .NET Core MSBuild. (dotnet/corefx#30762)
* Update the OptionalTooling to work on .NET Core MSBuild.
The official build broke because I moved the Windows build on to .NET Core MSBuild. We have some OptionalTooling that only gets restored during the official build, and the current approach (using project.json) doesn't work on .NET Core MSBuild. So migrating the tooling to use normal MSBuild PackageReferences.
Fix dotnet/corefx#30758
* Respond to PR feedback.
Upper case each section of the package name in the MSBuild version property.
Commit migrated from https://github.com/dotnet/corefx/commit/
6cec67359b15966f5a4f9501ac5e52e0fc3fb1d5
dotnet-maestro-bot [Mon, 2 Jul 2018 19:27:09 +0000 (12:27 -0700)]
Update BuildTools, CoreSetup to preview1-03002-01, preview1-26702-03, respectively (dotnet/corefx#30786)
Commit migrated from https://github.com/dotnet/corefx/commit/
be96620915e0b92a63f48bf41aac4a105e9c689b
Hugh Bellamy [Wed, 13 Jun 2018 16:04:26 +0000 (17:04 +0100)]
Add parameter name where missing
Fixes `SyndicationContentTests.WriteTo_EmptyOrNullName_ThrowsArgumentException`
Fixes `ServiceElementExtensionTests.Ctor_EmptyOuterName_ThrowsArgumentException`
Commit migrated from https://github.com/dotnet/corefx/commit/
434da5cff99deda2131aef1476cad8a61b679455
Hugh Bellamy [Wed, 13 Jun 2018 15:50:15 +0000 (16:50 +0100)]
Add Syndication tests
Commit migrated from https://github.com/dotnet/corefx/commit/
b0edc960e855e159fb9d329df08d47904963d75e
Hugh Bellamy [Wed, 13 Jun 2018 15:49:59 +0000 (16:49 +0100)]
Cleanup Syndication tests
Commit migrated from https://github.com/dotnet/corefx/commit/
e20e5173ac1af975eb52933f06ceec389bdc037e