Karthik Rajasekaran [Fri, 15 Jul 2016 00:55:31 +0000 (17:55 -0700)]
Merge pull request dotnet/corefx#10077 from karajas/updateBT
Update Buildtools to version 615-01
Commit migrated from https://github.com/dotnet/corefx/commit/
be38b7504db48a13bbbdae71e24869daced2ed30
Stephen Toub [Fri, 15 Jul 2016 00:31:35 +0000 (20:31 -0400)]
Merge pull request dotnet/corefx#10070 from dotnet-bot/UpdateDependencies20160714100131
Updating CoreFx dependencies to beta-24314-05
Commit migrated from https://github.com/dotnet/corefx/commit/
383e9fc920afd80f373d8ba2bddf9fe0fae66a81
Karthik Rajasekaran [Thu, 14 Jul 2016 23:53:15 +0000 (16:53 -0700)]
Update Buildtools to version 615-01
Commit migrated from https://github.com/dotnet/corefx/commit/
16374227eba8aed2ba939e0cba85bb1f9ca9651e
dotnet-bot [Thu, 14 Jul 2016 22:01:31 +0000 (22:01 +0000)]
Updating CoreFx dependencies to beta-24314-05
Commit migrated from https://github.com/dotnet/corefx/commit/
dbc207eb595a3367088245419dbfd2a1035d2c12
Chickenzilla [Thu, 14 Jul 2016 21:12:28 +0000 (17:12 -0400)]
Remove automatic curl Expect header if the request was explicitly set to not have one (dotnet/corefx#10052)
Commit migrated from https://github.com/dotnet/corefx/commit/
b0045645433b457df9ce2503fdfeb19066d84dfd
Karthik Rajasekaran [Thu, 14 Jul 2016 19:31:59 +0000 (12:31 -0700)]
Merge pull request dotnet/corefx#10064 from karajas/updateUWPDesktop
Update Builtools to 614-01 and include UWP runner in test-runtime
Commit migrated from https://github.com/dotnet/corefx/commit/
4438faa5dbd7a2a2918d0051eee81c26d3ccdabe
Karthik Rajasekaran [Thu, 14 Jul 2016 18:40:08 +0000 (11:40 -0700)]
Update Builtools to 614-01
Include uwp runner in test-runtime and add validation pattern for it's version number
Commit migrated from https://github.com/dotnet/corefx/commit/
0dc395f31ccc237aeeba50c42e311d8438f037f6
Cristian Pop [Thu, 14 Jul 2016 17:54:37 +0000 (10:54 -0700)]
Merge pull request dotnet/corefx#10045 from CIPop/test
Adding server code. Fixing IIS application deployment.
Commit migrated from https://github.com/dotnet/corefx/commit/
dca1b0fcc8ec1d1dbe42d56222b18fcc5307d32b
Ian Hays [Thu, 14 Jul 2016 17:18:14 +0000 (10:18 -0700)]
Merge pull request dotnet/corefx#9847 from ctyar/issue-5055
Clean up and Format System.Collections
Commit migrated from https://github.com/dotnet/corefx/commit/
0c5bf853e680ef401703c179ad3b065c49077929
Stephen Toub [Thu, 14 Jul 2016 16:59:33 +0000 (12:59 -0400)]
Merge pull request dotnet/corefx#10060 from vitek-karas/OptionalAndObjectArrayInvokeTests
Add delegate and MethodInfo invoke special case tests
Commit migrated from https://github.com/dotnet/corefx/commit/
e212a47fdfb9fa044f020e99fa8cbfb31eec6d71
James Ko [Thu, 14 Jul 2016 16:57:44 +0000 (12:57 -0400)]
Add more rigorous testing for Stream.CopyTo (dotnet/corefx#9929)
Commit migrated from https://github.com/dotnet/corefx/commit/
eccbe59d961d2b42b7eb5a012e9247af70d54424
Stephen Toub [Thu, 14 Jul 2016 16:54:37 +0000 (12:54 -0400)]
Merge pull request dotnet/corefx#10059 from dotnet-bot/UpdateDependencies20160714011600
Updating CoreFx dependencies to beta-24314-03
Commit migrated from https://github.com/dotnet/corefx/commit/
d2339ee81796cc993682cca0a3155269a1e9d607
huanwu [Thu, 14 Jul 2016 16:38:04 +0000 (09:38 -0700)]
Merge pull request dotnet/corefx#9732 from huanwu/xml2darraytests
Xml Type with 2D Array property tests
Commit migrated from https://github.com/dotnet/corefx/commit/
7d21e0b90094ee07321398ea12d6be6b8326a08d
vitek-karas [Thu, 14 Jul 2016 15:31:50 +0000 (08:31 -0700)]
Add delegate and MethodInfo invoke special case tests for optional parameters and args handling.
Adds the same set of tests for both MethodInfo.Invoke and
Delegate.DynamicInvoke.
- Tests around optional parameters and the behavior when passing Missing
as a value for it.
- Tests around handling of the arguments to the invoke method, it should
be able to consume arrays convertible to object[].
Commit migrated from https://github.com/dotnet/corefx/commit/
6681e3cf43437a90d5fad72db11daf536675bc6d
dotnet-bot [Thu, 14 Jul 2016 13:16:00 +0000 (13:16 +0000)]
Updating CoreFx dependencies to beta-24314-03
Commit migrated from https://github.com/dotnet/corefx/commit/
d03c57ae02c5ec124542c857e6a58c1436e0543d
Stephen Toub [Thu, 14 Jul 2016 11:57:13 +0000 (07:57 -0400)]
Merge pull request dotnet/corefx#10055 from dotnet-bot/UpdateDependencies20160714052043
Updating External dependencies to beta-24314-00
Commit migrated from https://github.com/dotnet/corefx/commit/
4a53fd2dcc8ede8e1677deb92090a38fcde186e0
Vitek Karas [Thu, 14 Jul 2016 11:34:55 +0000 (04:34 -0700)]
Merge pull request dotnet/corefx#10034 from vitek-karas/DelegateDefaultParamTests
Add tests for Delegate.DynamicInvoke with default parameters
Commit migrated from https://github.com/dotnet/corefx/commit/
40ff74b0f536b9ea46b2eb22ab5da5e681368faa
Stephen Toub [Thu, 14 Jul 2016 11:05:19 +0000 (07:05 -0400)]
Merge pull request dotnet/corefx#10044 from ericeil/HttpTestStarvation
Avoid wrapping async I/O in synchronous methods in the HTTP tests
Commit migrated from https://github.com/dotnet/corefx/commit/
d43ced9376baa305f6369f21796f2692069aa263
Stephen Toub [Thu, 14 Jul 2016 11:01:49 +0000 (07:01 -0400)]
Fix serialization primitives version number in project.jsons
Commit migrated from https://github.com/dotnet/corefx/commit/
9853da4088f0ed82a6508021ff90279ddc4d9cc9
Stephen Toub [Thu, 14 Jul 2016 10:42:11 +0000 (06:42 -0400)]
Updating External dependencies to beta-24314-00, CoreFX to 24314-02
Commit migrated from https://github.com/dotnet/corefx/commit/
be3a0f7e557a1d325fca506d04331611ead5c62f
Stephen Toub [Thu, 14 Jul 2016 10:06:46 +0000 (06:06 -0400)]
Merge pull request dotnet/corefx#10058 from dotnet-bot/UpdateDependencies20160714084151
Updating CoreClr dependencies to beta-24314-02
Commit migrated from https://github.com/dotnet/corefx/commit/
7d45293a98b568e7f24cae7ffa4a8dfcaf8de800
dotnet-bot [Thu, 14 Jul 2016 08:41:50 +0000 (08:41 +0000)]
Updating CoreClr dependencies to beta-24314-02
Commit migrated from https://github.com/dotnet/corefx/commit/
34376f598e0dd49bd2a7610b3028b88a4ea3c0d0
Shahriar Gholami [Mon, 4 Jul 2016 17:03:37 +0000 (21:33 +0430)]
Clean up and Format System.Collections
Fix dotnet/corefx#5055
Commit migrated from https://github.com/dotnet/corefx/commit/
11356d564721e0f594f4e52d1efd1fc9cb1fbefc
Stephen Toub [Thu, 14 Jul 2016 01:59:33 +0000 (21:59 -0400)]
Merge pull request dotnet/corefx#10029 from prajwal-aithal/devel/arm-ci-documentation
Documentation: Added documentation for cross building for Linux Emulator
Commit migrated from https://github.com/dotnet/corefx/commit/
b76659daf1507bacc539245a5abe47c980616ff5
Prajwal A N [Wed, 13 Jul 2016 05:13:06 +0000 (14:13 +0900)]
docs: Added documentation for building for Linux Emulator
Adding documentation for building corefx for Linux ARM Emulator
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/
6885fa46e740d6750efe7b009074ecc34eacb229
Stephen Toub [Thu, 14 Jul 2016 01:36:46 +0000 (21:36 -0400)]
Merge pull request dotnet/corefx#10048 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/corefx/commit/
98113ebbb2effcfd9f4a99ad6612e0ddf0886240
Cory Rivera [Thu, 14 Jul 2016 00:37:40 +0000 (17:37 -0700)]
Merge pull request dotnet/corefx#9655 from corivera/SplitSslPacketFix
Add SqlClient Read retry logic when receiving undersized packets during prelogin
Commit migrated from https://github.com/dotnet/corefx/commit/
276578283990e7c6adb8965c1ab64c5036c466ac
Stephen Bonikowsky [Wed, 13 Jul 2016 23:22:09 +0000 (16:22 -0700)]
Add Support For Xamarin and Mono for WCF Facades.
[tfs-changeset: 1617567]
Commit migrated from https://github.com/dotnet/corefx/commit/
8c62c72a8bd1edc7b295924372d1a05ece391517
Karthik Rajasekaran [Wed, 13 Jul 2016 22:32:21 +0000 (15:32 -0700)]
Merge pull request dotnet/corefx#10042 from karajas/setFilterToTestTFM
Set default FilterToTestTFM to be netcoreapp1.0 in dir.props
Commit migrated from https://github.com/dotnet/corefx/commit/
d10affe137bab7a791ebda53405016c078c0073a
Cristian Pop [Tue, 5 Jul 2016 23:44:19 +0000 (16:44 -0700)]
Adding server code. Fixing IIS application deployment.
Commit migrated from https://github.com/dotnet/corefx/commit/
cb0becbb7e546ffa5f265f862e76bc0fa445ec50
Nick Guerrera [Wed, 13 Jul 2016 22:25:52 +0000 (15:25 -0700)]
Update portable pdb spec for embedded source (dotnet/corefx#10017)
Commit migrated from https://github.com/dotnet/corefx/commit/
8bd27ad852d035bebbc35c021c74e9e56ee90e77
Eric Eilebrecht [Wed, 13 Jul 2016 20:09:05 +0000 (13:09 -0700)]
Avoid wrapping async I/O in synchronous methods in the HTTP tests, as this can lead to ThreadPool starvation, causing tests to run longer (waiting for the ThreadPool to inject enough threads) and possibly to time out.
Commit migrated from https://github.com/dotnet/corefx/commit/
af17a7ab4bd0630f71e44bbe566bb712aeb86b5c
Karthik Rajasekaran [Wed, 13 Jul 2016 20:32:14 +0000 (13:32 -0700)]
Set default FilterToTestTFM to be netcoreapp1.0 in CoreFx
Commit migrated from https://github.com/dotnet/corefx/commit/
17c7db687f9c0470f1859c4412a1c1b876370ce7
Stephen Toub [Wed, 13 Jul 2016 21:04:01 +0000 (17:04 -0400)]
Merge pull request dotnet/corefx#10039 from dotnet-bot/UpdateDependencies20160713075936
Updating CoreFx dependencies to beta-24313-04
Commit migrated from https://github.com/dotnet/corefx/commit/
617fa6ac0cc8c3dc6acf423a5248fcdb78cf7c07
dotnet-bot [Wed, 13 Jul 2016 19:59:35 +0000 (19:59 +0000)]
Updating CoreFx dependencies to beta-24313-04
Commit migrated from https://github.com/dotnet/corefx/commit/
b7fb903a5318f48ff9c4e38bc941f64a5c96ec67
Stephen Toub [Wed, 13 Jul 2016 19:22:16 +0000 (15:22 -0400)]
Merge pull request dotnet/corefx#10036 from stephentoub/streamingcontext
Add StreamingContext public APIs back to contract
Commit migrated from https://github.com/dotnet/corefx/commit/
752e632432575d1f324a92b395fc381f3fc3ac54
Matt Galbraith [Wed, 13 Jul 2016 17:41:44 +0000 (10:41 -0700)]
Merge pull request dotnet/corefx#10027 from karajas/updateBuildTools
Update BuildTools to 613-01
Commit migrated from https://github.com/dotnet/corefx/commit/
37dc4724ff0a10db8841c593c1ed6e88d7e6c70a
Stephen Toub [Wed, 13 Jul 2016 16:19:35 +0000 (12:19 -0400)]
Add StreamingContext public APIs back to contract
Necessary for formatters.
Commit migrated from https://github.com/dotnet/corefx/commit/
e8169527905734b295708a8cb6922057908f45e7
Mike McLaughlin [Wed, 13 Jul 2016 15:57:55 +0000 (08:57 -0700)]
Merge pull request dotnet/corefx#9571 from Dmitri-Botcharnikov/local-vars
Local variables support in System.Diagnostics.Debug.SymbolReader for Portable PDB
Commit migrated from https://github.com/dotnet/corefx/commit/
f6e368fc8a34a641ca3294b66d3283c9a41c508c
vitek-karas [Wed, 13 Jul 2016 14:42:19 +0000 (07:42 -0700)]
Add tests for Delegate.DynamicInvoke with default parameters
Add tests for various cases where Delegate.DynamicInvoke is used on a
delegate with default parameters. The tests were more or less copied
from the respective MethodInfo.Invoke tests since the default parameter
behavior should be the same between these two code paths.
Commit migrated from https://github.com/dotnet/corefx/commit/
863393873a00aa273948fb7b375a48cdd596012f
Jeremy Barton [Wed, 13 Jul 2016 02:46:51 +0000 (19:46 -0700)]
Merge pull request dotnet/corefx#9912 from steveharter/X509Ecc
Add Windows 10 elliptic curve support to X509
Commit migrated from https://github.com/dotnet/corefx/commit/
27c3653e447be616442e8f70cd84d699affb4f8e
Rama krishnan Raghupathy [Wed, 13 Jul 2016 02:02:58 +0000 (19:02 -0700)]
Merge pull request dotnet/corefx#10026 from ramarag/ARM64_RuntimeInformation
Fixing Field intialization for Arm64
Commit migrated from https://github.com/dotnet/corefx/commit/
b30d6ea8f39315f3ae4469652269183618065b4f
Karthik Rajasekaran [Wed, 13 Jul 2016 01:57:32 +0000 (18:57 -0700)]
Update BuildTools to 613-01
Commit migrated from https://github.com/dotnet/corefx/commit/
0b12bec607ef1ecc7c67bac1db011577d174425e
Stephen Toub [Wed, 13 Jul 2016 01:28:56 +0000 (21:28 -0400)]
Merge pull request dotnet/corefx#10020 from dotnet-bot/UpdateDependencies20160712072159
Updating CoreFx dependencies to beta-24312-04
Commit migrated from https://github.com/dotnet/corefx/commit/
06120e5a3cee040268a7d0616bab5466eb091570
Rama Krishnan Raghupathy [Wed, 13 Jul 2016 01:24:01 +0000 (18:24 -0700)]
Fixing Field intialization for Arm64
Commit migrated from https://github.com/dotnet/corefx/commit/
579d5424507b1ff356cc64cfe4cd68a730755bbf
Eric StJohn [Tue, 12 Jul 2016 22:49:51 +0000 (15:49 -0700)]
Merge pull request dotnet/corefx#9936 from ericstj/xamarinValidation
Validate Xamarin frameworks
Commit migrated from https://github.com/dotnet/corefx/commit/
5159e3afc8377083c093e06939241a40394a037a
steveharter [Thu, 7 Jul 2016 16:11:49 +0000 (11:11 -0500)]
Add support for Ecc
Commit migrated from https://github.com/dotnet/corefx/commit/
3debb53396c688ae4111df3222282cd9537b7760
Vitek Karas [Tue, 12 Jul 2016 22:13:56 +0000 (15:13 -0700)]
Merge pull request dotnet/corefx#10008 from vitek-karas/MethodInfoInvokeDefaultParams
Add tests for MethodInfo.Invoke with default parameters
Commit migrated from https://github.com/dotnet/corefx/commit/
66281bb90a4cfdd61d53799a1cacd705dab5cd48
Eric St. John [Tue, 12 Jul 2016 21:52:43 +0000 (14:52 -0700)]
Update BuildToolsVersion to 00612-01
Commit migrated from https://github.com/dotnet/corefx/commit/
0320a859fe5daef851c065101c881435b0b4077f
Eric St. John [Fri, 8 Jul 2016 21:19:28 +0000 (14:19 -0700)]
Validate Xamarin frameworks
This adds validation for Xamarin frameworks and fixes some packages
which were not representing Xamarin correctly.
Commit migrated from https://github.com/dotnet/corefx/commit/
e586f1b2f4eca793de97361aa4b981eb966d13ec
vitek-karas [Tue, 12 Jul 2016 11:06:53 +0000 (04:06 -0700)]
Add tests for MethodInfo.Invoke with default parameters
Add tests for various cases where MethodInfo.Invoke is used on a method with default parameters.
General cleanup of the affected test file
- Renamed test methods to include what they're actually testing (instead of numbering scheme).
- Use Assert.Equal instead of custom implementation based on Assert.True (less code).
- Get rid of lot of local variables which are not that useful - if we debug this we would
step into the Invoke call anyway, and that has all the important stuff as parameters anyway.
Keeps the tests much shorter and easier to read.
- I didn't change the actual behavior of any of the existing tests.
- For now I kept the test types as they are (although the names are pretty bad).
- Small formatting changes.
Commit migrated from https://github.com/dotnet/corefx/commit/
d93ce9416a40f0aa18d6a50eeaab3e84597aebc1
dotnet-bot [Tue, 12 Jul 2016 19:21:59 +0000 (19:21 +0000)]
Updating CoreFx dependencies to beta-24312-04
Commit migrated from https://github.com/dotnet/corefx/commit/
e890f759240d5632d172fe7097f7b537861d5262
Eric StJohn [Tue, 12 Jul 2016 19:02:46 +0000 (12:02 -0700)]
Merge pull request dotnet/corefx#10016 from ericstj/restoreNoCache
Specify --no-cache on restore
Commit migrated from https://github.com/dotnet/corefx/commit/
04dc5f309fc0ff05f7099b02c612ad1e1dc2b173
Stephen Toub [Tue, 12 Jul 2016 18:14:07 +0000 (14:14 -0400)]
Merge pull request dotnet/corefx#10009 from dotnet-bot/UpdateDependencies20160712011800
Updating CoreFx dependencies to beta-24312-03
Commit migrated from https://github.com/dotnet/corefx/commit/
df5cf73c1204e1b728b7ee7ac627eeda19bf9e49
huanwu@microsoft.com [Tue, 12 Jul 2016 18:00:19 +0000 (11:00 -0700)]
Xml Type with 2D Array property tests
Add two tests to cover the scenario for serialization/deserialization for the object of the type with 2D array property
This is to cover the test hole for this issue: dotnet/wcfdotnet/corefx#1274
Commit migrated from https://github.com/dotnet/corefx/commit/
92b7f0be7466497167ae48ab7f6fac7d0e287115
Joel Hendrix [Tue, 12 Jul 2016 17:29:07 +0000 (10:29 -0700)]
Merge pull request dotnet/corefx#9971 from jhendrixMSFT/master
Remove Mac OS minor version number from package filtering.
Commit migrated from https://github.com/dotnet/corefx/commit/
89eba9452945e57932b0d860078558183f6f202f
Eric St. John [Tue, 12 Jul 2016 16:34:16 +0000 (09:34 -0700)]
Specify --no-cache on restore
This lets us publish a package and consume it immediately from our
builds.
Without this our CI clients were relying on an HTTP cache of our myget
feeds and failing when we updated projects or buildtools.
Commit migrated from https://github.com/dotnet/corefx/commit/
65592cc6d27bd8f05f13878a91c8623ffbdf87fb
Dmitri Botcharnikov [Wed, 8 Jun 2016 15:43:43 +0000 (18:43 +0300)]
Add System.Diagnostics.Debug.SymbolReader assembly.
This assembly allows reading a debug information from portable pdb files.
Commit migrated from https://github.com/dotnet/corefx/commit/
ed5916ad413c5852380057214f2362b91e46af3d
Jeremy Barton [Tue, 12 Jul 2016 14:52:46 +0000 (07:52 -0700)]
Merge pull request dotnet/corefx#9993 from bartonjs/x509_upref
Use X509UpRef instead of X509Duplicate
Commit migrated from https://github.com/dotnet/corefx/commit/
63819d9824d452de9a6e7116e193ba16249ac2ce
James Ko [Tue, 12 Jul 2016 14:17:49 +0000 (10:17 -0400)]
Port List changes from dotnet/coreclrdotnet/corefx#6212 (dotnet/corefx#9987)
Commit migrated from https://github.com/dotnet/corefx/commit/
2df67e0dafb452fce395aaf67dbcb59e63f08c7e
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
Jeremy Barton [Mon, 11 Jul 2016 23:02:55 +0000 (16:02 -0700)]
Add CryptoNative_X509UpRef
Use X509UpRef instead of X509Duplicate
X509Duplicate copies the certificate data into new memory, but none of the
callers needed copy semantics, just ensuring that the native components
which also are using the same memory don't unexpectedly free the object.
Protection from early/double-free is what the native reference count field is
for, so use UpRef instead of Duplicate.
Since we are currently targeting OpenSSL 1.0.x X509Upref adds to
references directly, X509_up_ref does not exist in the 1.0.x ABI.
Microbenchmark:
Cloning a certificate 1000 times by cert.Handle, measuring maximum resident set:
X509Duplicate (before): 48213 +/- 1501KB
X509UpRef (after): 39208 +/- 1021KB
Memory reduction: 9005 +/- 1816KB
Commit migrated from https://github.com/dotnet/corefx/commit/
8f5eac55eb498c3c94f5a89655f4d7ad79a8711a
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
Joel Hendrix [Mon, 11 Jul 2016 18:00:18 +0000 (11:00 -0700)]
Remove Mac OS minor version number from package filtering.
Building on Mac OS 10.11 produces binaries that are compatible with
version 10.10. It order to build packages on Macs running 10.11 I have
removed the OS minor version number as part of the package filtering.
Commit migrated from https://github.com/dotnet/corefx/commit/
04b54e7ac019640a30272202aaaa210a02a29989
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