platform/upstream/dotnet/runtime.git
8 years agoMerge pull request dotnet/corefx#9936 from ericstj/xamarinValidation
Eric StJohn [Tue, 12 Jul 2016 22:49:51 +0000 (15:49 -0700)]
Merge pull request dotnet/corefx#9936 from ericstj/xamarinValidation

Validate Xamarin frameworks

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

8 years agoMerge pull request dotnet/corefx#10008 from vitek-karas/MethodInfoInvokeDefaultParams
Vitek Karas [Tue, 12 Jul 2016 22:13:56 +0000 (15:13 -0700)]
Merge pull request dotnet/corefx#10008 from vitek-karas/MethodInfoInvokeDefaultParams

Add tests for MethodInfo.Invoke with default parameters

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

8 years agoUpdate BuildToolsVersion to 00612-01
Eric St. John [Tue, 12 Jul 2016 21:52:43 +0000 (14:52 -0700)]
Update BuildToolsVersion to 00612-01

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

8 years agoValidate Xamarin frameworks
Eric St. John [Fri, 8 Jul 2016 21:19:28 +0000 (14:19 -0700)]
Validate Xamarin frameworks

This adds validation for Xamarin frameworks and fixes some packages
which were not representing Xamarin correctly.

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

8 years agoAdd tests for MethodInfo.Invoke with default parameters
vitek-karas [Tue, 12 Jul 2016 11:06:53 +0000 (04:06 -0700)]
Add tests for MethodInfo.Invoke with default parameters

Add tests for various cases where MethodInfo.Invoke is used on a method with default parameters.

General cleanup of the affected test file
- Renamed test methods to include what they're actually testing (instead of numbering scheme).
- Use Assert.Equal instead of custom implementation based on Assert.True (less code).
- Get rid of lot of local variables which are not that useful - if we debug this we would
  step into the Invoke call anyway, and that has all the important stuff as parameters anyway.
  Keeps the tests much shorter and easier to read.
- I didn't change the actual behavior of any of the existing tests.
- For now I kept the test types as they are (although the names are pretty bad).
- Small formatting changes.

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

8 years agoMerge pull request dotnet/corefx#10016 from ericstj/restoreNoCache
Eric StJohn [Tue, 12 Jul 2016 19:02:46 +0000 (12:02 -0700)]
Merge pull request dotnet/corefx#10016 from ericstj/restoreNoCache

Specify --no-cache on restore

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

8 years agoMerge pull request dotnet/corefx#10009 from dotnet-bot/UpdateDependencies20160712011800
Stephen Toub [Tue, 12 Jul 2016 18:14:07 +0000 (14:14 -0400)]
Merge pull request dotnet/corefx#10009 from dotnet-bot/UpdateDependencies20160712011800

Updating CoreFx dependencies to beta-24312-03

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

8 years agoMerge pull request dotnet/corefx#9971 from jhendrixMSFT/master
Joel Hendrix [Tue, 12 Jul 2016 17:29:07 +0000 (10:29 -0700)]
Merge pull request dotnet/corefx#9971 from jhendrixMSFT/master

Remove Mac OS minor version number from package filtering.

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

8 years agoSpecify --no-cache on restore
Eric St. John [Tue, 12 Jul 2016 16:34:16 +0000 (09:34 -0700)]
Specify --no-cache on restore

This lets us publish a package and consume it immediately from our
builds.

Without this our CI clients were relying on an HTTP cache of our myget
feeds and failing when we updated projects or buildtools.

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

8 years agoMerge pull request dotnet/corefx#9993 from bartonjs/x509_upref
Jeremy Barton [Tue, 12 Jul 2016 14:52:46 +0000 (07:52 -0700)]
Merge pull request dotnet/corefx#9993 from bartonjs/x509_upref

Use X509UpRef instead of X509Duplicate

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

8 years agoPort List changes from dotnet/coreclrdotnet/corefx#6212 (dotnet/corefx#9987)
James Ko [Tue, 12 Jul 2016 14:17:49 +0000 (10:17 -0400)]
Port List changes from dotnet/coreclrdotnet/corefx#6212 (dotnet/corefx#9987)

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

8 years agoUpdating CoreFx dependencies to beta-24312-03
dotnet-bot [Tue, 12 Jul 2016 13:18:00 +0000 (13:18 +0000)]
Updating CoreFx dependencies to beta-24312-03

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

8 years agoMerge pull request dotnet/corefx#10006 from dotnet-bot/UpdateDependencies20160712051802
Stephen Toub [Tue, 12 Jul 2016 11:34:47 +0000 (07:34 -0400)]
Merge pull request dotnet/corefx#10006 from dotnet-bot/UpdateDependencies20160712051802

Updating External dependencies to beta-24312-00

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

8 years agoMerge pull request dotnet/corefx#10007 from dotnet-bot/UpdateDependencies20160712072030
Stephen Toub [Tue, 12 Jul 2016 10:23:25 +0000 (06:23 -0400)]
Merge pull request dotnet/corefx#10007 from dotnet-bot/UpdateDependencies20160712072030

Updating CoreFx dependencies to beta-24312-02

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

8 years agoUpdating CoreFx dependencies to beta-24312-02
dotnet-bot [Tue, 12 Jul 2016 07:20:30 +0000 (07:20 +0000)]
Updating CoreFx dependencies to beta-24312-02

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

8 years agoUpdating External dependencies to beta-24312-00
dotnet-bot [Tue, 12 Jul 2016 05:18:02 +0000 (05:18 +0000)]
Updating External dependencies to beta-24312-00

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

8 years agoMerge pull request dotnet/corefx#9956 from stephentoub/tcpclient_dispose
Stephen Toub [Tue, 12 Jul 2016 02:46:50 +0000 (22:46 -0400)]
Merge pull request dotnet/corefx#9956 from stephentoub/tcpclient_dispose

Improve behavior of TcpClient Dispose concurrent with ConnectAsync

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

8 years agoMerge pull request dotnet/corefx#10005 from justinvp/color
Stephen Toub [Tue, 12 Jul 2016 02:46:29 +0000 (22:46 -0400)]
Merge pull request dotnet/corefx#10005 from justinvp/color

Windows.UI.Color: Simplify Equals

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

8 years agoWindows.UI.Color: Simplify Equals
Justin Van Patten [Tue, 12 Jul 2016 01:51:45 +0000 (18:51 -0700)]
Windows.UI.Color: Simplify Equals

Simplify the code for Equals(object) and the equality operator.

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

8 years agoMerge pull request dotnet/corefx#9974 from Priya91/windowsnano
Lakshmi Priya [Mon, 11 Jul 2016 23:22:01 +0000 (16:22 -0700)]
Merge pull request dotnet/corefx#9974 from Priya91/windowsnano

Check for RunTest.cmd before running test on Nano.

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

8 years agoAdd CryptoNative_X509UpRef
Jeremy Barton [Mon, 11 Jul 2016 23:02:55 +0000 (16:02 -0700)]
Add CryptoNative_X509UpRef

Use X509UpRef instead of X509Duplicate

X509Duplicate copies the certificate data into new memory, but none of the
callers needed copy semantics, just ensuring that the native components
which also are using the same memory don't unexpectedly free the object.

Protection from early/double-free is what the native reference count field is
for, so use UpRef instead of Duplicate.

Since we are currently targeting OpenSSL 1.0.x X509Upref adds to
references directly, X509_up_ref does not exist in the 1.0.x ABI.

Microbenchmark:
Cloning a certificate 1000 times by cert.Handle, measuring maximum resident set:
X509Duplicate (before): 48213 +/- 1501KB
X509UpRef (after): 39208 +/- 1021KB
Memory reduction: 9005 +/- 1816KB

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

8 years agoMerge pull request dotnet/corefx#9976 from Priya91/arm
Lakshmi Priya [Mon, 11 Jul 2016 21:34:40 +0000 (14:34 -0700)]
Merge pull request dotnet/corefx#9976 from Priya91/arm

Enable arm testing in PRs.

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

8 years agoEnable arm testing in PRs.
Lakshmi Priya Sekar [Mon, 11 Jul 2016 20:43:07 +0000 (13:43 -0700)]
Enable arm testing in PRs.

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

8 years agoCheck for RunTest.cmd before running test on Nano.
Lakshmi Priya Sekar [Mon, 11 Jul 2016 20:16:00 +0000 (13:16 -0700)]
Check for RunTest.cmd before running test on Nano.

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

8 years agoEnabling perf tests' execution using universal runner (dotnet/corefx#9916)
Deepak Shankargouda [Mon, 11 Jul 2016 18:36:05 +0000 (11:36 -0700)]
Enabling perf tests' execution using universal runner (dotnet/corefx#9916)

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

8 years agoRemove Mac OS minor version number from package filtering.
Joel Hendrix [Mon, 11 Jul 2016 18:00:18 +0000 (11:00 -0700)]
Remove Mac OS minor version number from package filtering.

Building on Mac OS 10.11 produces binaries that are compatible with
version 10.10.  It order to build packages on Macs running 10.11 I have
removed the OS minor version number as part of the package filtering.

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

8 years agoMerge pull request dotnet/corefx#9963 from dotnet-bot/UpdateDependencies20160711071459
Stephen Toub [Mon, 11 Jul 2016 14:15:02 +0000 (10:15 -0400)]
Merge pull request dotnet/corefx#9963 from dotnet-bot/UpdateDependencies20160711071459

Updating CoreFx dependencies to beta-24311-02

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

8 years agoImprove behavior of TcpClient Dispose concurrent with ConnectAsync
Stephen Toub [Mon, 11 Jul 2016 01:52:53 +0000 (21:52 -0400)]
Improve behavior of TcpClient Dispose concurrent with ConnectAsync

TcpClient.Dispose is not meant to be used concurrently with other operations on the instance, but some code does do so as a way to provide a cancellation mechanism.  There are two easily hit issues with this:
1. On Unix, the ConnectAsync operation doesn't publish the actual Socket on which a connection was made until after the connection is established, as it needs to use temporary sockets to try each potential target address, and publishing it before connecting could end up publishing a Socket that won't end up being the actual one used.  As such, if a Dispose occurs during the ConnectAsync operation, it won't end up disposing the socket being used to make the connection, such that the connection won't be canceled.
2. On all platforms, Dispose nulls out the client socket field.  When the connection then subsequently completes, it hits a NullReferenceException while trying to dereference that field.

This commit addresses both issues:
a. When the client is disposed, on Unix we cancel a CancellationTokenSource, and each Socket we create is registered with that source to dispose the socket.  That way, we dispose of each socket even if it hasn't been published onto the instance yet.
b. We grab the Socket from the field and check for null prior to dereferencing it.

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

8 years agoEnsure Unix SslStream sends intermediate CA certs when required. (dotnet/corefx#9814)
sichbo [Mon, 11 Jul 2016 10:52:28 +0000 (07:52 -0300)]
Ensure Unix SslStream sends intermediate CA certs when required. (dotnet/corefx#9814)

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

8 years agoMerge pull request dotnet/corefx#9960 from Priya91/test
Stephen Toub [Mon, 11 Jul 2016 10:51:02 +0000 (06:51 -0400)]
Merge pull request dotnet/corefx#9960 from Priya91/test

Fix caching in RuntimeInformation.

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

8 years agoMerge pull request dotnet/corefx#9962 from dotnet-bot/UpdateDependencies20160711061952
Stephen Toub [Mon, 11 Jul 2016 10:49:42 +0000 (06:49 -0400)]
Merge pull request dotnet/corefx#9962 from dotnet-bot/UpdateDependencies20160711061952

Updating External dependencies to beta-24311-00

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

8 years agoUpdating CoreFx dependencies to beta-24311-02
dotnet-bot [Mon, 11 Jul 2016 07:14:59 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24311-02

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

8 years agoUpdating External dependencies to beta-24311-00
dotnet-bot [Mon, 11 Jul 2016 06:19:51 +0000 (06:19 +0000)]
Updating External dependencies to beta-24311-00

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

8 years agoMerge pull request dotnet/corefx#9961 from Priya91/fixgroovy
Lakshmi Priya [Mon, 11 Jul 2016 06:17:11 +0000 (23:17 -0700)]
Merge pull request dotnet/corefx#9961 from Priya91/fixgroovy

Skip running arm jobs in PR.

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

8 years agoSkip running arm jobs in PR.
Lakshmi Priya Sekar [Mon, 11 Jul 2016 06:10:01 +0000 (23:10 -0700)]
Skip running arm jobs in PR.

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

8 years agoFix caching in RuntimeInformation.
Lakshmi Priya Sekar [Mon, 11 Jul 2016 05:56:18 +0000 (22:56 -0700)]
Fix caching in RuntimeInformation.

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

8 years agoMerge pull request dotnet/corefx#9951 from jamesqo/queue-enumerator
Stephen Toub [Mon, 11 Jul 2016 02:12:38 +0000 (22:12 -0400)]
Merge pull request dotnet/corefx#9951 from jamesqo/queue-enumerator

Make Queue.Enumerator.Current inlineable by the JIT

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

8 years agoMerge pull request dotnet/corefx#9953 from stephentoub/update_dependencies
Stephen Toub [Mon, 11 Jul 2016 00:29:13 +0000 (20:29 -0400)]
Merge pull request dotnet/corefx#9953 from stephentoub/update_dependencies

* Updating External dependencies to beta-24310-00
* Updating CoreFx dependencies to beta-24310-04

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

8 years agoUpdating CoreFx dependencies to beta-24310-04
Stephen Toub [Sun, 10 Jul 2016 22:44:59 +0000 (18:44 -0400)]
Updating CoreFx dependencies to beta-24310-04

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

8 years agoUpdating External dependencies to beta-24310-00
Stephen Toub [Sun, 10 Jul 2016 22:42:49 +0000 (18:42 -0400)]
Updating External dependencies to beta-24310-00

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

8 years agoMake Queue.Enumerator.Current inlineable by the JIT
James Ko [Sun, 10 Jul 2016 22:16:33 +0000 (18:16 -0400)]
Make Queue.Enumerator.Current inlineable by the JIT

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

8 years agoMake Stack<T>.Enumerator.Current inlineable by the JIT (dotnet/corefx#9942)
James Ko [Sun, 10 Jul 2016 17:26:19 +0000 (13:26 -0400)]
Make Stack<T>.Enumerator.Current inlineable by the JIT (dotnet/corefx#9942)

* Make Stack<T>.Enumerator.Current inlineable by the JIT

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

8 years agoDirect readers to the docs for .NET Standard (dotnet/corefx#9707)
Rich Lander [Sun, 10 Jul 2016 06:13:34 +0000 (23:13 -0700)]
Direct readers to the docs for .NET Standard (dotnet/corefx#9707)

* Direct readers to the docs

* Update net-platform-standard.md

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

8 years agoMerge pull request dotnet/corefx#9930 from dotnet-bot/UpdateDependencies20160709071418
Stephen Toub [Sat, 9 Jul 2016 11:30:01 +0000 (07:30 -0400)]
Merge pull request dotnet/corefx#9930 from dotnet-bot/UpdateDependencies20160709071418

Updating CoreFx dependencies to beta-24309-02

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

8 years agoUpdating CoreFx dependencies to beta-24309-02
dotnet-bot [Sat, 9 Jul 2016 07:14:18 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24309-02

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

8 years agoMerge pull request dotnet/corefx#9923 from dotnet-bot/UpdateDependencies20160708111732
Stephen Toub [Sat, 9 Jul 2016 01:21:06 +0000 (21:21 -0400)]
Merge pull request dotnet/corefx#9923 from dotnet-bot/UpdateDependencies20160708111732

Updating External dependencies to beta-24308-00

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

8 years agoUpdating External dependencies to beta-24308-00
dotnet-bot [Fri, 8 Jul 2016 23:17:32 +0000 (23:17 +0000)]
Updating External dependencies to beta-24308-00

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

8 years agoMerge pull request dotnet/corefx#9856 from jamesqo/stringptr-tests
Stephen Toub [Fri, 8 Jul 2016 21:13:45 +0000 (17:13 -0400)]
Merge pull request dotnet/corefx#9856 from jamesqo/stringptr-tests

Add some more test coverage for the new string(char*) impl

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

8 years agoMerge pull request dotnet/corefx#9763 from Priya91/runtimeinformation
Lakshmi Priya [Fri, 8 Jul 2016 20:48:45 +0000 (13:48 -0700)]
Merge pull request dotnet/corefx#9763 from Priya91/runtimeinformation

Return file version for FrameworkDescription.

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

8 years agoMerge pull request dotnet/corefx#9849 from svick/tcpclient-null-client
Cristian Pop [Fri, 8 Jul 2016 18:25:20 +0000 (11:25 -0700)]
Merge pull request dotnet/corefx#9849 from svick/tcpclient-null-client

Make sure TcpClient properties do not throw when the underlying Socket is null

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

8 years agoMerge pull request dotnet/corefx#9909 from prajwal-aithal/devel/arm-ci-job-setup
Lakshmi Priya [Fri, 8 Jul 2016 17:39:30 +0000 (10:39 -0700)]
Merge pull request dotnet/corefx#9909 from prajwal-aithal/devel/arm-ci-job-setup

ARM-CI: Change Linux ARM Emulator job setup

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

8 years agoMerge pull request dotnet/corefx#9906 from prajwal-aithal/devel/arm-ci-managed
Lakshmi Priya [Fri, 8 Jul 2016 17:38:03 +0000 (10:38 -0700)]
Merge pull request dotnet/corefx#9906 from prajwal-aithal/devel/arm-ci-managed

ARM-CI: Enable build of managed components

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

8 years agoARM-CI: Change Linux ARM Emulator job setup
Prajwal A N [Fri, 8 Jul 2016 01:05:39 +0000 (10:05 +0900)]
ARM-CI: Change Linux ARM Emulator job setup

* Made the Linux ARM Emulator PR job automatic
  under the name linuxarmemulator_cross_<configuration>_prtest
* Added a push-based job for non-PR configuration
  under the name linuxarmemulator_cross_<configuration>

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/75594f0cd303c3713e55a9d400ecc07b39b3ad83

8 years agoMerge pull request dotnet/corefx#9886 from karajas/updateCsProj
Karthik Rajasekaran [Fri, 8 Jul 2016 02:52:49 +0000 (19:52 -0700)]
Merge pull request dotnet/corefx#9886 from karajas/updateCsProj

Add TestTFMs for filtering to builds files

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

8 years agoMerge pull request dotnet/corefx#9860 from jamesqo/patch-2
David Shulman [Fri, 8 Jul 2016 02:33:22 +0000 (19:33 -0700)]
Merge pull request dotnet/corefx#9860 from jamesqo/patch-2

Avoid repeated char[] allocations in CheckForColonInFirstPathSegment

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

8 years agoARM-CI: Enable build of managed components
Prajwal A N [Thu, 7 Jul 2016 22:45:34 +0000 (07:45 +0900)]
ARM-CI: Enable build of managed components

To ensure that the native and managed components
are built on the same source code, enable managed
build as well. Tests are not needed

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/19773a26afd1a3557912b46e4e58df09e392349c

8 years agoTest TcpClient.ExclusiveAddressUse only on Windows
Petr Onderka [Thu, 7 Jul 2016 16:28:27 +0000 (17:28 +0100)]
Test TcpClient.ExclusiveAddressUse only on Windows

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

8 years agoMake sure TcpClient properties do not throw when the underlying Socket is null
Petr Onderka [Tue, 5 Jul 2016 15:43:02 +0000 (17:43 +0200)]
Make sure TcpClient properties do not throw when the underlying Socket is null

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

8 years agoAvoid repeated char[] allocations in CheckForColonInFirstPathSegment
James Ko [Fri, 8 Jul 2016 00:57:05 +0000 (20:57 -0400)]
Avoid repeated char[] allocations in CheckForColonInFirstPathSegment

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

8 years agoMerge pull request dotnet/corefx#9895 from svick/tcpclient-eau
Stephen Toub [Fri, 8 Jul 2016 00:41:03 +0000 (20:41 -0400)]
Merge pull request dotnet/corefx#9895 from svick/tcpclient-eau

Make sure TcpClient.ExclusiveAddressUse throws on Unix

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

8 years agoMerge pull request dotnet/corefx#9903 from jasonwilliams200OK/patches/freebsd
Stephen Toub [Fri, 8 Jul 2016 00:40:07 +0000 (20:40 -0400)]
Merge pull request dotnet/corefx#9903 from jasonwilliams200OK/patches/freebsd

Define _BSD_SOURCE macro for getline on FreeBSD

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

8 years agoMerge pull request dotnet/corefx#9899 from josteink/freebsd-enodata
Stephen Toub [Fri, 8 Jul 2016 00:39:57 +0000 (20:39 -0400)]
Merge pull request dotnet/corefx#9899 from josteink/freebsd-enodata

Fix undefined ENODATA on FreeBSD.

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

8 years agoRespond to PR feedback.
Lakshmi Priya Sekar [Tue, 5 Jul 2016 19:02:22 +0000 (12:02 -0700)]
Respond to PR feedback.

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

8 years agoAdd TestTFMs for filtering to builds files
Karthik Rajasekaran [Thu, 7 Jul 2016 11:01:49 +0000 (04:01 -0700)]
Add TestTFMs for filtering to builds files

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

8 years agoReturn fileversion for FrameworkDescription.
Lakshmi Priya Sekar [Wed, 29 Jun 2016 21:16:38 +0000 (14:16 -0700)]
Return fileversion for FrameworkDescription.

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

8 years agoMerge pull request dotnet/corefx#9898 from dotnet-bot/UpdateDependencies20160707073516
Stephen Toub [Thu, 7 Jul 2016 22:23:59 +0000 (18:23 -0400)]
Merge pull request dotnet/corefx#9898 from dotnet-bot/UpdateDependencies20160707073516

Updating CoreFx dependencies to beta-24307-04

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

8 years agoMerge pull request dotnet/corefx#9813 from svick/dcs-exception-escaping
Matt Connew [Thu, 7 Jul 2016 21:41:19 +0000 (14:41 -0700)]
Merge pull request dotnet/corefx#9813 from svick/dcs-exception-escaping

Escape Messages of InnerExceptions in DataContractSerializer

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

8 years agoMerge pull request dotnet/corefx#9718 from prajwal-aithal/devel/arm-emulator-ci
Lakshmi Priya [Thu, 7 Jul 2016 21:27:27 +0000 (14:27 -0700)]
Merge pull request dotnet/corefx#9718 from prajwal-aithal/devel/arm-emulator-ci

ARM-CI: Add CI checks for Linux ARM Emulator

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

8 years agoMerge pull request dotnet/corefx#9878 from davidsh/contenttype_fix
David Shulman [Thu, 7 Jul 2016 19:51:22 +0000 (12:51 -0700)]
Merge pull request dotnet/corefx#9878 from davidsh/contenttype_fix

Fix HttpWebResponse.ContentType when response has invalid headers

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

8 years agoFix undefined ENODATA on FreeBSD.
Jostein Kjønigsen [Thu, 7 Jul 2016 19:45:39 +0000 (21:45 +0200)]
Fix undefined ENODATA on FreeBSD.

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

8 years agoUpdating CoreFx dependencies to beta-24307-04
dotnet-bot [Thu, 7 Jul 2016 19:35:15 +0000 (19:35 +0000)]
Updating CoreFx dependencies to beta-24307-04

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

8 years agoDefine _BSD_SOURCE macro for getline on FreeBSD
Peter [Thu, 7 Jul 2016 18:27:46 +0000 (21:27 +0300)]
Define _BSD_SOURCE macro for getline on FreeBSD

According to manpage:

https://www.freebsd.org/cgi/man.cgi?query=getline&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html

FreeBSD requires either `_WITH_GETLINE`, `_BSD_SOURCE` or `_GNU_SOURCE`
defined to make `getline` available via `<stdio.h>`.

By adding a definition in CMake is the cleanest way as otherwise we get:

> macro name is a reserved identifier

and muting it with `pragma` will be a messier solution
(e.g. dotnet/corefx@ba88726).

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

8 years agoDispose temporary Socket
Petr Onderka [Thu, 7 Jul 2016 18:16:59 +0000 (20:16 +0200)]
Dispose temporary Socket

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

8 years agoMerge pull request dotnet/corefx#9879 from MattGal/Support_native_compilation
Matt Galbraith [Thu, 7 Jul 2016 17:59:04 +0000 (10:59 -0700)]
Merge pull request dotnet/corefx#9879 from MattGal/Support_native_compilation

Add UWP platform and TestILC 1.4 dependencies

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

8 years agoMake sure TcpClient.ExclusiveAddressUse throws on Unix
Petr Onderka [Thu, 7 Jul 2016 16:14:50 +0000 (17:14 +0100)]
Make sure TcpClient.ExclusiveAddressUse throws on Unix

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

8 years agoMerge pull request dotnet/corefx#9888 from stephentoub/valuetask_tests
Stephen Toub [Thu, 7 Jul 2016 13:18:32 +0000 (09:18 -0400)]
Merge pull request dotnet/corefx#9888 from stephentoub/valuetask_tests

Fix ValueTaskTests deadlocking on a single core machine

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

8 years agoFix ValueTaskTests deadlocking on a single core machine
Stephen Toub [Thu, 7 Jul 2016 11:59:18 +0000 (07:59 -0400)]
Fix ValueTaskTests deadlocking on a single core machine

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

8 years agoMerge pull request dotnet/corefx#9794 from tarekgh/FilterToTestTFM
Karthik Rajasekaran [Thu, 7 Jul 2016 11:36:33 +0000 (04:36 -0700)]
Merge pull request dotnet/corefx#9794 from tarekgh/FilterToTestTFM

Support filtering to TestTFM

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

8 years agoMerge pull request dotnet/corefx#9881 from dotnet-bot/UpdateDependencies20160707061822
Stephen Toub [Thu, 7 Jul 2016 10:13:39 +0000 (06:13 -0400)]
Merge pull request dotnet/corefx#9881 from dotnet-bot/UpdateDependencies20160707061822

Updating External dependencies to beta-24307-00

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

8 years agoUpdating External dependencies to beta-24307-00
dotnet-bot [Thu, 7 Jul 2016 06:18:22 +0000 (06:18 +0000)]
Updating External dependencies to beta-24307-00

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

8 years agoAdd UWP platform and TestILC 1.4 dependencies to test-runtime to support .NET Native...
Matt Galbraith [Wed, 22 Jun 2016 02:25:48 +0000 (19:25 -0700)]
Add UWP platform and TestILC 1.4 dependencies to test-runtime to support .NET Native compilation

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

8 years agoARM-CI: Add CI checks for Linux ARM Emulator
Prajwal A N [Mon, 27 Jun 2016 03:55:00 +0000 (12:55 +0900)]
ARM-CI: Add CI checks for Linux ARM Emulator

Some changes to the native part of corefx breaks builds
for the Linux ARM Emulator. Thus adding CI checks for
native part of corefx using cross build based on the
emulator rootfs.

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/b5e214ef8c63a16da807115e3c4643b38df819a2

8 years agoFix HttpWebResponse.ContentType when response has invalid headers
David Shulman [Wed, 6 Jul 2016 21:30:04 +0000 (14:30 -0700)]
Fix HttpWebResponse.ContentType when response has invalid headers

The HttpWebResponse.ContentType property is supposed to return a string value with the response's `Content-Type` header value. Even if the response header is considered non-conformant with RFC7231, the value is returned as-is as received on the wire.

In .NET Core, HttpWebRequest/HttpWebResponse is implemented as a wrapper around HttpClient. HttpClient has a strongly-typed model for headers. The current implementation of HttpWebResponse.ContentType was trying to use the strongly typed header from HttpClient. In cases where the header was malformed, it was returning empty string. This was a difference in behavior from .NET Framework.

The fix is to use TryGetValues() to retrieve the raw response header value for the 'Content-Type' header. This will result in compatible behavior with .NET Framework.

Fixes dotnet/corefx#9433.

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

8 years agoMerge pull request dotnet/corefx#9861 from jamesqo/patch-3
Cristian Pop [Wed, 6 Jul 2016 18:08:20 +0000 (11:08 -0700)]
Merge pull request dotnet/corefx#9861 from jamesqo/patch-3

Remove unused static field from Uri

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

8 years agoUpdating External dependencies to beta-24306-00 (dotnet/corefx#9858)
dotnet bot [Wed, 6 Jul 2016 12:23:49 +0000 (05:23 -0700)]
Updating External dependencies to beta-24306-00 (dotnet/corefx#9858)

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

8 years agoRemove unused static field from Uri
James Ko [Wed, 6 Jul 2016 07:06:32 +0000 (03:06 -0400)]
Remove unused static field from Uri

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

8 years agoAdd more test coverage for dotnet/coreclrdotnet/corefx#6119 (dotnet/corefx#9844)
James Ko [Wed, 6 Jul 2016 03:48:58 +0000 (23:48 -0400)]
Add more test coverage for dotnet/coreclrdotnet/corefx#6119 (dotnet/corefx#9844)

* Add more test coverage for dotnet/coreclrdotnet/corefx#6119

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

8 years agoMerge pull request dotnet/corefx#9853 from dotnet-bot/from-tfs
Matt Ellis [Tue, 5 Jul 2016 23:09:11 +0000 (16:09 -0700)]
Merge pull request dotnet/corefx#9853 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoAdd some more test coverage for the new string(char*) impl
James Ko [Tue, 5 Jul 2016 19:03:28 +0000 (15:03 -0400)]
Add some more test coverage for the new string(char*) impl

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

8 years agoUpdate wordings for diagnostics tools dependencies comments.
Andrew Au [Tue, 5 Jul 2016 19:01:17 +0000 (12:01 -0700)]
Update wordings for diagnostics tools dependencies comments.

[tfs-changeset: 1616096]

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

8 years agoMerge pull request dotnet/corefx#8621 from rainersigwald/init-tools-failure-cases
Jose Perez Rodriguez [Tue, 5 Jul 2016 18:14:33 +0000 (11:14 -0700)]
Merge pull request dotnet/corefx#8621 from rainersigwald/init-tools-failure-cases

Improved failure handling in init-tools.sh

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

8 years agoFail init-tools atomically
Rainer Sigwald [Tue, 17 May 2016 20:30:07 +0000 (15:30 -0500)]
Fail init-tools atomically

Before this change, a failure fairly early in the `init-tools.sh` process could result in subsequent attempts being short-circuited.

This introduces a marker file that is only written at the very end of the script, so that a `dotnet restore` or `init-tools.sh`-from-package failure can be retried immediately.

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

8 years agoMerge pull request dotnet/corefx#9845 from dotnet-bot/UpdateDependencies20160705051759
Stephen Toub [Tue, 5 Jul 2016 11:58:08 +0000 (07:58 -0400)]
Merge pull request dotnet/corefx#9845 from dotnet-bot/UpdateDependencies20160705051759

Updating External dependencies to beta-24305-00

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

8 years agoUpdating External dependencies to beta-24305-00
dotnet-bot [Tue, 5 Jul 2016 05:17:59 +0000 (05:17 +0000)]
Updating External dependencies to beta-24305-00

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

8 years agoAdd some ReadOnlyDictionary tests (dotnet/corefx#9829)
Hugh Bellamy [Mon, 4 Jul 2016 15:14:37 +0000 (16:14 +0100)]
Add some ReadOnlyDictionary tests (dotnet/corefx#9829)

* Add some ReadOnlyDictionary tests

- Also fixes the DebuggerAttributes for when the proxy and parent have
different generic parameters by providing a customization overload

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

8 years agoMerge pull request dotnet/corefx#9834 from jamesqo/patch-1
David Shulman [Mon, 4 Jul 2016 14:39:36 +0000 (07:39 -0700)]
Merge pull request dotnet/corefx#9834 from jamesqo/patch-1

Avoid a boxing allocation in UriBuilder.ToString

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

8 years agoAvoid a boxing allocation in UriBuilder.ToString
James Ko [Mon, 4 Jul 2016 04:31:17 +0000 (00:31 -0400)]
Avoid a boxing allocation in UriBuilder.ToString

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

8 years agoFix facade-code-coverage.bat for System.Private.CoreLib changes (dotnet/corefx#9831)
Hugh Bellamy [Mon, 4 Jul 2016 03:09:59 +0000 (04:09 +0100)]
Fix facade-code-coverage.bat for System.Private.CoreLib changes (dotnet/corefx#9831)

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

8 years agoTweak PR contribution docs
Stephen Toub [Sun, 3 Jul 2016 23:15:05 +0000 (19:15 -0400)]
Tweak PR contribution docs

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

8 years agoAdd docs for PR (feedback) (dotnet/corefx#9827)
Hugh Bellamy [Sun, 3 Jul 2016 23:05:25 +0000 (00:05 +0100)]
Add docs for PR (feedback) (dotnet/corefx#9827)

* Add docs for PR (feedback)

Fixes dotnet/corefx#1063

* Change sentence style

* Fix some wording

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