platform/upstream/dotnet/runtime.git
8 years agoAdding Apis to DeflateStream and GZipStream (dotnet/corefx#10071)
Jose Perez Rodriguez [Mon, 18 Jul 2016 18:19:34 +0000 (11:19 -0700)]
Adding Apis to DeflateStream and GZipStream (dotnet/corefx#10071)

Adding APM Apis to DeflateStream and GZipStream

Commit migrated from https://github.com/dotnet/corefx/commit/fb26cd82d67c9bf065fc7370a40684be74c8d571

8 years agoMerge pull request dotnet/corefx#10038 from hann013/dev/StringIOClose
Eric Mellino [Wed, 13 Jul 2016 21:50:18 +0000 (14:50 -0700)]
Merge pull request dotnet/corefx#10038 from hann013/dev/StringIOClose

Added Close() methods to String IO

Commit migrated from https://github.com/dotnet/corefx/commit/f54608d82af24ff3568d1b92bb16509dc680bed2

8 years agoAdded tests for Close methods
Hannah Zhang [Wed, 13 Jul 2016 18:38:38 +0000 (11:38 -0700)]
Added tests for Close methods

Commit migrated from https://github.com/dotnet/corefx/commit/3f58b152cd27792cef61c2093c69158f973c7512

8 years agoAdded Close methods
Hannah Zhang [Wed, 13 Jul 2016 18:38:23 +0000 (11:38 -0700)]
Added Close methods

Commit migrated from https://github.com/dotnet/corefx/commit/c186d174a16f78d625457ab2bef4c6e39f403c43

8 years agoMerge pull request dotnet/corefx#10019 from hann013/dev/StringComparison
Stephen Toub [Wed, 13 Jul 2016 10:59:35 +0000 (06:59 -0400)]
Merge pull request dotnet/corefx#10019 from hann013/dev/StringComparison

Updated StringComparison

Commit migrated from https://github.com/dotnet/corefx/commit/adec6611bc5ceaa14a0c1c49cd1ef7c9d5ca05ed

8 years agoUpdated tests to fix failing Linux Tests
Hannah Zhang [Tue, 12 Jul 2016 21:28:04 +0000 (14:28 -0700)]
Updated tests to fix failing Linux Tests

Commit migrated from https://github.com/dotnet/corefx/commit/6b802fe69c96edc83ad04ca575751e521dea2c00

8 years agoAdded InvariantCulture/InvariantCultureIgnoreCase and tests
Hannah Zhang [Tue, 12 Jul 2016 18:48:06 +0000 (11:48 -0700)]
Added InvariantCulture/InvariantCultureIgnoreCase and tests

Commit migrated from https://github.com/dotnet/corefx/commit/d5ad9a2afe642f66a8f44e5c490ad16a64f8a540

8 years agoAdd back IHashCodeProvider/CaseInsensitiveHashCodeProvider to System.Collections...
Stephen Toub [Tue, 12 Jul 2016 10:25:37 +0000 (06:25 -0400)]
Add back IHashCodeProvider/CaseInsensitiveHashCodeProvider to System.Collections.NonGeneric (dotnet/corefx#9967)

* Add back IHashCodeProvider/CaseInsensitiveHashCodeProvider to System.Collections.NonGeneric

This support is only for compatibility, but even though it's been obsoleted for a long time, it still shows up with a surprisingly high amount of usage.  I've ported them from desktop.

Commit migrated from https://github.com/dotnet/corefx/commit/6c86a907590110638cbfa38b3a2922dca6d6056e

8 years agoMerge pull request dotnet/corefx#9978 from stephentoub/more_exit_code_tests
Stephen Toub [Tue, 12 Jul 2016 02:44:15 +0000 (22:44 -0400)]
Merge pull request dotnet/corefx#9978 from stephentoub/more_exit_code_tests

Add a few more Environment.Exit* tests

Commit migrated from https://github.com/dotnet/corefx/commit/66ffd16dea775e702f775f0156ba426e014e525c

8 years agoMerge pull request dotnet/corefx#9970 from stephentoub/icloneable_ref
Stephen Toub [Mon, 11 Jul 2016 21:08:45 +0000 (17:08 -0400)]
Merge pull request dotnet/corefx#9970 from stephentoub/icloneable_ref

Add ICloneable back to System.Runtime contract

Commit migrated from https://github.com/dotnet/corefx/commit/eaaf700503ef2df2764d7d8fdcebbe76a00f166d

8 years agoAdd a few more Environment.Exit* tests
Stephen Toub [Mon, 11 Jul 2016 20:59:47 +0000 (16:59 -0400)]
Add a few more Environment.Exit* tests

- Verifies that Environment.Exit(exitCode) passes the code through
- Verifies that Environment.ExitCode passes the code through even after Main exits, e.g. from a foreground thread

Both of these currently fail due to a coreclr issue.

Commit migrated from https://github.com/dotnet/corefx/commit/08e22134ee3ff02afed5cad8809e23633aa019e2

8 years agoMerge pull request dotnet/corefx#9968 from stephentoub/readonlycollectionbuilder
Stephen Toub [Mon, 11 Jul 2016 20:26:02 +0000 (16:26 -0400)]
Merge pull request dotnet/corefx#9968 from stephentoub/readonlycollectionbuilder

Expose ReadOnlyCollectionBuilder<T> from System.Linq.Expressions

Commit migrated from https://github.com/dotnet/corefx/commit/e447e8d79854ed811c7d394065a9e1c4dfd79505

8 years agoMerge pull request dotnet/corefx#9969 from joperezr/RevertImplicitMemberRemoval
Jose Perez Rodriguez [Mon, 11 Jul 2016 18:55:10 +0000 (11:55 -0700)]
Merge pull request dotnet/corefx#9969 from joperezr/RevertImplicitMemberRemoval

Reverting commits: d8cad4f and 5b066c since they introduced compatibility issues

Commit migrated from https://github.com/dotnet/corefx/commit/20b0dbde05e861225fa522e1e05cc52796932df8

8 years agoAdd ICloneable back to System.Runtime contract
Stephen Toub [Mon, 11 Jul 2016 17:42:50 +0000 (13:42 -0400)]
Add ICloneable back to System.Runtime contract

We've got a bunch of types outside of mscorlib that implement this interface in desktop, and the lack of it is causing issues, e.g.  https://github.com/dotnet/corefx/issues/9884.  This commit adds the interface to the contract; when we subsequently update the packages, then we can start implementing this in types outside of System.Runtime (since System.Runtime is mostly a facade on System.Private.Corelib, the types it "contains" already implement the interface).

Commit migrated from https://github.com/dotnet/corefx/commit/fb006859a8048206cea3dec78e0d64d728f6761c

8 years agoReverting commits: d8cad4f and 5b066c since they introduced compatibility issues
Jose Perez Rodriguez [Mon, 11 Jul 2016 16:45:57 +0000 (09:45 -0700)]
Reverting commits: d8cad4f and 5b066c since they introduced compatibility issues

Commit migrated from https://github.com/dotnet/corefx/commit/02f3cc6625c2dac641a6ff3129f55886a7a7f589

8 years agoExpose ReadOnlyCollectionBuilder from System.Linq.Expressions
Stephen Toub [Mon, 11 Jul 2016 16:03:40 +0000 (12:03 -0400)]
Expose ReadOnlyCollectionBuilder from System.Linq.Expressions

One of the more prominently used types from System.Core in desktop that's missing from our public surface area in corefx.

Commit migrated from https://github.com/dotnet/corefx/commit/c38eff56fa84a5cfb70ea475a2945b464f234319

8 years agoMerge pull request dotnet/corefx#9939 from stephentoub/env_tests
Stephen Toub [Sun, 10 Jul 2016 01:57:20 +0000 (21:57 -0400)]
Merge pull request dotnet/corefx#9939 from stephentoub/env_tests

Add a test for Environment.ExitCode

Commit migrated from https://github.com/dotnet/corefx/commit/64673e33af5567c1150def7a59f6f6d0f71b5f53

8 years agoAdd a test for Environment.ExitCode
Stephen Toub [Sat, 9 Jul 2016 22:53:47 +0000 (18:53 -0400)]
Add a test for Environment.ExitCode

We've consolidated almost all of our remote execution logic (testing code in another process) into a single shared console app that supports using reflection to invoke delegates, but to test ExitCode properly, we need t a void-returning Main method.  This commit adds such a little helper app to the System.Runtime.Extensions tests suite and adds a test that uses it.  That test is disabled until the associated issue in coreclr is fixed.

Commit migrated from https://github.com/dotnet/corefx/commit/7608f2462a10f278f7407b76514b0fd3fda1ea9d

8 years agoMerge pull request dotnet/corefx#9901 from joperezr/mscorlibRef
Jose Perez Rodriguez [Fri, 8 Jul 2016 18:11:15 +0000 (11:11 -0700)]
Merge pull request dotnet/corefx#9901 from joperezr/mscorlibRef

Adding member/types added in the Core surface area for mscorlib classic assembly

Commit migrated from https://github.com/dotnet/corefx/commit/8a15d65c607bc455d03cd7898b1d7030f16f4b16

8 years agoFixing CookieCollection interface methods (dotnet/corefx#9852)
Jose Perez Rodriguez [Fri, 8 Jul 2016 17:20:18 +0000 (10:20 -0700)]
Fixing CookieCollection interface methods (dotnet/corefx#9852)

Fixing CookieCollection interface methods

Commit migrated from https://github.com/dotnet/corefx/commit/5b066cd8d2bbd745710ff40e88bd193b2fd5ca3e

8 years agoMerge pull request dotnet/corefx#9897 from stephentoub/systemjson
Stephen Toub [Fri, 8 Jul 2016 00:40:21 +0000 (20:40 -0400)]
Merge pull request dotnet/corefx#9897 from stephentoub/systemjson

Add System.Json

Commit migrated from https://github.com/dotnet/corefx/commit/3f4c1df9a980ca6640d1ce28460b43f5312ca582

8 years agoAdding member/types added in the Core surface area
Jose Perez Rodriguez [Thu, 7 Jul 2016 19:58:23 +0000 (12:58 -0700)]
Adding member/types added in the Core surface area

Commit migrated from https://github.com/dotnet/corefx/commit/d8cad4f7eb0ccbef8eb76f8961ee5695ba2af43f

8 years ago[mscorlib] Adding the new types that were introduced in coreclr repo (dotnet/corefx...
Jose Perez Rodriguez [Thu, 7 Jul 2016 19:56:58 +0000 (12:56 -0700)]
[mscorlib] Adding the new types that were introduced in coreclr repo (dotnet/corefx#9712)

Adding member/types that were introduced by coreclr.

Commit migrated from https://github.com/dotnet/corefx/commit/2142323d5b4013dd5d2d3abb4e402b074117bdaa

8 years agoSystem.Json is inbox on Xamarin platforms
Eric St. John [Thu, 7 Jul 2016 19:06:32 +0000 (12:06 -0700)]
System.Json is inbox on Xamarin platforms

Commit migrated from https://github.com/dotnet/corefx/commit/391dae1d0f3789e0c11190f357e02fbcc03570db

8 years agoMake System.Json target netstandard1.0
Eric St. John [Thu, 7 Jul 2016 19:06:13 +0000 (12:06 -0700)]
Make System.Json target netstandard1.0

Build and package as a netstandard1.0 assembly.  Clean up project file.

Commit migrated from https://github.com/dotnet/corefx/commit/99dd5d4734aa59919b62bb0d46cd4b4360dd7ca7

8 years agoClean up tests a bit
Stephen Toub [Thu, 7 Jul 2016 17:51:37 +0000 (13:51 -0400)]
Clean up tests a bit

Commit migrated from https://github.com/dotnet/corefx/commit/12126fd05f3365dcf37b41245fddc0d52f759233

8 years agoMore code cleanup
Stephen Toub [Thu, 7 Jul 2016 17:10:02 +0000 (13:10 -0400)]
More code cleanup

Commit migrated from https://github.com/dotnet/corefx/commit/80e9fdf355b7881f567452206dd40d92623ae59a

8 years agoMove resources into Strings.resx
Stephen Toub [Thu, 7 Jul 2016 16:50:28 +0000 (12:50 -0400)]
Move resources into Strings.resx

Commit migrated from https://github.com/dotnet/corefx/commit/0950e0322460b8f645080de2a91f9b1acd46a639

8 years agoRan codeformatter
Stephen Toub [Thu, 7 Jul 2016 16:30:16 +0000 (12:30 -0400)]
Ran codeformatter

Commit migrated from https://github.com/dotnet/corefx/commit/9af844cd6705b9dacbf08655d45a110d16355cb9

8 years agoPort Mono code for System.Json and add project scaffolding
Stephen Toub [Thu, 7 Jul 2016 15:28:25 +0000 (11:28 -0400)]
Port Mono code for System.Json and add project scaffolding

Commit migrated from https://github.com/dotnet/corefx/commit/3957f11f8d8f90966be12ce6aec7e118fa7b6b94

8 years agoMerge pull request dotnet/corefx#9851 from stephentoub/devapi_environment_corefx
Stephen Toub [Thu, 7 Jul 2016 10:52:01 +0000 (06:52 -0400)]
Merge pull request dotnet/corefx#9851 from stephentoub/devapi_environment_corefx

Move Environment and friends to corefx

Commit migrated from https://github.com/dotnet/corefx/commit/c4af76eed2704416ad8f6e24291e7828a2477bd1

8 years agoRemove DEBUG ifdef
Stephen Toub [Thu, 7 Jul 2016 01:29:41 +0000 (21:29 -0400)]
Remove DEBUG ifdef

UserName test is failing on debug (with the initial buffer size set to 1) due to what appears to be a CentOS bug:
https://bugs.centos.org/view.php?id=7324

Commit migrated from https://github.com/dotnet/corefx/commit/565926e26af1a6172fe6faeaad5197ad0364782e

8 years agoMore tweaks to Environment
Stephen Toub [Wed, 6 Jul 2016 23:53:34 +0000 (19:53 -0400)]
More tweaks to Environment

Commit migrated from https://github.com/dotnet/corefx/commit/51920556182596c42efa36a43869229434507e3b

8 years agoAddress more PR feedback and additional fixes
Stephen Toub [Wed, 6 Jul 2016 15:21:15 +0000 (11:21 -0400)]
Address more PR feedback and additional fixes

Main changes:
- Rename Environment Windows files to .Win32.cs and .WinRT.cs
- Refactor environment variable functions to help with tree shaking
- Fix environ access on macOS
- Remove direct Environment dependency from System.Diagnostics.Debug causing ambiguity

Commit migrated from https://github.com/dotnet/corefx/commit/8ea801cdd2bc2d661b78e300064b43c8733b0471

8 years agoAddress PR feedback
Stephen Toub [Wed, 6 Jul 2016 03:32:12 +0000 (23:32 -0400)]
Address PR feedback

PR feedback:
- Remove AppX checks and split Environment.Windows into Environment.Windows, Environment.CoreCLR, and Environment.NETNative
- Change marshaling of service pack version field in OSVERSIONINFOEX
- Forward TickCount to EnvironmentAugments rather than implementing it via a P/Invoke
- Move environment variables support from coreclr to corefx

Plus:
- Use GetLogicalProcessorInformationEx to get the processor count, and cache it
- Use GetUserNameExW instead of GetUserNameW, as it's available on more platforms
- Fix compilation for .NET Native
- Fixed a test

Commit migrated from https://github.com/dotnet/corefx/commit/282ad11461c480a282a529c38d8fc353bc03663b

8 years agoMove Environment and friends to corefx
Stephen Toub [Tue, 5 Jul 2016 16:44:40 +0000 (12:44 -0400)]
Move Environment and friends to corefx

Currently System.Runtime.Extensions type forwards to the Environment in the runtime, which means we need to implement functionality in both coreclr and corert.  It's also missing functionality, which means to add that functionality back we'd need to do so in both runtimes, and we'd miss out on sharing code with elsewhere in corefx.

This commit:
1) Adds Environment, EnvironmentVariableTarget, OperatingSystem, and PlatformID to corefx so that System.Runtime.Extensions contains the type rather than forwarding to it.
2) Adds implementations of all of the missing members: CommandLine, CurrentDirectory, ExitCode, Is64BitProcess, Is64BitOperatingSystem, OSVersion, SystemPageSize, UserInteractive, UserName, UserDomainName, Version, WorkingSet, GetLogicalDrives, GetFolderPath, and the overloads of Get/SetEnvironmentVariable(s) that take an EnvironmentVariableTarget.
3) Adds the additional members to the contract.
4) Adds some basic tests to ensure basic functionality works.

Work that still needs to be done after this:
1) Add an EnvironmentAugments type to System.Private.Corelib in both corefx and corert, use that to replace the reflection-based hack in this commit, then remove the current Environment from Corelib's model.xml so that the rewriter will make it internal.  As part of this, we need to determine how to handle "IsAppXmodel/DesignMode" from corefx, whether we need two different builds for Win32/WinRT, etc.
2) Fix Get/SetEnvironmentVariable(s) to not ignore the EnvironmentVariableTarget.  This should be doable once (1) is done.
3) Add more support to the Unix implementation of GetFolderPath for more special folders
4) Add a GetTickCount method to the System.Native native lib, ala the implementation in libcoreclr; the current implementation is functional but slower than it could be.
5) Implement more Windows functionality if/when missing functions become available: SHGetFolderPath and GetVersionExW.
6) Use GetLogicalProcessInformationEx in ProcessorCount (or delegate to the implementation in coreclr).
I will open issues for each of these prior to merging this commit.

Commit migrated from https://github.com/dotnet/corefx/commit/fe5f4fbebc9e85c8e512a273567719dca15ac764

8 years agoMerge pull request dotnet/corefx#9850 from joperezr/SystemCore
Jose Perez Rodriguez [Tue, 5 Jul 2016 17:54:33 +0000 (10:54 -0700)]
Merge pull request dotnet/corefx#9850 from joperezr/SystemCore

Adding types/members to System.Core surface area that were introduced in Core.

Commit migrated from https://github.com/dotnet/corefx/commit/6bbf0f16f46cf8d502379550046c9b4d5c758f11

8 years agoAdding types/members to System.Core surface area that were introduced in Core.
Jose Perez Rodriguez [Tue, 5 Jul 2016 16:38:20 +0000 (09:38 -0700)]
Adding types/members to System.Core surface area that were introduced in Core.

Commit migrated from https://github.com/dotnet/corefx/commit/67a624addd0c3dd42d8110ba1e63fa09a07a4316

8 years agoMerge pull request dotnet/corefx#9745 from JeremyKuhne/GetLogicalDrives2
Stephen Toub [Sun, 3 Jul 2016 16:38:34 +0000 (12:38 -0400)]
Merge pull request dotnet/corefx#9745 from JeremyKuhne/GetLogicalDrives2

Implement GetLogicalDrives for Unix

Commit migrated from https://github.com/dotnet/corefx/commit/1f361a815ad3ffbbf5240ea22d7abe5ad94cacce

8 years agoMoving all of the Compat Assemblies to flat folder (dotnet/corefx#9782)
Jose Perez Rodriguez [Fri, 1 Jul 2016 21:23:54 +0000 (14:23 -0700)]
Moving all of the Compat Assemblies to flat folder (dotnet/corefx#9782)

Moving all of the Compat Assemblies to flat folder

Commit migrated from https://github.com/dotnet/corefx/commit/5eb4d84c51fdf0e90b9d9e143873131a7d51373f

8 years agoImplement GetLogicalDrives for Unix
Jeremy Kuhne [Wed, 29 Jun 2016 05:27:39 +0000 (22:27 -0700)]
Implement GetLogicalDrives for Unix

Implement and unify code for getting drives/mount points

Commit migrated from https://github.com/dotnet/corefx/commit/20ddbef76e857901e9c2baac1c0723cf9951324a

8 years agoMerge pull request dotnet/corefx#9741 from stephentoub/console_keys
Stephen Toub [Thu, 30 Jun 2016 20:22:35 +0000 (16:22 -0400)]
Merge pull request dotnet/corefx#9741 from stephentoub/console_keys

Add missing members to System.Console.dll

Commit migrated from https://github.com/dotnet/corefx/commit/2c87b705af5099258ea29f6de4de67afd45db797

8 years agoAddress PR feedback
Stephen Toub [Wed, 29 Jun 2016 13:23:07 +0000 (09:23 -0400)]
Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/152746a42ee57b000fe14f661907f7422a97fbd8

8 years agoAdd missing members to System.Console.dll
Stephen Toub [Wed, 29 Jun 2016 03:35:52 +0000 (23:35 -0400)]
Add missing members to System.Console.dll

Adds back missing:
- Values in the ConsoleKey enum
- OpenStandard* overloads that take an Int32
- __arglist-based Write* methods (but these are commented out as ArgIterator and friends aren't yet exposed from System.Runtime)

Commit migrated from https://github.com/dotnet/corefx/commit/1325c14bf1763ea9562d3725f8db5b4ca9ce78a1

8 years agoMerge pull request dotnet/corefx#9736 from JeremyKuhne/GetLogicalDrives
Jeremy Kuhne [Wed, 29 Jun 2016 02:14:13 +0000 (19:14 -0700)]
Merge pull request dotnet/corefx#9736 from JeremyKuhne/GetLogicalDrives

Add GetLogicalDrives.

Commit migrated from https://github.com/dotnet/corefx/commit/0b42956d46aab9f8807bea007aec05ade32e1e7a

8 years agoAdd GetLogicalDrives.
Jeremy Kuhne [Tue, 28 Jun 2016 21:47:08 +0000 (14:47 -0700)]
Add GetLogicalDrives.

Commit migrated from https://github.com/dotnet/corefx/commit/3032cd204abd1f07058af805c5e57726eecfd621

8 years agoDefine the surface area in code for the facades instead of using net46 (dotnet/corefx...
Jose Perez Rodriguez [Mon, 27 Jun 2016 20:28:38 +0000 (13:28 -0700)]
Define the surface area in code for the facades instead of using net46 (dotnet/corefx#9585)

Define the surface area in code for the facades instead of using net46

Commit migrated from https://github.com/dotnet/corefx/commit/f7698c4d34cb00c9e69632fd155e1677e2ecd1b5

8 years agoMerge pull request dotnet/corefx#9607 from weshaggard/FIdevapi
Jose Perez Rodriguez [Thu, 23 Jun 2016 19:47:57 +0000 (12:47 -0700)]
Merge pull request dotnet/corefx#9607 from weshaggard/FIdevapi

Merge master into dev\api

Commit migrated from https://github.com/dotnet/corefx/commit/f09218924a14cb518b6fd8b1cecdc6cce908c95a

8 years agoUpdate another NetStandard.Library references to 1.6.1
Wes Haggard [Thu, 23 Jun 2016 18:07:58 +0000 (11:07 -0700)]
Update another NetStandard.Library references to 1.6.1

Commit migrated from https://github.com/dotnet/corefx/commit/bc6fabd9ee9c587c0a178c0a5fa0a75f74b9911d

8 years agoFix some more invalid package versions.
Wes Haggard [Wed, 22 Jun 2016 23:59:43 +0000 (16:59 -0700)]
Fix some more invalid package versions.

Commit migrated from https://github.com/dotnet/corefx/commit/c95ffa67019e5e0c16dd24abcd7e82bbe2c7cef5

8 years agoFox invalid package versions after merge.
Wes Haggard [Wed, 22 Jun 2016 19:53:51 +0000 (12:53 -0700)]
Fox invalid package versions after merge.

Commit migrated from https://github.com/dotnet/corefx/commit/d5ff7608ea7c78f72636cc5cc0508547aa283b08

8 years agoMerge branch 'master' into dev/api
Wes Haggard [Wed, 22 Jun 2016 18:41:11 +0000 (11:41 -0700)]
Merge branch 'master' into dev/api

Merge conflicts:
src/System.IO/ref/System.IO.csproj
src/System.IO/src/System.IO.csproj
src/System.IO/tests/System.IO.Tests.csproj
src/System.IO/tests/project.json

Commit migrated from https://github.com/dotnet/corefx/commit/11eb1de5f8f2b11066e0d6caedbf40c642d17472

8 years agoMerge pull request dotnet/corefx#8607 from tijoytom/master
tijoytom [Wed, 22 Jun 2016 18:04:50 +0000 (11:04 -0700)]
Merge pull request dotnet/corefx#8607 from tijoytom/master

Updating contracts for new UTF8 string marshalling APIs

Commit migrated from https://github.com/dotnet/corefx/commit/926bdd0e860b9bb4f13e6c562575e59aee2ff9d0

8 years agoMerge pull request dotnet/corefx#9601 from dotnet-bot/UpdateDependencies20160622010859
Wes Haggard [Wed, 22 Jun 2016 17:37:53 +0000 (10:37 -0700)]
Merge pull request dotnet/corefx#9601 from dotnet-bot/UpdateDependencies20160622010859

Updating CoreFx dependencies to beta-24222-03

Commit migrated from https://github.com/dotnet/corefx/commit/dab51783edcc970f9cfb7d38b12d49fb7ff0fbcb

8 years agoUpdate S.T.RegularExpressions to version 4.2.0
Wes Haggard [Wed, 22 Jun 2016 16:39:30 +0000 (09:39 -0700)]
Update S.T.RegularExpressions to version 4.2.0

Commit migrated from https://github.com/dotnet/corefx/commit/9ce507c4f5c570619709c051573fb65d81c63977

8 years agoUpdating contracts for new UTF8 string marshalling APIs
Tijoy Tom Kalathiparambil [Tue, 17 May 2016 17:04:22 +0000 (10:04 -0700)]
Updating contracts for new UTF8 string marshalling APIs

We're adding a new API version which needs to be OOB on desktop.
Ensure we continue to build the 4.6.2 version.
Right now we're lying and saying .NETCoreApp1.0 supports the latest API.
Once we have a netcoreapp1.1/netstandard1.7 we'll need to update to use
that and either redistribute or cross compile for netstandard1.5/
netcoreapp1.0.

Commit migrated from https://github.com/dotnet/corefx/commit/1ba2d172367729f7472324c7197cae02f4796874

8 years agoUpdating CoreFx dependencies to beta-24222-03
dotnet-bot [Wed, 22 Jun 2016 13:08:58 +0000 (13:08 +0000)]
Updating CoreFx dependencies to beta-24222-03

Commit migrated from https://github.com/dotnet/corefx/commit/087ec74b9e436299974dce655741a3dcc98f5d1c

8 years agoMerge pull request dotnet/corefx#9593 from dotnet-bot/UpdateDependencies20160622051918
Stephen Toub [Wed, 22 Jun 2016 11:23:38 +0000 (07:23 -0400)]
Merge pull request dotnet/corefx#9593 from dotnet-bot/UpdateDependencies20160622051918

Updating External dependencies to beta-24222-00

Commit migrated from https://github.com/dotnet/corefx/commit/a181783ef0c51da547144d78b81bb07f77923228

8 years agoUpdating External dependencies to beta-24222-00
dotnet-bot [Wed, 22 Jun 2016 05:19:18 +0000 (05:19 +0000)]
Updating External dependencies to beta-24222-00

Commit migrated from https://github.com/dotnet/corefx/commit/90dac98c837b7624a743c7a6c9a0e3a2cf27b504

8 years agoMerge pull request dotnet/corefx#9586 from Priya91/fixprocess
Stephen Toub [Wed, 22 Jun 2016 01:24:50 +0000 (21:24 -0400)]
Merge pull request dotnet/corefx#9586 from Priya91/fixprocess

Add NERR_UserNotFound code to check on netuserdel.

Commit migrated from https://github.com/dotnet/corefx/commit/848e16f42cbce0f7f2f15171fadf065baa6e577a

8 years agoAdd usernotfound code to check on netuserdel.
Lakshmi Priya Sekar [Wed, 22 Jun 2016 00:14:09 +0000 (17:14 -0700)]
Add usernotfound code to check on netuserdel.

Commit migrated from https://github.com/dotnet/corefx/commit/f16267c5ebbc0930604074f06ad85680395dd482

8 years agoDisable SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds on Fedora...
Eric Eilebrecht [Tue, 21 Jun 2016 22:16:53 +0000 (15:16 -0700)]
Disable SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds on Fedora 23, while we investigate why this test has been failing. (dotnet/corefx#9580)

Commit migrated from https://github.com/dotnet/corefx/commit/21936668c71cd9e3951f7ab4e9c8ac253ca79d4e

8 years agoMerge pull request dotnet/corefx#9526 from Priya91/regexgroup
Lakshmi Priya [Tue, 21 Jun 2016 21:44:28 +0000 (14:44 -0700)]
Merge pull request dotnet/corefx#9526 from Priya91/regexgroup

Bring in Group.Name API from future branch, to be supported for net463

Commit migrated from https://github.com/dotnet/corefx/commit/a85d1f1f46f53f2e249d84bef0f2083fc19f1a84

8 years agoMerge pull request dotnet/corefx#9575 from dotnet-bot/UpdateDependencies20160621062520
Stephen Toub [Tue, 21 Jun 2016 20:37:20 +0000 (16:37 -0400)]
Merge pull request dotnet/corefx#9575 from dotnet-bot/UpdateDependencies20160621062520

Updating CoreFx dependencies to beta-24221-04

Commit migrated from https://github.com/dotnet/corefx/commit/c3a7bcabaa4bf82299d9f486c8b3529f9c04c93b

8 years agoMerge pull request dotnet/corefx#9573 from dotnet-bot/UpdateDependencies20160621052041
Stephen Toub [Tue, 21 Jun 2016 19:21:53 +0000 (15:21 -0400)]
Merge pull request dotnet/corefx#9573 from dotnet-bot/UpdateDependencies20160621052041

Updating External dependencies to beta-24221-00

Commit migrated from https://github.com/dotnet/corefx/commit/053ee23b44e87b533119b9a5ccb741cdd142e2a8

8 years agoMerge pull request dotnet/corefx#9565 from stephentoub/ws_refactoring
Stephen Toub [Tue, 21 Jun 2016 18:31:35 +0000 (14:31 -0400)]
Merge pull request dotnet/corefx#9565 from stephentoub/ws_refactoring

Several more WebSocket tweaks

Commit migrated from https://github.com/dotnet/corefx/commit/cded4394fee8bbfaad624e2e1816bf3c9c72207f

8 years agoUpdating CoreFx dependencies to beta-24221-04
dotnet-bot [Tue, 21 Jun 2016 18:25:20 +0000 (18:25 +0000)]
Updating CoreFx dependencies to beta-24221-04

Commit migrated from https://github.com/dotnet/corefx/commit/82aa3ea6236d6990a50770fb77b79ffb4e06c0b5

8 years agoUpdating External dependencies to beta-24221-00
dotnet-bot [Tue, 21 Jun 2016 17:20:41 +0000 (17:20 +0000)]
Updating External dependencies to beta-24221-00

Commit migrated from https://github.com/dotnet/corefx/commit/84134e5d027d30efcdc4bf3824b63fc7607b8e6f

8 years agoMerge pull request dotnet/corefx#9569 from dotnet-bot/UpdateDependencies20160621011417
Stephen Toub [Tue, 21 Jun 2016 14:08:08 +0000 (10:08 -0400)]
Merge pull request dotnet/corefx#9569 from dotnet-bot/UpdateDependencies20160621011417

Updating CoreFx dependencies to beta-24221-03

Commit migrated from https://github.com/dotnet/corefx/commit/3b6f18783574dae9ec58f50e5adacc5302330b69

8 years agoUpdating CoreFx dependencies to beta-24221-03
dotnet-bot [Tue, 21 Jun 2016 13:14:17 +0000 (13:14 +0000)]
Updating CoreFx dependencies to beta-24221-03

Commit migrated from https://github.com/dotnet/corefx/commit/6e72d3c127cae0a175c63dc942b8c7d8ac5da38b

8 years agoMerge pull request dotnet/corefx#9567 from dotnet-bot/UpdateDependencies20160621071747
Stephen Toub [Tue, 21 Jun 2016 10:15:51 +0000 (06:15 -0400)]
Merge pull request dotnet/corefx#9567 from dotnet-bot/UpdateDependencies20160621071747

Updating CoreFx dependencies to beta-24221-02

Commit migrated from https://github.com/dotnet/corefx/commit/42cb374a130ea3116322e1854aa88ffb3cf15801

8 years agoUpdating CoreFx dependencies to beta-24221-02
dotnet-bot [Tue, 21 Jun 2016 07:17:46 +0000 (07:17 +0000)]
Updating CoreFx dependencies to beta-24221-02

Commit migrated from https://github.com/dotnet/corefx/commit/818ad5af9340661114d112e6f7d511e380bc4f81

8 years agoMerge pull request dotnet/corefx#9566 from karajas/updateBT
Karthik Rajasekaran [Tue, 21 Jun 2016 07:05:26 +0000 (00:05 -0700)]
Merge pull request dotnet/corefx#9566 from karajas/updateBT

Update BuildTools to version 1.0.26-prerelease-00521-01

Commit migrated from https://github.com/dotnet/corefx/commit/ee647f58be1c45710c2cffbf7a01075756a84f48

8 years agoUpdate BuildTools to version 1.0.26-prerelease-00521-01
Karthik Rajasekaran [Tue, 21 Jun 2016 05:48:55 +0000 (22:48 -0700)]
Update BuildTools to version 1.0.26-prerelease-00521-01

Commit migrated from https://github.com/dotnet/corefx/commit/145461779618b860165ba21f93d8890eb9b1ed17

8 years agoMerge pull request dotnet/corefx#9560 from MattGal/Update_Xunit_Console_NetCore
Matt Galbraith [Tue, 21 Jun 2016 03:54:30 +0000 (20:54 -0700)]
Merge pull request dotnet/corefx#9560 from MattGal/Update_Xunit_Console_NetCore

Update BuildTools.TestSuite and Xunit.Console.NetCore runner

Commit migrated from https://github.com/dotnet/corefx/commit/e3b708058ff90c760c7ac32d93c9f492fab95b21

8 years agoMerge pull request dotnet/corefx#9525 from JeremyKuhne/BumpSystemIO
Jeremy Kuhne [Tue, 21 Jun 2016 00:45:29 +0000 (17:45 -0700)]
Merge pull request dotnet/corefx#9525 from JeremyKuhne/BumpSystemIO

Bump version for System.IO

Commit migrated from https://github.com/dotnet/corefx/commit/604305e27342e942f153576495a002774251c852

8 years agoUpdate references to Microsoft.DotNet.BuildTools.TestSuite to a version that understa...
Matt Galbraith [Mon, 20 Jun 2016 22:51:34 +0000 (15:51 -0700)]
Update references to Microsoft.DotNet.BuildTools.TestSuite to a version that understands uap10.0, add version validation rule for same.

Update reference to Xunit.Console.Netcore to pick up new version which does not throw if Console Color APIs do.

Commit migrated from https://github.com/dotnet/corefx/commit/91260ea102e681b16864596f0b9b2f14d3be82be

8 years agoMerge pull request dotnet/corefx#9530 from dotnet-bot/from-tfs
Matt Ellis [Mon, 20 Jun 2016 23:25:18 +0000 (16:25 -0700)]
Merge pull request dotnet/corefx#9530 from dotnet-bot/from-tfs

Merge changes from TFS

Commit migrated from https://github.com/dotnet/corefx/commit/dd029f5f09cca533e27a3c52005182781aa0c2f2

8 years agoMerge remote-tracking branch 'upstream/master' into from-tfs
Matt Ellis [Mon, 20 Jun 2016 22:38:23 +0000 (15:38 -0700)]
Merge remote-tracking branch 'upstream/master' into from-tfs

Commit migrated from https://github.com/dotnet/corefx/commit/ee647a1b03d8a5cdd9cc75ec58619fce4ce1d68b

8 years agoRespond to PR feedback.
Lakshmi Priya Sekar [Mon, 20 Jun 2016 21:17:25 +0000 (14:17 -0700)]
Respond to PR feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/b21352ae3809a129e38468bbc44be35ebcac34f7

8 years agoDelete now dead code
Stephen Toub [Mon, 20 Jun 2016 21:03:27 +0000 (17:03 -0400)]
Delete now dead code

Commit migrated from https://github.com/dotnet/corefx/commit/107ee39aadfef438779d8de382fd95756e18d7a1

8 years agoHandle more bad protocol cases
Stephen Toub [Mon, 20 Jun 2016 20:56:37 +0000 (16:56 -0400)]
Handle more bad protocol cases

These weren't flagged by the test suite, but they better match the spec.

Commit migrated from https://github.com/dotnet/corefx/commit/028b5807d9de87652847956f24d52ed76cd70db5

8 years agoMerge pull request dotnet/corefx#9548 from ellismg/port-http2-debian-test-fix
Stephen Toub [Mon, 20 Jun 2016 20:06:52 +0000 (16:06 -0400)]
Merge pull request dotnet/corefx#9548 from ellismg/port-http2-debian-test-fix

Allow the HTTP2 protocol test to pass with untrusted chains on Debian.

Commit migrated from https://github.com/dotnet/corefx/commit/12f1d055b4ac1ed41b1e4501e2a10a3cc24fc305

8 years agoCapture exception from send method into returned task
Stephen Toub [Mon, 20 Jun 2016 20:06:34 +0000 (16:06 -0400)]
Capture exception from send method into returned task

Rather than allowing it to escape synchronously from the method.

Commit migrated from https://github.com/dotnet/corefx/commit/f1a6ea4ef8dbf61f840c247fba2bb2d481e25bdc

8 years agoSmall refactorings/fixes in WebSockets managed client
Stephen Toub [Mon, 20 Jun 2016 20:05:50 +0000 (16:05 -0400)]
Small refactorings/fixes in WebSockets managed client

- Separate handling of close and ping/pong messages into their own functions.  This helps to keep the main receive function a bit more streamlined, and helping with the more common case we care to optimize for, sending and receiving.
- Remove two locals from the receive async function; this shrinks the size of that async state machine when yielding by a few bytes.

Commit migrated from https://github.com/dotnet/corefx/commit/ef8fd9e532190dff3d6c343e40b8b0fba5684217

8 years agoAdding the rest of the facades using net46 as a base surface area (dotnet/corefx...
Jose Perez Rodriguez [Mon, 20 Jun 2016 20:05:18 +0000 (13:05 -0700)]
Adding the rest of the facades using net46 as a base surface area (dotnet/corefx#9493)

Adding the rest of the facades using net46 as a base surface area

Commit migrated from https://github.com/dotnet/corefx/commit/bac7a4d6dec8cf22810151d22de7bc4b0bb25ece

8 years agoMerge pull request dotnet/corefx#9537 from stephentoub/http_test_parallel
Stephen Toub [Mon, 20 Jun 2016 19:33:08 +0000 (15:33 -0400)]
Merge pull request dotnet/corefx#9537 from stephentoub/http_test_parallel

Allow default xunit parallelization for System.Net.Http.Functional.Tests

Commit migrated from https://github.com/dotnet/corefx/commit/958a18a4976510ec8947abc1d0d1d8ab4efee9f5

8 years agoMerge pull request dotnet/corefx#9531 from tmat/MetadataBuilderTests
Tomáš Matoušek [Mon, 20 Jun 2016 19:24:48 +0000 (12:24 -0700)]
Merge pull request dotnet/corefx#9531 from tmat/MetadataBuilderTests

MetadataBuilder tests, API polish, docs

Commit migrated from https://github.com/dotnet/corefx/commit/e9d7ee6389d67bff036f02712651ae2f30e0a3e4

8 years agoMark another ActiveIssue
Stephen Toub [Mon, 20 Jun 2016 18:48:11 +0000 (14:48 -0400)]
Mark another ActiveIssue

Commit migrated from https://github.com/dotnet/corefx/commit/daa30fcf33d57203456ed6c0ce8c42650074d5db

8 years agoSeparate diagnostics tests into their own class
Stephen Toub [Mon, 20 Jun 2016 02:59:54 +0000 (22:59 -0400)]
Separate diagnostics tests into their own class

The only change to the logic is that the tests now use RemoteInvoke to run each test in its own process, so as to avoid EventSource and DiagnosticSource interference.

Also removed the xunit attributes from the assembly that prevented parallelization.  It's no longer needed as of this change.

Commit migrated from https://github.com/dotnet/corefx/commit/542d85e15bfe5fdeb59d7e6f7fb3b15a08640ebd

8 years agoAdd remote executor support for an async method
Stephen Toub [Mon, 20 Jun 2016 02:01:54 +0000 (22:01 -0400)]
Add remote executor support for an async method

Commit migrated from https://github.com/dotnet/corefx/commit/4dff47ae9dde3a0ec40af9f3d8ba0c485c1384e0

8 years agoAllow the HTTP2 protocol test to pass with untrusted chains on Debian.
Jeremy Barton [Sun, 12 Jun 2016 03:01:26 +0000 (20:01 -0700)]
Allow the HTTP2 protocol test to pass with untrusted chains on Debian.

The TLS context is set up to make this chain:
  CN=http2.akamai.com, O=Akamai Technologies Inc., L=Santa Clara, S=CA, C=US
  CN=Verizon Akamai SureServer CA G14-SHA2, OU=Cybertrust, O=Verizon Enterprise Solutions, L=Amsterdam, C=NL
  CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE
  CN=GTE CyberTrust Global Root, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US

making use of the cross-signed Baltimore CyberTrust Root certificate.
Unfortunately, that chain is not trusted on Debian 8.4 (GTE CyberTrust Global Root was removed), and a combination of data and installed software results in the valid chain using the self-signed Baltimore root is never built.

To prevent this situation from making the tests show as a failure, selectively allow Debian 8 to succeed on an incomplete chain.

Commit migrated from https://github.com/dotnet/corefx/commit/316370ac1d58a90f6788ecb924b41cc93aec043e

8 years agoMerge pull request dotnet/corefx#9544 from stephentoub/clientcert_test
Stephen Toub [Mon, 20 Jun 2016 17:27:22 +0000 (13:27 -0400)]
Merge pull request dotnet/corefx#9544 from stephentoub/clientcert_test

Tweak HTTP client certificates test and add ActiveIssue

Commit migrated from https://github.com/dotnet/corefx/commit/f42926c99b7d5311b61065b347fc05f7b911671a

8 years agoMetadataBuilder tests, API polish, docs
Tomas Matousek [Mon, 20 Jun 2016 16:29:36 +0000 (09:29 -0700)]
MetadataBuilder tests, API polish, docs

Commit migrated from https://github.com/dotnet/corefx/commit/0029217ed7fe886eff04deb9c2ea6529ef025885

8 years agoMerge pull request dotnet/corefx#9524 from ericstj/Update-beta-24217-04
Eric StJohn [Mon, 20 Jun 2016 16:22:44 +0000 (09:22 -0700)]
Merge pull request dotnet/corefx#9524 from ericstj/Update-beta-24217-04

Update CoreFx packages  to beta-24217-04

Commit migrated from https://github.com/dotnet/corefx/commit/2c42a8f7b759f5f3973a05e7abf54144bba6702d

8 years agoFix reference assembly non-stable refs
Eric St. John [Mon, 20 Jun 2016 15:44:38 +0000 (08:44 -0700)]
Fix reference assembly non-stable refs

Commit migrated from https://github.com/dotnet/corefx/commit/d6b3393cb53b1775fd88db37ccebea3aafae5f18

8 years agoFix product binary non-stable refs
Eric St. John [Mon, 20 Jun 2016 14:26:27 +0000 (07:26 -0700)]
Fix product binary non-stable refs

Commit migrated from https://github.com/dotnet/corefx/commit/73e6c557b8e4e94c1b3f9bb27c78fbe18685aaac

8 years agoEnsure we reference the latest Lineup package.
Eric St. John [Mon, 20 Jun 2016 13:29:02 +0000 (06:29 -0700)]
Ensure we reference the latest Lineup package.

Commit migrated from https://github.com/dotnet/corefx/commit/26bd9740848d45888bf9cb7b472201856ed36f62

8 years agoTweak HTTP client certificates test and add ActiveIssue
Stephen Toub [Mon, 20 Jun 2016 12:37:30 +0000 (08:37 -0400)]
Tweak HTTP client certificates test and add ActiveIssue

With forced GC/finalization at the right moment, the test currently fails on Windows.

Commit migrated from https://github.com/dotnet/corefx/commit/4cdb8dc1ba73ef02ef719b9a0ee336dbefca3b10

8 years agoMerge pull request dotnet/corefx#9536 from stephentoub/add_ws_retry
Stephen Toub [Mon, 20 Jun 2016 02:08:41 +0000 (22:08 -0400)]
Merge pull request dotnet/corefx#9536 from stephentoub/add_ws_retry

Add retry to GetConnectedWebSocket

Commit migrated from https://github.com/dotnet/corefx/commit/2bcc5419a37f7444805d4620e3af109a53b0d4f2