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
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
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
dotnet-maestro-bot [Mon, 2 Jul 2018 14:23:03 +0000 (07:23 -0700)]
Update CoreClr, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26702-04, preview1-26702-01, beta-26702-00, beta-26702-00, respectively (dotnet/corefx#30778)
Commit migrated from https://github.com/dotnet/corefx/commit/
e06a4fafe03b650960e13be2061eab664ef97995
dotnet-maestro-bot [Sun, 1 Jul 2018 19:10:15 +0000 (12:10 -0700)]
Update CoreClr, CoreSetup to preview1-26701-03, preview1-26701-01, respectively (dotnet/corefx#30773)
Commit migrated from https://github.com/dotnet/corefx/commit/
0256ac2cba4f7f9742d7970978e8c71f279bdef1
Tanner Gooding [Sat, 30 Jun 2018 01:12:52 +0000 (18:12 -0700)]
Fixing the names/parameter types for several Bmi1 HWIntrinsic methods
Commit migrated from https://github.com/dotnet/corefx/commit/
95b21631b4f72e5ecbb6338a3fc7ae9345b5144e
dotnet-maestro-bot [Sat, 30 Jun 2018 12:52:22 +0000 (05:52 -0700)]
Update CoreClr, CoreSetup to preview1-26630-03, preview1-26630-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
2f4141169cbb627777781af59187011f6994f920
dotnet-maestro-bot [Sat, 30 Jun 2018 06:00:13 +0000 (23:00 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02929-01, preview1-26630-01, preview1-26628-03, preview1-26629-04, beta-26629-00, beta-26629-00, respectively (master) (dotnet/corefx#30766)
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02929-01, preview1-26630-01, preview1-26628-03, preview1-26629-04, beta-26629-00, beta-26629-00, respectively
* Use public implementation API RemoveEventHandler
Commit migrated from https://github.com/dotnet/corefx/commit/
bcbf63568b81239ceb1048b5ad75e6c9f7eb58dc
kasper3 [Fri, 29 Jun 2018 23:48:01 +0000 (02:48 +0300)]
Update brotli to v1.0.5 (dotnet/corefx#30751)
* Update brotli to v1.0.5
* Define BROTLI_SHARED_COMPILATION
* Set headers language to C
* Add brotli-version.txt
Commit migrated from https://github.com/dotnet/corefx/commit/
b17387fd1e3c7b38ab06da917d0a0757d6748534
William Godbe [Fri, 29 Jun 2018 20:19:55 +0000 (13:19 -0700)]
Delay console CPR timer once protocol has worked (dotnet/corefx#30674)
Getting the current cursor position involves writing a particular escape sequence to stdout and then reading/parsing the response. In case the terminal doesn't support the sequence, we use `tcsetattr` to tell the terminal set set c_cc[MIN] to 0 and c_cc[VTIME] to 10; this makes it so that if no input is received within one second, we'll give up on reading the response. If we didn't do this and no response came back, or if a faulty response came back such that we would otherwise just sit there waiting for something that would never come, the console could end up hanging until the user typed the expected sequence.
However, this timeout can cause problems when the terminal is separated by a slow network connection from the console logic, in which case the CPR can time out and the response can end up not only being echoed to the screen, but also interpreted as user input.
This change tracks whether we've ever received a successful CPR response. Until we have, it keeps using 0 for c_cc[MIN], i.e. the minimum number of chars we need to read, such that it relies on the timeout firing and we return when either we've read at least one byte or the timer fires. Once we've successfully read a CPR response, for all future requests, we set c_cc[MIN] to 1. With that, we'll still return once at least one byte is received, but the timer won't start until then, which helps avoid this issue with slow network connections.
Commit migrated from https://github.com/dotnet/corefx/commit/
dd8449ded9dda04f50d8394341e2b9a59bee2b0e
Steve Pfister [Fri, 29 Jun 2018 17:48:18 +0000 (13:48 -0400)]
Switched to as cast in Init because some caller do not have the file map at the start of the param list (refsrc System.Web) (dotnet/corefx#30548)
Commit migrated from https://github.com/dotnet/corefx/commit/
331f135dc4d856ddd1d9751967c790f5f11c734f
Viktor Hofer [Fri, 29 Jun 2018 15:47:53 +0000 (17:47 +0200)]
Regex: reduce allocation slightly, add tests, code cleanup, add parser comments (dotnet/corefx#30632)
* RegexParser & optionsstack ref
* Add test coverage for Group.Synchronized
* Adjust options mode test case
* Add inline comment '#' test branch
* Add comments
* Replace manual ToLower calls by Span.ToLower
* Make applicable fields readonly in parser
* Change to Assert to reduce an if check in one branch
* Code formatting
* Avoid string allocation when IgnoreCase set
Prefix patterns which are passed to RegexBoyerMoore are already
lowercased by the parser. Remove the redundant ToLower() call and assert
the patterns lowercase state
* Add surrogate pair positive & negative tests
* Add test cases for rtl anchor
Commit migrated from https://github.com/dotnet/corefx/commit/
2f259de0bc566f4ef72e486133f71210416e440a
Eric Erhardt [Fri, 29 Jun 2018 14:20:28 +0000 (09:20 -0500)]
Revert WebServer change, since it cannot be an SDK style project.
Commit migrated from https://github.com/dotnet/corefx/commit/
6ccae92a54358ed8b9eb8e4f0f645b53ddc95065
Eric Erhardt [Fri, 29 Jun 2018 02:52:50 +0000 (21:52 -0500)]
Fix up Reflection.Context dir.props/targets to Directory.Build.
Commit migrated from https://github.com/dotnet/corefx/commit/
860888cf06a7fb35ae19474fad42de3eae535821
Eric Erhardt [Fri, 29 Jun 2018 02:28:41 +0000 (21:28 -0500)]
Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/
ec546de620c5248f3662d6aaca989ed382b86b6b
Eric Erhardt [Fri, 29 Jun 2018 01:42:36 +0000 (20:42 -0500)]
Turn off ILLinkTrimAssembly during design-time builds.
Design-time builds don't actually produce an output assembly. So ILLinkTrimAssembly will fail if there is no assembly there. It isn't needed for design-time builds, since now output assembly gets produced.
Commit migrated from https://github.com/dotnet/corefx/commit/
9f6519373568494e5a86bf20d4c6feb018f5b271
Stephen Toub [Thu, 28 Jun 2018 23:38:29 +0000 (19:38 -0400)]
Fix handle double-free in recently added WindowsIdentity test (dotnet/corefx#30731)
Commit migrated from https://github.com/dotnet/corefx/commit/
e36eaec682d5fa81bc1754e89787b0353b9c46b8
Maryam Ariyan [Thu, 28 Jun 2018 23:20:53 +0000 (16:20 -0700)]
Fix compilation for deprecated API on macOS Mojave preview (dotnet/corefx#30716)
* Fix compilation for deprecated API on macOS Mojave preview
Fixes: dotnet/corefx#30599
* Fixing tests on macOS Mojave
Commit migrated from https://github.com/dotnet/corefx/commit/
5e46fe15925c29732f5fdbc333e44c49564e082e
Eric Erhardt [Thu, 28 Jun 2018 16:53:20 +0000 (11:53 -0500)]
Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.
Commit migrated from https://github.com/dotnet/corefx/commit/
e05508a62d28f4807f85abe9cb7adf8382f792b4
Eric Erhardt [Thu, 28 Jun 2018 22:32:38 +0000 (17:32 -0500)]
Corefx Windows build on .NET Core MSBuild (dotnet/corefx#30675)
* Corefx Windows build on .NET Core MSBuild
Note: Need to move to the 3.0 SDK because the DiaSymReader.Native shipped in .NET Core's shared framework is out of date. See https://github.com/dotnet/core-setup/issues/4291.
* Workaround .NET Core MSBuild bug.
MSBuild on .NET Core doesn't support non-string resources. However, the ResourceManager tests need to test this scenario. Using the .NET Framework's resgen.exe during the build until the MSBuild bug is fixed.
* Update BuildTools to 2.2.0-preview1-02928-01
Commit migrated from https://github.com/dotnet/corefx/commit/
50ba6a21d8ccb2be551805c98a2106c3477064a0
Marco Rossignoli [Thu, 28 Jun 2018 22:18:54 +0000 (00:18 +0200)]
Override TextWriter.Write{Line}{Async} on StringWriter (dotnet/corefx#30667)
* add overloads
* fix overloads
* add tests
* move test to StringWriterTests.netcoreapp.cs
* revert StringWriterTests.cs updates
* address PR feedback
* fix test
* amend comments
Commit migrated from https://github.com/dotnet/corefx/commit/
57bb0fc7d615649e7a75f02de96be4001b1c3e90
Luqun Lou [Thu, 28 Jun 2018 20:07:54 +0000 (13:07 -0700)]
Remove dependency for IBindableVector Type (dotnet/corefx#30710)
Commit migrated from https://github.com/dotnet/corefx/commit/
1ddcfb9eca7e690a048ef20552bee37bab6cfd30
Luqun Lou [Thu, 28 Jun 2018 20:07:13 +0000 (13:07 -0700)]
Remove Is AppDomainUnloadedException check (dotnet/corefx#30736)
Commit migrated from https://github.com/dotnet/corefx/commit/
71bdfca0613bf66e2e3f41587f6a1d3f62dceb36
Martin Baulig [Thu, 28 Jun 2018 16:28:24 +0000 (12:28 -0400)]
Move 'Internal.Cryptography.Pal.CertificateData' into its own file. (dotnet/corefx#30707)
This moves all the managed pieces of Internal/Cryptography/Pal.OSX/CertificatePal.cs
which are not platform-specific into a separate file to allow them to be used in Mono.
Commit migrated from https://github.com/dotnet/corefx/commit/
a69961ae69608f2271d70e92016b6b3a303abdf6
Atsushi Kanamori [Thu, 28 Jun 2018 16:20:29 +0000 (09:20 -0700)]
Bring back System.Reflection.ICustomTypeProvider (dotnet/corefx#30727)
Fix https://github.com/dotnet/corefx/issues/29958
Commit migrated from https://github.com/dotnet/corefx/commit/
66567f218133234558098feb6d109bc9aa9f8273
Santiago Fernandez Madero [Thu, 28 Jun 2018 16:19:41 +0000 (09:19 -0700)]
Fix ImageFormat.ToString by using it's Guid when comparing to static ImageFormats (dotnet/corefx#30672)
* Fix ImageFormat.ToString by using it's Guid when comparing to static ImageFormats
* Add Image.RawFormat.ToString test
* Skip test on NETFX
* Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
aaaf87bbddf253726bc4e899659bc22c0ede9601
Santiago Fernandez Madero [Thu, 28 Jun 2018 16:17:11 +0000 (09:17 -0700)]
Fix FontFamily.Name performance by using span and calling the interop code with char pointer (dotnet/corefx#30705)
* Fix FontFamily.Name performance by using span and calling the interop
code with char pointer
* PR Feedback
* Remove added System.Memory reference
Commit migrated from https://github.com/dotnet/corefx/commit/
5d9a3ccdbd1692568b3ea00b891dce9f326285b5
Jiayi Yu [Thu, 28 Jun 2018 16:09:55 +0000 (09:09 -0700)]
Add IsSerializerVersionMatch check (dotnet/corefx#30137)
* add IsSerializerVersionMatch check
* add eventsource for logging
Commit migrated from https://github.com/dotnet/corefx/commit/
1b270a4d56bc421bf7984f6104f878e2a689fb6a
Stephen Toub [Thu, 28 Jun 2018 13:35:47 +0000 (09:35 -0400)]
Merge pull request dotnet/corefx#30662 from dotnet-maestro-bot/master-UpdateDependencies
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02928-01, preview1-26628-01, preview1-26628-01, preview1-26627-03, beta-26627-00, beta-26627-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/
686eb156e221e547a1cd5bf1a6fbf7bd2f1df812
Stephen Toub [Thu, 28 Jun 2018 13:18:53 +0000 (09:18 -0400)]
Disable Tizen leg on PRs (dotnet/corefx#30715)
It's failing with an updated coreclr:
https://github.com/dotnet/corefx/pull/30662#issuecomment-
400695140
Commit migrated from https://github.com/dotnet/corefx/commit/
6315a412b5489951a5fc3895121d99ce48bd52c8
Fei Peng [Thu, 28 Jun 2018 04:42:00 +0000 (21:42 -0700)]
Fix Aes and Ssse3.Shuffle intrinsic APIs
Commit migrated from https://github.com/dotnet/corefx/commit/
89d9acd8f0c63b5bd64e96070f903cf5a3328f35
John Doe [Thu, 28 Jun 2018 11:49:55 +0000 (04:49 -0700)]
Typo (dotnet/corefx#30721)
* Abbrevation -> Abbreviation
* accesible -> accessible
* acordingly -> accordingly
* Acount -> Account
* Acroding -> According
* actaul -> actual
* Activty -> Activity
* actully -> actually
* Actvitiy -> Activity
* acutal -> actual
Commit migrated from https://github.com/dotnet/corefx/commit/
f4ff3c8a7d00214ebcb7e87ff90a58d90434cb26
Gleb Balykov [Thu, 28 Jun 2018 03:12:24 +0000 (06:12 +0300)]
Fix __Arch for armv7l tests (dotnet/corefx#30639)
Commit migrated from https://github.com/dotnet/corefx/commit/
e36e0b3857e4d333e16191321eb1e9ce0213d1dd
Luqun Lou [Thu, 28 Jun 2018 02:41:42 +0000 (19:41 -0700)]
Remove use of FrameworkEventSourceSupport from S.P.Corelib (dotnet/corefx#30297)
Commit migrated from https://github.com/dotnet/corefx/commit/
96eddf39539879915e5bf570825e78af37149154
dotnet-maestro-bot [Thu, 28 Jun 2018 01:56:08 +0000 (18:56 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02928-01, preview1-26628-01, preview1-26628-01, preview1-26627-03, beta-26627-00, beta-26627-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
23bf4952b7632edaf498d437578aed2e65fc3ce5
Afsaneh Rafighi [Wed, 27 Jun 2018 16:58:44 +0000 (09:58 -0700)]
Merge pull request dotnet/corefx#29697 from AfsanehR/PoolBlockingPeriod
Added PoolBlockingPeriod connection property
Commit migrated from https://github.com/dotnet/corefx/commit/
f487a4c84e6ea02d053fd22546720194b63c8106
Jan Kotas [Wed, 27 Jun 2018 13:51:13 +0000 (06:51 -0700)]
Removes duplicate attributes on Span
Port https://github.com/dotnet/coreclr/pull/18668 to portable Span
Commit migrated from https://github.com/dotnet/corefx/commit/
7012adcffdb1b55386c79c37c9e868d73cfc9869
Afsaneh Rafighi [Wed, 27 Jun 2018 15:46:00 +0000 (08:46 -0700)]
added a margin to test
Commit migrated from https://github.com/dotnet/corefx/commit/
880e4f031cdcce58fc8a4bf6b95c34caa0f9cfa4
Tomas Weinfurt [Wed, 27 Jun 2018 13:28:54 +0000 (06:28 -0700)]
build stub assemblies on FreeBSD from *UnknownUnix* (dotnet/corefx#30663)
* build stub assemblies on FreeBSD from *UnknownUnix*
* feedback from review. move RegisterNetworkChange to common file
* use netcoreapp-Unix for FreeBSD until we have real implementation
Commit migrated from https://github.com/dotnet/corefx/commit/
fc1574ecf3d0b9a9035bc04abae465f27c510dab
Gleb Balykov [Wed, 27 Jun 2018 12:07:20 +0000 (15:07 +0300)]
Update Tizen CI RID (dotnet/corefx#30692)
* Update Tizen RID for CI
* Update Tizen url for rootfs generation
Commit migrated from https://github.com/dotnet/corefx/commit/
cdb337284ccce4a524caca2bdec029a0903b78e5
Santiago Fernandez Madero [Wed, 27 Jun 2018 01:51:31 +0000 (18:51 -0700)]
Disable DrawBezier/DrawLine_PointFs tests (dotnet/corefx#30684)
Commit migrated from https://github.com/dotnet/corefx/commit/
a9aabd2b7cf913f9dd35492d2f3497b2fb269978