platform/upstream/dotnet/runtime.git
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 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

8 years agoMerge pull request dotnet/corefx#9830 from dotnet-bot/UpdateDependencies20160703071220
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

8 years agoUpdating CoreFx dependencies to beta-24303-04
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

8 years agoMerge pull request dotnet/corefx#9822 from stephentoub/add_path_tests
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

8 years agoMerge pull request dotnet/corefx#9803 from hughbe/immutable-array-tests
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

8 years agoAdd path tests
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

8 years agoMerge pull request dotnet/corefx#9819 from dotnet-bot/UpdateDependencies20160703071716
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

8 years agoMerge pull request dotnet/corefx#9821 from hughbe/invalidsurrogate-emit
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

8 years agoFix version numbers causing restore failures
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

8 years agoAdd some more tests for PropertyBuilder.Name
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

8 years agoUpdating CoreFx dependencies to beta-24303-02
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

8 years agoRemove some random data from System.Reflection.Emit.Tests
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

8 years agoMerge pull request dotnet/corefx#9818 from dotnet-bot/UpdateDependencies20160703051842
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

8 years agoUpdating External dependencies to beta-24303-00
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

8 years agoMerge pull request dotnet/corefx#9033 from ianhays/zip_binarycompattests
Stephen Toub [Sat, 2 Jul 2016 19:26:11 +0000 (15:26 -0400)]
Merge pull request dotnet/corefx#9033 from ianhays/zip_binarycompattests

Add Compression binary compat tests

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

8 years agoAdd ImmutableArray IList and IList<T> tests
Hugh Bellamy [Fri, 1 Jul 2016 21:24:24 +0000 (22:24 +0100)]
Add ImmutableArray IList and IList<T> tests

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

8 years agoMerge pull request dotnet/corefx#9778 from mellinoe/operstatenotfound-fix
Eric Mellino [Fri, 1 Jul 2016 17:38:47 +0000 (10:38 -0700)]
Merge pull request dotnet/corefx#9778 from mellinoe/operstatenotfound-fix

Guard file reads in /sys/class/net/<iface> directories

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

8 years agoport System.Native to be g++ compatible (dotnet/corefx#9791)
Dylan Borg [Fri, 1 Jul 2016 16:01:49 +0000 (18:01 +0200)]
port System.Native to be g++ compatible (dotnet/corefx#9791)

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

8 years agoMerge pull request dotnet/corefx#9793 from jamesqo/uribuilder-replace
David Shulman [Fri, 1 Jul 2016 15:50:26 +0000 (08:50 -0700)]
Merge pull request dotnet/corefx#9793 from jamesqo/uribuilder-replace

Use string.Replace for UriBuilder.set_Path

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

8 years agoUpdate TestData version
Ian Hays [Fri, 1 Jul 2016 15:08:55 +0000 (08:08 -0700)]
Update TestData version

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

8 years agoAdd Compression binary compat tests
Ian Hays [Wed, 1 Jun 2016 18:02:58 +0000 (11:02 -0700)]
Add Compression binary compat tests

We don't currently test binary equality of outputted test zips, so tested compatibility is limited to the parts of the header we expose via a ZipArchive API. This commit adds some tests that compare normal and unicode zips between the current version and .NET 4.5 and .NET 4.6.

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

8 years agoUse string.Replace for UriBuilder.set_Path
James Ko [Fri, 1 Jul 2016 13:42:50 +0000 (09:42 -0400)]
Use string.Replace for UriBuilder.set_Path

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

8 years agoMerge pull request dotnet/corefx#9790 from dotnet-bot/UpdateDependencies20160701051957
Stephen Toub [Fri, 1 Jul 2016 10:54:07 +0000 (06:54 -0400)]
Merge pull request dotnet/corefx#9790 from dotnet-bot/UpdateDependencies20160701051957

Updating External dependencies to beta-24301-00

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

8 years agoMerge pull request dotnet/corefx#9784 from ericstj/bumpVersionsServicing
Eric StJohn [Fri, 1 Jul 2016 06:41:32 +0000 (23:41 -0700)]
Merge pull request dotnet/corefx#9784 from ericstj/bumpVersionsServicing

Increment versions post servicing

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

8 years agoUpdating External dependencies to beta-24301-00
dotnet-bot [Fri, 1 Jul 2016 05:19:57 +0000 (05:19 +0000)]
Updating External dependencies to beta-24301-00

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

8 years agoMerge pull request dotnet/corefx#9740 from prajwal-aithal/devel/arm-cross-objcopy-fix
Aditya Mandaleeka [Fri, 1 Jul 2016 02:06:47 +0000 (19:06 -0700)]
Merge pull request dotnet/corefx#9740 from prajwal-aithal/devel/arm-cross-objcopy-fix

ARM: resolve objcopy version to be used

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

8 years agoMerge pull request dotnet/corefx#9786 from karajas/fixTestBuildBreak
Karthik Rajasekaran [Fri, 1 Jul 2016 00:03:13 +0000 (17:03 -0700)]
Merge pull request dotnet/corefx#9786 from karajas/fixTestBuildBreak

Revert System.Private.DataContractSerialization pkgproj reference to csproj reference

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

8 years agoRevert System.Private.DataContractSerialization pkgproj reference to csproj reference
Karthik Rajasekaran [Thu, 30 Jun 2016 22:54:04 +0000 (15:54 -0700)]
Revert System.Private.DataContractSerialization pkgproj reference to csproj reference

System.Runtime.Serialization.Json, System.Runtime.Serialization.Xml, System.Xml.XmlSerializer are compiled against it's implementation, it has no compile time assets.

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

8 years agoIncrement versions post servicing
Eric St. John [Thu, 30 Jun 2016 22:12:36 +0000 (15:12 -0700)]
Increment versions post servicing

This bumps the versions of the packages we intend to ship out of the
servicing branch so that the master will be later than release.

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

8 years agoAdd instructions for targeting .NET Core with MSBuild projects (dotnet/corefx#9403)
Daniel Plaisted [Thu, 30 Jun 2016 22:11:52 +0000 (15:11 -0700)]
Add instructions for targeting .NET Core with MSBuild projects (dotnet/corefx#9403)

* Add step by step instructions for using MSBuild to target .NET Core
* Rearrange and edit instructions for targeting .NET Core with MSBuild
* Link to updated NuGet extension for VS, add instructions allowing PCL/dnxcore50 packages to be referenced
* Reformatting
* Update existing getting started instructions
* Change prerequisite to VS 2015 Update 3, which fixes error that AnyCPU isn't supported
* Add comments for MSBuild properties
* Recommend project.json for new projects
* Add CoreApp as another recommendation to start with
* Start with Console app template instead of portable library, use Microsoft.NETCore.App package
* Fix indentation

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

8 years agoMerge pull request dotnet/corefx#9555 from ianhays/fs_symlinktest
Stephen Toub [Thu, 30 Jun 2016 22:07:42 +0000 (18:07 -0400)]
Merge pull request dotnet/corefx#9555 from ianhays/fs_symlinktest

FileSystem: Expand CanCreateSymlinks test

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

8 years agoarm: resolve objcopy version to be used
Prajwal A N [Tue, 28 Jun 2016 23:25:55 +0000 (08:25 +0900)]
arm: resolve objcopy version to be used

objcopy binary used before does not work when doing cross build.
In the case of cross build TOOLCHAIN-objcopy is to be used where
TOOLCHAIN is defined according to the target architecture being
built for.

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

8 years agoAdditional guard against missing network files.
Eric Mellino [Thu, 30 Jun 2016 21:44:30 +0000 (14:44 -0700)]
Additional guard against missing network files.

* Add guard for the case where a file disappears between call to
  File.Exists and when we try to open it.

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

8 years agoMerge pull request dotnet/corefx#9781 from bartonjs/use_keysizevalue
Stephen Toub [Thu, 30 Jun 2016 20:39:54 +0000 (16:39 -0400)]
Merge pull request dotnet/corefx#9781 from bartonjs/use_keysizevalue

Set KeySizeValue instead of doing gymnastics in LegalKeySizes.

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

8 years agoMerge pull request dotnet/corefx#9690 from hughbe/reflection-emit-more
Stephen Toub [Thu, 30 Jun 2016 20:39:45 +0000 (16:39 -0400)]
Merge pull request dotnet/corefx#9690 from hughbe/reflection-emit-more

Cleanup some more System.Reflection.Emit tests

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

8 years agoMerge pull request dotnet/corefx#9779 from dotnet-bot/UpdateDependencies20160630071552
Stephen Toub [Thu, 30 Jun 2016 20:22:48 +0000 (16:22 -0400)]
Merge pull request dotnet/corefx#9779 from dotnet-bot/UpdateDependencies20160630071552

Updating CoreFx dependencies to beta-24230-04

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

8 years agoGuard file reads in /sys/class/net/<iface> directories
Eric Mellino [Thu, 30 Jun 2016 18:17:17 +0000 (11:17 -0700)]
Guard file reads in /sys/class/net/<iface> directories

* Some systems may not have the expected files present in these
  directories. If such a situation is encountered, try still to
  return a reasonable value, or throw a PlatformNotSupportedException
  instead of a FileNotFoundException if we shouldn't "guess" a value.

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

8 years agoSet KeySizeValue instead of doing gymnastics in LegalKeySizes.
Jeremy Barton [Thu, 30 Jun 2016 18:29:51 +0000 (11:29 -0700)]
Set KeySizeValue instead of doing gymnastics in LegalKeySizes.

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

8 years agoUpdating CoreFx dependencies to beta-24230-04
dotnet-bot [Thu, 30 Jun 2016 19:15:52 +0000 (19:15 +0000)]
Updating CoreFx dependencies to beta-24230-04

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

8 years agoMerge pull request dotnet/corefx#9760 from ianhays/console_UWP_noopcolor
Stephen Toub [Thu, 30 Jun 2016 19:01:31 +0000 (15:01 -0400)]
Merge pull request dotnet/corefx#9760 from ianhays/console_UWP_noopcolor

Make UWP Console Color operations not throw

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

8 years agoMerge pull request dotnet/corefx#9765 from ianhays/zipfile_cleanuptempfiles
Stephen Toub [Thu, 30 Jun 2016 18:45:05 +0000 (14:45 -0400)]
Merge pull request dotnet/corefx#9765 from ianhays/zipfile_cleanuptempfiles

Cleanup ZipFile tests using temp files

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

8 years agoMerge pull request dotnet/corefx#9776 from stephentoub/fix_process_test
Lakshmi Priya [Thu, 30 Jun 2016 18:26:48 +0000 (11:26 -0700)]
Merge pull request dotnet/corefx#9776 from stephentoub/fix_process_test

Fix TestUserCredentialsPropertiesOnWindows outerloop test

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

8 years agoAdd locks to WinRT Console Color functions
Ian Hays [Thu, 30 Jun 2016 18:16:33 +0000 (11:16 -0700)]
Add locks to WinRT Console Color functions

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

8 years agoMerge pull request dotnet/corefx#9759 from ianhays/FSW_OSXRetain
Stephen Toub [Thu, 30 Jun 2016 17:52:51 +0000 (13:52 -0400)]
Merge pull request dotnet/corefx#9759 from ianhays/FSW_OSXRetain

Add Retain to OSX FileSystemWatcher runloop

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

8 years agoUpdate Sys.IO.Compression tests to inherit ZipFileTestBase
Ian Hays [Thu, 30 Jun 2016 17:50:22 +0000 (10:50 -0700)]
Update Sys.IO.Compression tests to inherit ZipFileTestBase

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

8 years agoCleanup ZipFile tests using temp files
Ian Hays [Wed, 29 Jun 2016 21:51:30 +0000 (14:51 -0700)]
Cleanup ZipFile tests using temp files

Some ZipFile tests aren't cleaning up after themselves like good little tests are supposed to. This commit makes them use the FileCleanupTestBase/TempFile/TempDirectory common files to resolve that

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

8 years agoAdd Retain to OSX FileSystemWatcher runloop
Ian Hays [Wed, 29 Jun 2016 17:30:41 +0000 (10:30 -0700)]
Add Retain to OSX FileSystemWatcher runloop

The OSX FileSystemWatcher uses the CoreFoundation RunLoop API to watch for events. There is a rule that CF objects recieved from getter functions are not guaranteed to exist unless explicitly retained. We were not doing this, so there was a very infrequent potential race condition wherein cancellation raced with completion of the thread that owned the runloop. When completion happened first, OSX disposed the unmanaged CoreFoundation RunLoop object that was unique to the thread, and cancellation attempted to call API on that now-invalid object. This commit adds explicit retain/release logic to prevent that race condition.

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

8 years agoMerge pull request dotnet/corefx#9774 from stephentoub/fix_console_peek
Stephen Toub [Thu, 30 Jun 2016 16:18:33 +0000 (12:18 -0400)]
Merge pull request dotnet/corefx#9774 from stephentoub/fix_console_peek

Fix Console.In.Peek and friends

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

8 years agoMerge pull request dotnet/corefx#9775 from dotnet-bot/UpdateDependencies20160630011622
Stephen Toub [Thu, 30 Jun 2016 15:34:58 +0000 (11:34 -0400)]
Merge pull request dotnet/corefx#9775 from dotnet-bot/UpdateDependencies20160630011622

Updating CoreFx dependencies to beta-24230-03

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

8 years agoUpdating CoreFx dependencies to beta-24230-03
dotnet-bot [Thu, 30 Jun 2016 13:16:21 +0000 (13:16 +0000)]
Updating CoreFx dependencies to beta-24230-03

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

8 years agoAdd CharSet.Unicode to USER_INFO_1
Stephen Toub [Thu, 30 Jun 2016 12:53:08 +0000 (08:53 -0400)]
Add CharSet.Unicode to USER_INFO_1

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

8 years agoMerge pull request dotnet/corefx#9773 from dotnet-bot/UpdateDependencies20160630071429
Stephen Toub [Thu, 30 Jun 2016 12:15:31 +0000 (08:15 -0400)]
Merge pull request dotnet/corefx#9773 from dotnet-bot/UpdateDependencies20160630071429

Updating CoreFx dependencies to beta-24230-02

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

8 years agoMerge pull request dotnet/corefx#9771 from ericstj/updateBT-530-02
Stephen Toub [Thu, 30 Jun 2016 12:12:53 +0000 (08:12 -0400)]
Merge pull request dotnet/corefx#9771 from ericstj/updateBT-530-02

Update BuildTools 1.0.26-prerelease-00530-02

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

8 years agoMerge pull request dotnet/corefx#9772 from dotnet-bot/UpdateDependencies20160630051955
Stephen Toub [Thu, 30 Jun 2016 12:12:33 +0000 (08:12 -0400)]
Merge pull request dotnet/corefx#9772 from dotnet-bot/UpdateDependencies20160630051955

Updating External dependencies to beta-24230-00

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

8 years agoFix Console.In.Peek and friends
Stephen Toub [Thu, 30 Jun 2016 12:11:38 +0000 (08:11 -0400)]
Fix Console.In.Peek and friends

The StdInStreamReader used on Unix as the TextReader used in Console.In derives from StreamReader and is passed the ConsoleStream for stdin.  This is both unnecessary and problematic.  It's unnecessary because all of the reading is done via special functions exposed from System.Native.so.  It's problematic because the base StreamReader does its own buffering based on the ConsoleStream and not all of the functions have been overridden by the StdInStreamReader.  As a result, for example, calling Read(char[], int, int) ends up bypassing previously cached data.

This commit does two main things:
- Renames StdInStreamReader to StdInReader and changes it from deriving from StreamReader to deriving from the base TextReader.  The only functions that must be overridden on TextReader to enable the behaviorally enable the rest are Read and Peek.
- Adds an override of Peek.  Read is already overridden.

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

8 years agoUpdating CoreFx dependencies to beta-24230-02
dotnet-bot [Thu, 30 Jun 2016 07:14:29 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24230-02

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

8 years agoUpdating External dependencies to beta-24230-00
dotnet-bot [Thu, 30 Jun 2016 05:19:55 +0000 (05:19 +0000)]
Updating External dependencies to beta-24230-00

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

8 years agoUpdate BuildTools 1.0.26-prerelease-00530-02
Eric St. John [Thu, 30 Jun 2016 04:32:01 +0000 (21:32 -0700)]
Update BuildTools 1.0.26-prerelease-00530-02

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

8 years agoMerge pull request dotnet/corefx#9770 from dotnet-bot/UpdateDependencies20160630011521
Stephen Toub [Thu, 30 Jun 2016 02:07:21 +0000 (22:07 -0400)]
Merge pull request dotnet/corefx#9770 from dotnet-bot/UpdateDependencies20160630011521

Updating CoreFx dependencies to beta-24230-01

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

8 years agoMerge pull request dotnet/corefx#9398 from shmao/i10
Shin Mao [Thu, 30 Jun 2016 01:28:00 +0000 (18:28 -0700)]
Merge pull request dotnet/corefx#9398 from shmao/i10

Fixed a Bug with Using PreserveObjectReferences with IsReference=true

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

8 years agoUpdating CoreFx dependencies to beta-24230-01
dotnet-bot [Thu, 30 Jun 2016 01:15:21 +0000 (01:15 +0000)]
Updating CoreFx dependencies to beta-24230-01

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

8 years agoMerge pull request dotnet/corefx#9755 from dotnet-bot/UpdateDependencies20160629041401
Stephen Toub [Wed, 29 Jun 2016 23:00:46 +0000 (19:00 -0400)]
Merge pull request dotnet/corefx#9755 from dotnet-bot/UpdateDependencies20160629041401

Updating CoreClr dependencies to beta-24229-03

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

8 years agoMerge pull request dotnet/corefx#9647 from karajas/updateCsProj
Karthik Rajasekaran [Wed, 29 Jun 2016 21:48:34 +0000 (14:48 -0700)]
Merge pull request dotnet/corefx#9647 from karajas/updateCsProj

Add NugetTargetMoniker to test projects and update remaining pkgproj references

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

8 years agoMake UWP Console Color operations not throw
Ian Hays [Wed, 29 Jun 2016 19:41:24 +0000 (12:41 -0700)]
Make UWP Console Color operations not throw

Removes the PlatformNotSupportedExceptions thrown in the Console Color operations and adds some very basic logic to allow roundtripping.

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

8 years agoAdd NugetTargetMoniker to test projects and update remaining project references to...
Karthik Rajasekaran [Thu, 23 Jun 2016 21:07:00 +0000 (14:07 -0700)]
Add NugetTargetMoniker to test projects and update remaining project references to pkgproj

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

8 years agoMerge pull request dotnet/corefx#9742 from weshaggard/FixSDStackTrace_SREDependency
Wes Haggard [Wed, 29 Jun 2016 17:50:40 +0000 (10:50 -0700)]
Merge pull request dotnet/corefx#9742 from weshaggard/FixSDStackTrace_SREDependency

Update S.D.StackTrace dependencies to use redist versions of dependencies

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

8 years agoUpdate S.D.StackTrace dependencies to use redist versions of dependencies
Wes Haggard [Wed, 29 Jun 2016 04:26:01 +0000 (21:26 -0700)]
Update S.D.StackTrace dependencies to use redist versions of dependencies

System.Diagnostics.StackTrace incorrectly started depending on the live
versions of things like System.Runtime.Extensions which breaks .NET Native
shared library. This change updates the project references for the facades
to be the redist'ed older versions so that the dependencies are correct.

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

8 years agoUpdating CoreClr dependencies to beta-24229-03
dotnet-bot [Wed, 29 Jun 2016 16:14:01 +0000 (16:14 +0000)]
Updating CoreClr dependencies to beta-24229-03

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

8 years agoExpand CanCreateSymlinks test
Ian Hays [Mon, 20 Jun 2016 15:50:58 +0000 (08:50 -0700)]
Expand CanCreateSymlinks test

Make it harder to pass the CanCreateSymbolicLinks check so that tests don't fail on some systems where a file symlink can be created but a directory symlink can't be.

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

8 years agoMerge pull request dotnet/corefx#9218 from stephentoub/allow_ipaddresses
Stephen Toub [Wed, 29 Jun 2016 13:16:49 +0000 (09:16 -0400)]
Merge pull request dotnet/corefx#9218 from stephentoub/allow_ipaddresses

Allow Socket.Connect{Async} to be used with a string-based IP addresses

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

8 years agoMerge pull request dotnet/corefx#9746 from dotnet-bot/UpdateDependencies20160629071428
Stephen Toub [Wed, 29 Jun 2016 13:03:10 +0000 (09:03 -0400)]
Merge pull request dotnet/corefx#9746 from dotnet-bot/UpdateDependencies20160629071428

Updating CoreFx dependencies to beta-24229-02

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

8 years agoMerge pull request dotnet/corefx#9744 from dotnet-bot/UpdateDependencies20160629051752
Stephen Toub [Wed, 29 Jun 2016 12:53:42 +0000 (08:53 -0400)]
Merge pull request dotnet/corefx#9744 from dotnet-bot/UpdateDependencies20160629051752

Updating External dependencies to beta-24229-00

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

8 years agoUpdating CoreFx dependencies to beta-24229-02
dotnet-bot [Wed, 29 Jun 2016 07:14:28 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24229-02

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

8 years agoUpdating External dependencies to beta-24229-00
dotnet-bot [Wed, 29 Jun 2016 05:17:52 +0000 (05:17 +0000)]
Updating External dependencies to beta-24229-00

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

8 years agoAllow Socket.Connect{Async} to be used with a string-based IPAddress
Stephen Toub [Thu, 9 Jun 2016 18:47:25 +0000 (14:47 -0400)]
Allow Socket.Connect{Async} to be used with a string-based IPAddress

As outlined in https://github.com/dotnet/corefx/issues/8768, on Unix we don't currently support using the instance Connect/ConnectAsync methods that take a string host or a DnsEndPoint, because they could map to multiple addresses, which means we might need to try reconnecting on the same socket after a failed attempt, and that's not supported with BSD sockets.  They are potential workarounds we can explore as outlined in that issue, but they're non-trivial and/or have undesirable ramifications.

However, one simple thing we can do is allow a string/DnsEndPoint version of an IPAddress, e.g. just as someone can provide an IPAddress, they can provide a string version of that IPAddress, such as "127.0.0.1".  This is a common thing to do, and we can make it work just by attempting to parse the address.

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

8 years agoMerge pull request dotnet/corefx#9734 from CIPop/udp
Stephen Toub [Wed, 29 Jun 2016 02:33:17 +0000 (22:33 -0400)]
Merge pull request dotnet/corefx#9734 from CIPop/udp

Routing all BeginConnect calls through UnsafeBeginConnect

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

8 years agoMerge pull request dotnet/corefx#9739 from dotnet-bot/UpdateDependencies20160629011547
Stephen Toub [Wed, 29 Jun 2016 02:28:32 +0000 (22:28 -0400)]
Merge pull request dotnet/corefx#9739 from dotnet-bot/UpdateDependencies20160629011547

Updating CoreFx dependencies to beta-24229-01

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

8 years agoUpdating CoreFx dependencies to beta-24229-01
dotnet-bot [Wed, 29 Jun 2016 01:15:47 +0000 (01:15 +0000)]
Updating CoreFx dependencies to beta-24229-01

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

8 years agoMerge pull request dotnet/corefx#9731 from ericstj/uri.redist.netcore50
Eric StJohn [Wed, 29 Jun 2016 00:11:14 +0000 (17:11 -0700)]
Merge pull request dotnet/corefx#9731 from ericstj/uri.redist.netcore50

Redist old build of System.Private.Uri

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

8 years agoMerge pull request dotnet/corefx#9715 from CIPop/test
Cristian Pop [Tue, 28 Jun 2016 21:08:34 +0000 (14:08 -0700)]
Merge pull request dotnet/corefx#9715 from CIPop/test

Adding multi-machine installation scripts and unifying test configuration.

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

8 years agoRouting all BeginConnect calls through UnsafeBeginConnect to allow connectionless...
Cristian Pop [Tue, 28 Jun 2016 21:07:54 +0000 (14:07 -0700)]
Routing all BeginConnect calls through UnsafeBeginConnect to allow connectionless protocols to bind to the remote endpoint.

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

8 years agoMerge pull request dotnet/corefx#9726 from hughbe/throws-any-collections
Stephen Toub [Tue, 28 Jun 2016 20:49:05 +0000 (16:49 -0400)]
Merge pull request dotnet/corefx#9726 from hughbe/throws-any-collections

Remove uses of ThrowsAny in System.Collections test helpers

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

8 years agoMerge pull request dotnet/corefx#9727 from dotnet-bot/UpdateDependencies20160628071739
Stephen Toub [Tue, 28 Jun 2016 20:43:33 +0000 (16:43 -0400)]
Merge pull request dotnet/corefx#9727 from dotnet-bot/UpdateDependencies20160628071739

Updating CoreFx dependencies to beta-24228-04

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

8 years agoRedist old build of System.Private.Uri
Eric St. John [Tue, 28 Jun 2016 20:22:34 +0000 (13:22 -0700)]
Redist old build of System.Private.Uri

System.Private.Uri is part of the shared library and cannot be updated.

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

8 years agoImplements MetadataBuilder.GetOrAddDocumentName (dotnet/corefx#9716)
Tomáš Matoušek [Tue, 28 Jun 2016 19:46:09 +0000 (12:46 -0700)]
Implements MetadataBuilder.GetOrAddDocumentName (dotnet/corefx#9716)

* Implements MetadataBuilder.GetOrAddDocumentName

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

8 years agoAdding multi-machine scripts and unifying configuration.
Cristian Pop [Thu, 9 Jun 2016 00:32:30 +0000 (17:32 -0700)]
Adding multi-machine scripts and unifying configuration.

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

8 years agoUpdating CoreFx dependencies to beta-24228-04
dotnet-bot [Tue, 28 Jun 2016 19:17:39 +0000 (19:17 +0000)]
Updating CoreFx dependencies to beta-24228-04

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