platform/upstream/dotnet/runtime.git
8 years agoMerge pull request dotnet/corefx#9676 from dotnet-bot/UpdateDependencies20160625071331
Stephen Toub [Sat, 25 Jun 2016 12:54:14 +0000 (08:54 -0400)]
Merge pull request dotnet/corefx#9676 from dotnet-bot/UpdateDependencies20160625071331

Updating CoreFx dependencies to beta-24225-02

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

8 years agoUpdating CoreFx dependencies to beta-24225-02
dotnet-bot [Sat, 25 Jun 2016 07:13:31 +0000 (07:13 +0000)]
Updating CoreFx dependencies to beta-24225-02

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

8 years agoRefactor metadata serializers (dotnet/corefx#9588)
Tomáš Matoušek [Fri, 24 Jun 2016 22:50:58 +0000 (15:50 -0700)]
Refactor metadata serializers (dotnet/corefx#9588)

* Refactor metadata serializers

* Split file

* Renames

* More API testing and polish

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

8 years agoMerge pull request dotnet/corefx#9665 from stephentoub/fix_contentlength
Stephen Toub [Fri, 24 Jun 2016 21:41:22 +0000 (17:41 -0400)]
Merge pull request dotnet/corefx#9665 from stephentoub/fix_contentlength

Fix HttpRequestMessage reuse handling in HttpClientHandler on Unix

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

8 years agoMerge pull request dotnet/corefx#9668 from dotnet-bot/UpdateDependencies20160624041118
Stephen Toub [Fri, 24 Jun 2016 19:16:38 +0000 (15:16 -0400)]
Merge pull request dotnet/corefx#9668 from dotnet-bot/UpdateDependencies20160624041118

Updating CoreClr dependencies to beta-24224-03

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

8 years agoMerge pull request dotnet/corefx#9456 from stephentoub/registry_pal
Stephen Toub [Fri, 24 Jun 2016 18:09:12 +0000 (14:09 -0400)]
Merge pull request dotnet/corefx#9456 from stephentoub/registry_pal

Introduce a mini-PAL into Microsoft.Win32.Registry

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

8 years agoMerge pull request dotnet/corefx#9661 from gkhanna79/Fix5837FX
Gaurav Khanna [Fri, 24 Jun 2016 16:50:19 +0000 (09:50 -0700)]
Merge pull request dotnet/corefx#9661 from gkhanna79/Fix5837FX

Add DefaultContext fallback validation tests

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

8 years agoMerge pull request dotnet/corefx#9667 from stephentoub/update_buildtools
Stephen Toub [Fri, 24 Jun 2016 16:11:58 +0000 (12:11 -0400)]
Merge pull request dotnet/corefx#9667 from stephentoub/update_buildtools

Update buildtools to 524-01

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

8 years agoUpdating CoreClr dependencies to beta-24224-03
dotnet-bot [Fri, 24 Jun 2016 16:11:18 +0000 (16:11 +0000)]
Updating CoreClr dependencies to beta-24224-03

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

8 years agoMerge pull request dotnet/corefx#9663 from dotnet-bot/UpdateDependencies20160624083853
Stephen Toub [Fri, 24 Jun 2016 16:07:45 +0000 (12:07 -0400)]
Merge pull request dotnet/corefx#9663 from dotnet-bot/UpdateDependencies20160624083853

Updating CoreClr dependencies to beta-24224-02

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

8 years agoMerge pull request dotnet/corefx#9666 from stephentoub/fix_typos
Stephen Toub [Fri, 24 Jun 2016 16:07:23 +0000 (12:07 -0400)]
Merge pull request dotnet/corefx#9666 from stephentoub/fix_typos

Fix typos in NormalizeString P/Invoke signature

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

8 years agoMerge pull request dotnet/corefx#9633 from vancem/DiagnosticSourceAddKeywords
Vance Morrison [Fri, 24 Jun 2016 15:29:32 +0000 (08:29 -0700)]
Merge pull request dotnet/corefx#9633 from vancem/DiagnosticSourceAddKeywords

Add keywords for two common event specifications: ASP.NET and SQL

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

8 years agoAdd tests for DefaultContext fallback resolution
Gaurav Khanna [Fri, 24 Jun 2016 04:42:13 +0000 (21:42 -0700)]
Add tests for DefaultContext fallback resolution

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

8 years agoFix merge conflicts
Stephen Toub [Fri, 24 Jun 2016 13:56:12 +0000 (09:56 -0400)]
Fix merge conflicts

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

8 years agoUpdating CoreClr dependencies to beta-24224-02
dotnet-bot [Fri, 24 Jun 2016 08:38:53 +0000 (08:38 +0000)]
Updating CoreClr dependencies to beta-24224-02

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

8 years agoUpdate buildtools to 524-01
Stephen Toub [Fri, 24 Jun 2016 13:38:24 +0000 (09:38 -0400)]
Update buildtools to 524-01

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

8 years agoFix typos in NormalizeString P/Invoke signature
Stephen Toub [Fri, 24 Jun 2016 13:29:41 +0000 (09:29 -0400)]
Fix typos in NormalizeString P/Invoke signature

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

8 years agoFix HttpRequestMessage reuse handling in HttpClientHandler on Unix
Stephen Toub [Fri, 24 Jun 2016 13:23:57 +0000 (09:23 -0400)]
Fix HttpRequestMessage reuse handling in HttpClientHandler on Unix

HttpRequestMessages are meant to be used for a single request.  However, that checking is done by HttpClient rather than by HttpClientHandler.  As a result, if code bypasses HttpClient, e.g. by using HttpMessageInvoker or by using a custom HttpMessageHandler sitting between the HttpClient and the HttpClientHandler, the same HttpRequestMessage can be used multiple times without an exception being thrown warning of the invalid usage.  And on Windows, things happen to work, but with our Unix implementation was never expecting this scenario and doesn't work well with it:
- The handler is explicitly disposing of the request content stream rather than leaving that up to the request content's disposal to handle.
- The handler is removing the Content-Length header from the request message content, as a simple way to avoid overriding the Content-Length header that libcurl itself may send based on previous configuration.
- The handler is using ReadAsStreamAsync to get the request stream to send, but ReadAsStreamAsync caches the returned stream, so if the same request message is reused with the same Content, the stream will have already advanced to the end of the stream, and when the message gets reused, we won't have content to send.

This commit fixes that:
- We now don't dispose the request content stream.  That'll be left up to the request content's disposal.
- We now don't remove the ContentLength header from the request message.  We instead just check as we're writing out the headers whether the header is Content-Length, skipping it if it is.
- We now store the original position of a seekable stream that's provided to us, and at the end of the request, rather than disposing of the stream, we rewind to the original position if it exists.  (If the stream isn't seekable, reusing the request message wouldn't be possible anyway.)

This last point also fixes another theoretical issue.  When libcurl wants to go back to the beginning of the stream (e.g. in a redirect scenario where it needs to rewind), it asks us to seek back to the beginning.  We're currently seeking back to the exact position asked for.  But the stream may have come in to us already advanced beyond 0, in which case we need to seek back to the requested offset plus that original position rather than just the requested offset.

And in doing this, I noticed that we were inadvertently allowing a set of closure/delegate allocations due to inadvertently using some captured state in a place where we were trying to avoid that.  I fixed that as well.

We were also marking everything complete before we'd cleaned up all resources, which meant that any failures from such cleanup would go unnoticed.  I've fixed that to ensure we clean up all state before we officially declare the async operation done.

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

8 years agoMerge pull request dotnet/corefx#9660 from dotnet-bot/UpdateDependencies20160624051755
Stephen Toub [Fri, 24 Jun 2016 10:56:16 +0000 (06:56 -0400)]
Merge pull request dotnet/corefx#9660 from dotnet-bot/UpdateDependencies20160624051755

Updating External dependencies to beta-24224-00

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

8 years agoMerge pull request dotnet/corefx#9662 from dotnet-bot/UpdateDependencies20160624071442
Stephen Toub [Fri, 24 Jun 2016 10:55:51 +0000 (06:55 -0400)]
Merge pull request dotnet/corefx#9662 from dotnet-bot/UpdateDependencies20160624071442

Updating CoreFx dependencies to beta-24224-02

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

8 years agoUpdating CoreFx dependencies to beta-24224-02
dotnet-bot [Fri, 24 Jun 2016 07:14:41 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24224-02

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

8 years agoMerge pull request dotnet/corefx#9646 from mellinoe/override-init-tools-rid
Eric Mellino [Fri, 24 Jun 2016 05:35:58 +0000 (22:35 -0700)]
Merge pull request dotnet/corefx#9646 from mellinoe/override-init-tools-rid

Allow override of __DOTNET_PKG used for Tools init

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

8 years agoUpdating External dependencies to beta-24224-00
dotnet-bot [Fri, 24 Jun 2016 05:17:55 +0000 (05:17 +0000)]
Updating External dependencies to beta-24224-00

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

8 years agoMerge pull request dotnet/corefx#9648 from dotnet-bot/UpdateDependencies20160623100656
Stephen Toub [Fri, 24 Jun 2016 01:17:29 +0000 (21:17 -0400)]
Merge pull request dotnet/corefx#9648 from dotnet-bot/UpdateDependencies20160623100656

Updating CoreFx dependencies to beta-24223-09

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

8 years agoUpdating CoreFx dependencies to beta-24223-09
dotnet-bot [Thu, 23 Jun 2016 22:06:56 +0000 (22:06 +0000)]
Updating CoreFx dependencies to beta-24223-09

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

8 years agoSetting xunit package version from CoreFX (dotnet/corefx#9642)
Deepak Shankargouda [Thu, 23 Jun 2016 21:40:35 +0000 (14:40 -0700)]
Setting xunit package version from CoreFX (dotnet/corefx#9642)

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

8 years agoMerge pull request dotnet/corefx#9522 from mconnew/JsonSerializerDateTimePerfFix
Matt Connew [Thu, 23 Jun 2016 20:42:51 +0000 (13:42 -0700)]
Merge pull request dotnet/corefx#9522 from mconnew/JsonSerializerDateTimePerfFix

Improve performance of DCJS serializing DateTime objects
Fixes dotnet/corefx#9342

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

8 years agoAllow override of __DOTNET_PKG used for Tools init
Eric Mellino [Thu, 23 Jun 2016 19:00:57 +0000 (12:00 -0700)]
Allow override of __DOTNET_PKG used for Tools init

* Also, fall back to Ubuntu 14.04 if using an unsupported version.

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

8 years agoMerge pull request dotnet/corefx#9639 from gkhanna79/Fix5837FX
Gaurav Khanna [Thu, 23 Jun 2016 19:53:08 +0000 (12:53 -0700)]
Merge pull request dotnet/corefx#9639 from gkhanna79/Fix5837FX

Add test to validate binding using Resolving event using static binding

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

8 years agoMerge pull request dotnet/corefx#9638 from ericstj/updateBaselinePackageVersion
Eric StJohn [Thu, 23 Jun 2016 19:09:30 +0000 (12:09 -0700)]
Merge pull request dotnet/corefx#9638 from ericstj/updateBaselinePackageVersion

Update Microsoft.Private.PackageBaseline to 1.0.1

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

8 years agoMinor fixes (removed needless \r, added assert, comments)
Vance Morrison [Thu, 23 Jun 2016 18:43:29 +0000 (11:43 -0700)]
Minor fixes (removed needless \r, added assert, comments)

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

8 years agoMerge pull request dotnet/corefx#9624 from davidsh/null_safehandle
David Shulman [Thu, 23 Jun 2016 18:33:50 +0000 (11:33 -0700)]
Merge pull request dotnet/corefx#9624 from davidsh/null_safehandle

Fix logic with setting response body receive timeout

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

8 years agoAddress PR feedback
Stephen Toub [Thu, 23 Jun 2016 17:58:03 +0000 (13:58 -0400)]
Address PR feedback

And additional minor cleanup.

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

8 years agoIntroduct a mini-PAL into Microsoft.Win32.Registry
Stephen Toub [Thu, 16 Jun 2016 02:25:25 +0000 (22:25 -0400)]
Introduct a mini-PAL into Microsoft.Win32.Registry

With the expectation that we'll at some point want to make Microsoft.Win32.Registry work on other systems, with a file-system-based simulation of the registry, this commit separates out the shared functionality from the platform-specific functionality, providing placeholders where a file-system-based implementation could be plugged in.

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

8 years agoMerge pull request dotnet/corefx#9614 from ellismg/add-build-id-linker-flag
Matt Ellis [Thu, 23 Jun 2016 17:47:15 +0000 (10:47 -0700)]
Merge pull request dotnet/corefx#9614 from ellismg/add-build-id-linker-flag

Pass --build-id=sha1 to linker explicitly

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

8 years agoMerge pull request dotnet/corefx#9625 from dotnet-bot/UpdateDependencies20160623042734
Stephen Toub [Thu, 23 Jun 2016 17:46:10 +0000 (13:46 -0400)]
Merge pull request dotnet/corefx#9625 from dotnet-bot/UpdateDependencies20160623042734

Updating CoreClr dependencies to beta-24223-03

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

8 years agoAdd test to validate binding using Resolving event using static binding
Gaurav Khanna [Fri, 17 Jun 2016 13:30:31 +0000 (06:30 -0700)]
Add test to validate binding using Resolving event using static binding

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

8 years agoUpdate Microsoft.Private.PackageBaseline to 1.0.1
Eric St. John [Thu, 23 Jun 2016 17:42:40 +0000 (10:42 -0700)]
Update Microsoft.Private.PackageBaseline to 1.0.1

We stopped publishing this because we didn't increment the version.

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

8 years agoAdd keywords for two common event specficiations (asp.NET and SQL command).
Vance Morrison [Thu, 23 Jun 2016 17:08:08 +0000 (10:08 -0700)]
Add keywords for two common event specficiations (asp.NET and SQL command).

While this is a nice shortcut, it also have the more importnat effect of allowig older ETW controllers that don't
have support for passing arguments to providers to particpate in the most important events.

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

8 years agoFix logic with setting response body receive timeout
David Shulman [Thu, 23 Jun 2016 16:11:22 +0000 (09:11 -0700)]
Fix logic with setting response body receive timeout

Due to code moving around with PR dotnet/corefx#8996, the `state.RequestHandle` was
already null when trying to set the receive timeout for the response
body. This generated an exception which was caught internally.

This fix moves the setting of the receive timeout so that it has a valid
`state.RequestHandle` to use.

Fixes dotnet/corefx#9578

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

8 years agoUpdating CoreClr dependencies to beta-24223-03
dotnet-bot [Thu, 23 Jun 2016 16:27:34 +0000 (16:27 +0000)]
Updating CoreClr dependencies to beta-24223-03

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

8 years agoMerge pull request dotnet/corefx#9616 from dotnet-bot/UpdateDependencies20160623051816
Stephen Toub [Thu, 23 Jun 2016 16:19:18 +0000 (12:19 -0400)]
Merge pull request dotnet/corefx#9616 from dotnet-bot/UpdateDependencies20160623051816

Updating External dependencies to beta-24223-00

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

8 years agoMerge pull request dotnet/corefx#9617 from dotnet-bot/from-tfs
Stephen Toub [Thu, 23 Jun 2016 16:19:07 +0000 (12:19 -0400)]
Merge pull request dotnet/corefx#9617 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoMerge pull request dotnet/corefx#9546 from yfakariya/dispatchproxy-emit-properties...
Atsushi Kanamori [Thu, 23 Jun 2016 15:13:03 +0000 (08:13 -0700)]
Merge pull request dotnet/corefx#9546 from yfakariya/dispatchproxy-emit-properties-and-events

Make DispatchProxy declares Property and EventInfos of the interface

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

8 years agoMake DispatchProxy declares Property/EventInfos of the interface.
yfakariya [Sat, 18 Jun 2016 09:19:38 +0000 (18:19 +0900)]
Make DispatchProxy declares Property/EventInfos of the interface.

This commit adds code to declare properties and events
to generating proxy type as well.

Note
* Because declaring properties and events requires accessor methods,
  this commit changes AddMethodImpl to return created MethodBuilder.
* This declares EqualityComparer for MethodInfo to avoid reference based
  comparison.
* The test case now uses System.Reflection.Emit to generate the event
  with raise_ method which is not supported in C#.

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

8 years agoUpdating External dependencies to beta-24223-00
dotnet-bot [Thu, 23 Jun 2016 05:18:16 +0000 (05:18 +0000)]
Updating External dependencies to beta-24223-00

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

8 years agoReplace source projects with depprojs
Eric St. John [Thu, 23 Jun 2016 06:54:36 +0000 (23:54 -0700)]
Replace source projects with depprojs

Now that we have stable packages we can redistribute the previously
built binaries rather than rebuilding them.

Also cleaning up some unused projects.

[tfs-changeset: 1614403]

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

8 years agoMerge pull request dotnet/corefx#9622 from dotnet-bot/UpdateDependencies20160623011710
Eric StJohn [Thu, 23 Jun 2016 14:44:44 +0000 (07:44 -0700)]
Merge pull request dotnet/corefx#9622 from dotnet-bot/UpdateDependencies20160623011710

Updating CoreFx dependencies to beta-24223-03

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

8 years agoUpdate dependenices in InteropServices to 4.2.0
Eric St. John [Thu, 23 Jun 2016 13:47:24 +0000 (06:47 -0700)]
Update dependenices in InteropServices to 4.2.0

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

8 years agoUpdate FxCop and Framework Design Guidelines links
Stephen Toub [Thu, 23 Jun 2016 13:18:44 +0000 (09:18 -0400)]
Update FxCop and Framework Design Guidelines links

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

8 years agoUpdating CoreFx dependencies to beta-24223-03
dotnet-bot [Thu, 23 Jun 2016 13:17:10 +0000 (13:17 +0000)]
Updating CoreFx dependencies to beta-24223-03

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

8 years agoMerge pull request dotnet/corefx#9619 from dotnet-bot/UpdateDependencies20160623082700
Stephen Toub [Thu, 23 Jun 2016 12:17:54 +0000 (08:17 -0400)]
Merge pull request dotnet/corefx#9619 from dotnet-bot/UpdateDependencies20160623082700

Updating CoreClr dependencies to beta-24223-02

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

8 years agoUpdating CoreClr dependencies to beta-24223-02
dotnet-bot [Thu, 23 Jun 2016 08:27:00 +0000 (08:27 +0000)]
Updating CoreClr dependencies to beta-24223-02

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

8 years agoMerge pull request dotnet/corefx#9595 from dotnet-bot/UpdateDependencies20160622081834
Eric StJohn [Thu, 23 Jun 2016 06:57:18 +0000 (23:57 -0700)]
Merge pull request dotnet/corefx#9595 from dotnet-bot/UpdateDependencies20160622081834

Updating CoreClr dependencies to beta-24222-02

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

8 years agoFix reference to CoreCLR packages
Eric St. John [Wed, 22 Jun 2016 15:15:52 +0000 (08:15 -0700)]
Fix reference to CoreCLR packages

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

8 years agoUpdating CoreClr dependencies to beta-24222-02
dotnet-bot [Wed, 22 Jun 2016 08:18:34 +0000 (08:18 +0000)]
Updating CoreClr dependencies to beta-24222-02

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

8 years agoMerge pull request dotnet/corefx#9592 from lemmaa/add-makeargs-to-build.sh
Stephen Toub [Thu, 23 Jun 2016 02:33:48 +0000 (22:33 -0400)]
Merge pull request dotnet/corefx#9592 from lemmaa/add-makeargs-to-build.sh

Add `makeargs <args>` option to passing extra options to `make`

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

8 years agoMerge pull request dotnet/corefx#9610 from stephentoub/safebiohandle_lifetime
Stephen Toub [Thu, 23 Jun 2016 02:33:23 +0000 (22:33 -0400)]
Merge pull request dotnet/corefx#9610 from stephentoub/safebiohandle_lifetime

Fix SafeSslHandle<->SafeBioHandle lifetime management

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

8 years agoMerge pull request dotnet/corefx#9612 from stephentoub/move_etw_test
Stephen Toub [Thu, 23 Jun 2016 02:31:43 +0000 (22:31 -0400)]
Merge pull request dotnet/corefx#9612 from stephentoub/move_etw_test

Move Dataflow ETW test into its own process

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

8 years agoMerge pull request dotnet/corefx#9602 from gkhanna79/Fix6889
Gaurav Khanna [Thu, 23 Jun 2016 01:17:35 +0000 (18:17 -0700)]
Merge pull request dotnet/corefx#9602 from gkhanna79/Fix6889

Add RID for Windows Arm64

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

8 years agoMove Dataflow ETW test into its own process
Stephen Toub [Wed, 22 Jun 2016 23:32:44 +0000 (19:32 -0400)]
Move Dataflow ETW test into its own process

Fixes an issue where if another test accidentally overlaps (e.g. if the test doesn't ensure all queued async operations have completed), ETW events may fire in a way not expected by the tests.

This also eliminates the reason we had disabled parallelism for the suite, so I re-enabled it, which also results in the tests running several seconds faster.

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

8 years agoPass --build-id=sha1 to linker explicitly
Matt Ellis [Thu, 23 Jun 2016 00:40:56 +0000 (17:40 -0700)]
Pass --build-id=sha1 to linker explicitly

On some platforms, a build-id was not being added to native artifacts
and we would like it to be present. Explicitly pass --build-id=sha1 to
the linker.

Related: dotnet/coreclrdotnet/corefx#5796

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

8 years agoMerge pull request dotnet/corefx#9609 from dotnet-bot/UpdateDependencies20160622071151
Stephen Toub [Wed, 22 Jun 2016 23:35:39 +0000 (19:35 -0400)]
Merge pull request dotnet/corefx#9609 from dotnet-bot/UpdateDependencies20160622071151

Updating CoreFx dependencies to beta-24222-04

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

8 years agoAddress PR feedback, and additional cleanup
Stephen Toub [Wed, 22 Jun 2016 21:05:28 +0000 (17:05 -0400)]
Address PR feedback, and additional cleanup

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

8 years agoFix SafeSslHandle<->SafeBioHandle lifetime management
Stephen Toub [Wed, 22 Jun 2016 19:57:11 +0000 (15:57 -0400)]
Fix SafeSslHandle<->SafeBioHandle lifetime management

SafeSslHandles reference two SafeBioHandles, one for reading and one for writing.  The SafeSslHandle represents an underlying SSL structure which via SSL_set_bio has the two BIO pointers represented by those SafeBioHandles stored into it.  Once that happens, the SafeBioHandles no longer "own" the underlying pointers, as instead calling SSL_destroy on the SSL structure will also clean up those BIO handles.  But the lifetime of these handles is not being managed correctly.  The SafeSslHandle is add-ref'ing each of the SafeBioHandles when they're transferred into it; that prevents the SafeBioHandle from closing the underlying handle until the SafeSslHandle is closed, but this is backwards.  We need the SafeBioHandles to keep the SafeSslHandle from being destroyed until the SafeBioHandles are no longer being used.  Otherwise, we can end up in a situation where the SafeBioHandles are passed to some P/Invoke, and while they're being used, the SafeSslHandle is disposed/finalized, destroying the state that the P/Invoke is actively using.

This commit inverts the relationship.  When the SafeBioHandle ownership is transferred to the SafeSslHandle, the SafeBioHandle will no longer attempt to close the underlying handle.  It also add-refs the parent SafeSslHandle, rather than the other way around, so that the SafeSslHandle can't destroy the underlying SSL structure while the SafeBioHandles are being used.

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

8 years agoUpdating CoreFx dependencies to beta-24222-04
dotnet-bot [Wed, 22 Jun 2016 19:11:51 +0000 (19:11 +0000)]
Updating CoreFx dependencies to beta-24222-04

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

8 years agoMerge pull request dotnet/corefx#9591 from davmason/master
David Mason [Wed, 22 Jun 2016 19:03:30 +0000 (12:03 -0700)]
Merge pull request dotnet/corefx#9591 from davmason/master

Update EventSource tests to dispose EventListeners

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

8 years agoImprove performance of DateTime serialization
Matt Connew [Wed, 15 Jun 2016 22:04:02 +0000 (15:04 -0700)]
Improve performance of DateTime serialization

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

8 years agoAdd DateTime performance test
Matt Connew [Wed, 15 Jun 2016 22:03:40 +0000 (15:03 -0700)]
Add DateTime performance test

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

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

Updating contracts for new UTF8 string marshalling APIs

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

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

Updating CoreFx dependencies to beta-24222-03

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

8 years agoupdate EventSource tests to dispose EventListeners
David Mason [Wed, 22 Jun 2016 03:53:05 +0000 (20:53 -0700)]
update EventSource tests to dispose EventListeners

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

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

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

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

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

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

8 years agoAdd RID for Windows Arm64
Gaurav Khanna [Wed, 22 Jun 2016 15:33:07 +0000 (08:33 -0700)]
Add RID for Windows Arm64

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

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

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

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

Updating External dependencies to beta-24222-00

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

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

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

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

Add NERR_UserNotFound code to check on netuserdel.

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

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

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

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

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

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

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

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

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

Updating CoreFx dependencies to beta-24221-04

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

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

Updating External dependencies to beta-24221-00

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

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

Several more WebSocket tweaks

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

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

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

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

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

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

Updating CoreFx dependencies to beta-24221-03

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

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

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

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

Updating CoreFx dependencies to beta-24221-02

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

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

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

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

Update BuildTools to version 1.0.26-prerelease-00521-01

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

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

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

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

Update BuildTools.TestSuite and Xunit.Console.NetCore runner

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

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

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

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

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

Merge changes from TFS

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

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

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

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

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

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

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

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

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

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