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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stephen Toub [Sun, 3 Jul 2016 23:01:56 +0000 (19:01 -0400)]
Merge pull request dotnet/corefx#9830 from dotnet-bot/UpdateDependencies20160703071220
Updating CoreFx dependencies to beta-24303-04
Commit migrated from https://github.com/dotnet/corefx/commit/
cf598814de8d181adc245e0f619e2dde8ab1ca72
dotnet-bot [Sun, 3 Jul 2016 19:12:20 +0000 (19:12 +0000)]
Updating CoreFx dependencies to beta-24303-04
Commit migrated from https://github.com/dotnet/corefx/commit/
1bb03180b6dae7375339287be60291a7495fd3ab
Stephen Toub [Sun, 3 Jul 2016 15:43:53 +0000 (11:43 -0400)]
Merge pull request dotnet/corefx#9822 from stephentoub/add_path_tests
Rebase and replace dotnet/corefx#7195
Commit migrated from https://github.com/dotnet/corefx/commit/
27f47143540ad6589c2618ef28e802394c9341c9
Stephen Toub [Sun, 3 Jul 2016 14:43:36 +0000 (10:43 -0400)]
Merge pull request dotnet/corefx#9803 from hughbe/immutable-array-tests
Add ImmutableArray IList and IList<T> tests
Commit migrated from https://github.com/dotnet/corefx/commit/
6b57850d45613808e7cf20bb4b594e899e6297bb
Jeremy Kuhne [Thu, 24 Mar 2016 01:39:16 +0000 (18:39 -0700)]
Add path tests
Add tests for path error mapping
Commit migrated from https://github.com/dotnet/corefx/commit/
40a0c3d8f6e9075762075c8de615f9b511ab145e
Stephen Toub [Sun, 3 Jul 2016 13:54:03 +0000 (09:54 -0400)]
Merge pull request dotnet/corefx#9819 from dotnet-bot/UpdateDependencies20160703071716
Updating CoreFx dependencies to beta-24303-02
Commit migrated from https://github.com/dotnet/corefx/commit/
5ba0363b28ca6d34cfd82cf2aef7f189b228de42
Stephen Toub [Sun, 3 Jul 2016 13:53:50 +0000 (09:53 -0400)]
Merge pull request dotnet/corefx#9821 from hughbe/invalidsurrogate-emit
Remove some random data from System.Reflection.Emit.Tests
Commit migrated from https://github.com/dotnet/corefx/commit/
4b56c5b0089eaed18f7a59edf7d2737977922b93
Stephen Toub [Sun, 3 Jul 2016 12:41:32 +0000 (08:41 -0400)]
Fix version numbers causing restore failures
Commit migrated from https://github.com/dotnet/corefx/commit/
16536c878fa337b6435b8bab09682b1312af5c69
Hugh Bellamy [Sun, 3 Jul 2016 12:37:02 +0000 (13:37 +0100)]
Add some more tests for PropertyBuilder.Name
Commit migrated from https://github.com/dotnet/corefx/commit/
36f1ec93ec82065b1c457bec49eae3dcb2327cc9
dotnet-bot [Sun, 3 Jul 2016 07:17:16 +0000 (07:17 +0000)]
Updating CoreFx dependencies to beta-24303-02
Commit migrated from https://github.com/dotnet/corefx/commit/
9f38e4271c764e8fcc1940a31302f46745185996
Hugh Bellamy [Sun, 3 Jul 2016 12:27:07 +0000 (13:27 +0100)]
Remove some random data from System.Reflection.Emit.Tests
Currently, we generate random data in some of the System.Reflection.Emit
tests
One example is om the test for PropertyBuilder.Name that generates a
random char.
Due to bug dotnet/corefx#7166 xunit crashes when there is an invalid char (e.g. lone
high surrogate) in a MemberData or InlineData
Should hopefully fix dotnet/corefx#9820
Commit migrated from https://github.com/dotnet/corefx/commit/
30bfa3e05dc3b561b415d9552aa12071ec0b6aa5
Stephen Toub [Sun, 3 Jul 2016 12:13:55 +0000 (08:13 -0400)]
Merge pull request dotnet/corefx#9818 from dotnet-bot/UpdateDependencies20160703051842
Updating External dependencies to beta-24303-00
Commit migrated from https://github.com/dotnet/corefx/commit/
9f2fd54bba3c44547518cffbc1a2dce9de8064a3
dotnet-bot [Sun, 3 Jul 2016 05:18:42 +0000 (05:18 +0000)]
Updating External dependencies to beta-24303-00
Commit migrated from https://github.com/dotnet/corefx/commit/
50988a7761e18fe88de876e2aa400a55abfedb8a