John Salem [Tue, 9 Oct 2018 17:45:22 +0000 (10:45 -0700)]
Merge pull request dotnet/corefx#32329 from josalem/test-infra-update
Make test drop container name stable.
Make test drop container publicly accessible. Use a non-standard container name and set IsDropPublic to false for internal official builds.
Commit migrated from https://github.com/dotnet/corefx/commit/
dc60e419f7705f69777e72ab6f79e4a8a4bda759
dotnet-maestro-bot [Tue, 9 Oct 2018 16:18:40 +0000 (09:18 -0700)]
Update CoreFx, CoreSetup to preview1-27009-06, preview1-27009-01, respectively (dotnet/corefx#32714)
Commit migrated from https://github.com/dotnet/corefx/commit/
beb658cc66da9c2d705a9338777b86494a99259f
Jeremy Barton [Tue, 9 Oct 2018 14:23:27 +0000 (07:23 -0700)]
Allow transporting an indefinite-length encoding for content in SignedCms
SignedCms reads BER, because the spec says to, and writes DER, to provide
better interop. If the incoming message used an indefinite length encoding
for SignedData.encapContentInfo.eContent's ANY value the call to Encode
will throw (as will any mutation operations which internally use Encode).
With this change, if writing DER fails then assemble the output in pieces to leave
the encapsulated content as-is while DER-normalizing the rest of the structure.
Commit migrated from https://github.com/dotnet/corefx/commit/
4cd30e7d2814f626a7cd963e81024380117e7271
Tom Deseyn [Tue, 9 Oct 2018 11:17:06 +0000 (13:17 +0200)]
Unix: fix UDP ReuseAddress with non .NET Core UDP clients (dotnet/corefx#32046)
* Unix: fix UDP ReuseAddress with non .NET Core UDP clients
.NET Core sets SO_REUSEPORT to enable reusing the address with other
sockets. This works when the other sockets also set SO_REUSEPORT.
SO_REUSEADDR can also be used for this. When one application uses
SO_REUSEADDR and another uses SO_REUSEPORT, the second application
will fail to bind.
To implement SocketOptionName.ReuseAddress we need to set both options.
This enables sharing with applications that set SO_REUSEPORT,
SO_REUSEADDR or both.
* Fix comment
* wording: share -> reuse
* Add test
* Fix test on mac
* Move DllImport to separate file
* Add separate csproj Configurations for Windows and Unix
* Add Windows and Unix to Configurations.props
Commit migrated from https://github.com/dotnet/corefx/commit/
0ec9c9d7caac1ac378e2135620bf2f8b80e6ed86
dotnet-maestro-bot [Tue, 9 Oct 2018 11:10:00 +0000 (04:10 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27009-00, beta-27009-00, respectively (dotnet/corefx#32712)
Commit migrated from https://github.com/dotnet/corefx/commit/
721028f5903f3a4254c22cf2f6a6bf667137fae5
dotnet-maestro-bot [Tue, 9 Oct 2018 05:11:23 +0000 (22:11 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03308-01, preview1-27008-04, preview1-27009-02, preview1-27008-04, beta-27008-00, beta-27008-00, respectively (dotnet/corefx#32693)
Commit migrated from https://github.com/dotnet/corefx/commit/
e41588531c636e86d2ded183ff5d2cfa77a59e1c
Jan Kotas [Tue, 9 Oct 2018 05:11:04 +0000 (22:11 -0700)]
Improve corefx test coverage for exception types (dotnet/corefx#32700)
* Improve corefx test coverage for exception types
Contributes to dotnet/coreclrdotnet/corefx#12782
Commit migrated from https://github.com/dotnet/corefx/commit/
552e0211920db45fd85d195ba9e989fa35302a4f
Max Kerr [Tue, 9 Oct 2018 01:59:37 +0000 (18:59 -0700)]
Disable problematic Linq.Parallel test. (dotnet/corefx#32702)
Commit migrated from https://github.com/dotnet/corefx/commit/
f5ba053ec0ff8a3a74917f47a56b2927de27473e
Levi Broderick [Tue, 9 Oct 2018 01:26:46 +0000 (18:26 -0700)]
Remove stale copy of BinaryPrimitives (dotnet/corefx#32698)
Commit migrated from https://github.com/dotnet/corefx/commit/
dc5510de999af0d3739c8982067e94d9c4df3256
Drew Scoggins [Tue, 9 Oct 2018 00:21:00 +0000 (17:21 -0700)]
Add ibc deps (dotnet/corefx#32498)
* Use dependencies.props to pull down IBC resources
* Update dependencies.props for IBC consumption
We needed to make a few changes to the naming convetion of the update
steps as well as set the path that it looks for updates to the updated
location.
* Update dependency versions
Commit migrated from https://github.com/dotnet/corefx/commit/
8bc7dbe79b16c3f5823871d9664555a69629c3e6
Levi Broderick [Tue, 9 Oct 2018 00:14:29 +0000 (17:14 -0700)]
Add unit tests for BinaryPrimitives.ReverseEndianness (dotnet/corefx#32705)
Commit migrated from https://github.com/dotnet/corefx/commit/
33af4b6621406db8015a396bedb4952ddfd90e29
John Salem [Mon, 8 Oct 2018 22:53:07 +0000 (15:53 -0700)]
Add comment concerning internal builds
Commit migrated from https://github.com/dotnet/corefx/commit/
1e6ca5ac157624062cea41415efa1cc3ee060446
Viktor Hofer [Mon, 8 Oct 2018 21:47:59 +0000 (23:47 +0200)]
Consume Microsoft.DotNet.XUnitExtensions from arcade (dotnet/corefx#32677)
Commit migrated from https://github.com/dotnet/corefx/commit/
a1db302fc7b876675618d9aa4d6d53989510b97c
John Salem [Mon, 8 Oct 2018 21:21:24 +0000 (14:21 -0700)]
Update stable name to use RuntimeOS instead of plain OS
Commit migrated from https://github.com/dotnet/corefx/commit/
a7596f97ab0589703ca195f32378080f208a6ba4
Tomas Weinfurt [Mon, 8 Oct 2018 20:44:35 +0000 (13:44 -0700)]
check OperationStatus for known interfaces on OSX (dotnet/corefx#32696)
Commit migrated from https://github.com/dotnet/corefx/commit/
103f967f31ad9d7635864a72677ff8ab5abb3d59
Kevin Jones [Mon, 8 Oct 2018 16:57:13 +0000 (12:57 -0400)]
Added additional OIDs for RSA-SSA-PKCS1.5 CMS signatures
This enables processing documents which use the X.509 hybrid identifier (e.g. `sha256WithRSAEncryption`) instead of `rsaEncryption`.
Commit migrated from https://github.com/dotnet/corefx/commit/
6e80c3d1b803a912d9e7e30366b149cae435d968
Santiago Fernandez Madero [Mon, 8 Oct 2018 16:56:24 +0000 (09:56 -0700)]
Port trace listeners for WPF/Winforms (dotnet/corefx#32620)
* Port trace listeners for WPF/Winforms
* PR Feedback and fix UAP/Unix build
* Add ConsoleWriterTraceListener tests
Commit migrated from https://github.com/dotnet/corefx/commit/
43760cebc9b2773c0959629a443a28111d8b7de8
George Kosmidis [Mon, 8 Oct 2018 14:12:22 +0000 (16:12 +0200)]
Changes from msdn... to https://docs... (dotnet/corefx#32692)
URLs changed to reflect the new unified technical documentation.
Commit migrated from https://github.com/dotnet/corefx/commit/
225be960445683a97e68005d87f7ebbd5f5e5a88
Stephen Toub [Mon, 8 Oct 2018 13:33:47 +0000 (09:33 -0400)]
Merge pull request dotnet/corefx#32683 from dotnet-maestro-bot/master-UpdateDependencies
Update CoreClr, CoreFx to preview1-27008-01, preview1-27008-01, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/
a973453a00de0466f3ea1ef280d3b3c2327c744b
Jan Kotas [Mon, 8 Oct 2018 03:27:28 +0000 (20:27 -0700)]
Fix build break
Commit migrated from https://github.com/dotnet/corefx/commit/
dcd23f129bdc95f39f02abb564c24ca439190236
dotnet-maestro-bot [Mon, 8 Oct 2018 01:56:12 +0000 (18:56 -0700)]
Update CoreClr, CoreFx to preview1-27008-01, preview1-27008-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
582b837bc97c90c48b180331505d6add8d4f4f5e
dotnet-maestro-bot [Sun, 7 Oct 2018 18:17:38 +0000 (11:17 -0700)]
Update BuildTools, CoreSetup to preview1-03307-03, preview1-27007-01, respectively (dotnet/corefx#32675)
Commit migrated from https://github.com/dotnet/corefx/commit/
2b22be7ed52d0492d14dbe767fb15c8449e78100
Stephen Toub [Sun, 7 Oct 2018 15:17:01 +0000 (11:17 -0400)]
Remove unnecessary EventLogEntry ctor (dotnet/corefx#32676)
The type isn't [Serializable] and the ctor is private.
Commit migrated from https://github.com/dotnet/corefx/commit/
cd861e116bba3079bc77b895b023995f8b5f92e7
Viktor Hofer [Sun, 7 Oct 2018 13:22:46 +0000 (15:22 +0200)]
Disabled VS Test SDK refs for AOT builds and CI / official builds (dotnet/corefx#32559)
* Disabled VS Test SDK refs for AOT compilation
* Exclude restore of NET Test SDK assemblies to switch
* Set IncludeVSTestReferences for external projects
* Disabled vstest refs and launch settings for CI builds
* CI changes for VS support
* Fix conditions for xunit.runner.testadapter
Commit migrated from https://github.com/dotnet/corefx/commit/
d6646295b889daf9cf46caae1f9097b719873439
Jan Kotas [Sun, 7 Oct 2018 10:38:40 +0000 (03:38 -0700)]
Revert "Update breaking change guidance re: adding interface to existing type (dotnet/corefx#31616)" (dotnet/corefx#32667)
This reverts commit dotnet/corefx@
2340b22bacd991c9b5ff585bb6257229ec65b098.
Commit migrated from https://github.com/dotnet/corefx/commit/
8ab8fc7de69fbedd3c39a94c93c6cb0d815bc457
Xander Hoogland [Sun, 7 Oct 2018 02:45:01 +0000 (04:45 +0200)]
Clean up dead code in System.IO* (dotnet/corefx#32654)
* Remove dead code from System.IO.Compression.Brotli.
* Remove dead code from System.IO.FileSystem.DriveInfo.
* Remove dead code from System.IO.Pipes.
Commit migrated from https://github.com/dotnet/corefx/commit/
93ebee2ae64fbe4816ff4bf3bb19eb9ca174baf4
dotnet-maestro-bot [Sat, 6 Oct 2018 23:56:38 +0000 (16:56 -0700)]
Update BuildTools, CoreSetup to preview1-03305-01, preview1-27005-04, respectively (dotnet/corefx#32652)
Commit migrated from https://github.com/dotnet/corefx/commit/
ae3e88d4fcb36631587b0370a7fb22b549c2c8c3
Max Kerr [Sat, 6 Oct 2018 00:40:00 +0000 (17:40 -0700)]
Fix flaky 100-Continue test on CurlHandler. (dotnet/corefx#32653)
Commit migrated from https://github.com/dotnet/corefx/commit/
5ee58d9cf528db08230edb201471da28cd7a5fe5
Fei Peng [Sat, 6 Oct 2018 00:34:39 +0000 (17:34 -0700)]
Add pointer overloads for Avx2.BroadcastScalarToVector256 (dotnet/corefx#32565)
Commit migrated from https://github.com/dotnet/corefx/commit/
e21fc3dcf6699ef4e79d057aebbccfa57dd26007
John Salem [Sat, 6 Oct 2018 00:22:54 +0000 (17:22 -0700)]
Fix typo in IsOfficial that was stopping drop container from being public
Commit migrated from https://github.com/dotnet/corefx/commit/
cbd7b7574020649a99be893848fc5d48a891378a
Eric StJohn [Fri, 5 Oct 2018 23:15:07 +0000 (16:15 -0700)]
Add back InstanceDescriptor support to TypeConverters which had it on Desktop (dotnet/corefx#32621)
* Add back InstanceDescriptor support to TypeConverters which had it on Desktop
* Small improvements to desktop port
Commit migrated from https://github.com/dotnet/corefx/commit/
ecc8912f7c4670c204759d79ae84fbad4af8239c
Viktor Hofer [Fri, 5 Oct 2018 23:14:41 +0000 (01:14 +0200)]
Code cleanup in ProcessTests (dotnet/corefx#32651)
Commit migrated from https://github.com/dotnet/corefx/commit/
648eac022d5271c8773ef2c85ae47abf9c51ff8e
Tomas Weinfurt [Fri, 5 Oct 2018 23:13:45 +0000 (16:13 -0700)]
get operational status and multicast support for osx (dotnet/corefx#32444)
* get operational status and multicast support for osx
* add code to detect link status
* split check if ioctl() result abnd ifm_status value
Commit migrated from https://github.com/dotnet/corefx/commit/
cceef2a0d61b47b077a3279eed51b052974759cd
Viktor Hofer [Fri, 5 Oct 2018 21:28:55 +0000 (23:28 +0200)]
Reenable ProcessTests for uap (dotnet/corefx#32648)
Commit migrated from https://github.com/dotnet/corefx/commit/
79b2713ee31e44d2a9c99a0c5ef33697d2f5b316
David Shulman [Fri, 5 Oct 2018 21:21:56 +0000 (14:21 -0700)]
Skip some Http auth tests on UAP (dotnet/corefx#32646)
Some Http auth related tests have begun failing all the time on Outerloop UWP runs:
* GetAsync_ServerNeedsBasicAuthAndSetDefaultCredentials_StatusCodeUnauthorized
* GetAsync_CredentialIsNetworkCredentialUriRedirect_StatusCodeUnauthorized
The UAP version of Http stack uses WinRT APIs (which use WinInet). And there is
implicit caching of credentials per-process due to WinInet. So, we need to disable
these tests on UAP similar to other tests in this file.
Contributes to dotnet/corefx#32647
Commit migrated from https://github.com/dotnet/corefx/commit/
e7e60c52911705bf38cd3dbbfbc9b726209130e7
Filip Navara [Fri, 5 Oct 2018 18:11:16 +0000 (20:11 +0200)]
Treat the 'algorithm' parameter in Digest HTTP authentication as case-insensitive. (dotnet/corefx#32632)
Fixes dotnet/corefx#32408
Commit migrated from https://github.com/dotnet/corefx/commit/
1d737919b3a74dd3d26a80b2268014b48a41a8d4
Charles Milette [Fri, 5 Oct 2018 17:16:51 +0000 (13:16 -0400)]
Use natural language in Microsoft.CSharp error messages (dotnet/corefx#32567)
Use natural language in Microsoft.CSharp error messages.
Fixes dotnet/corefx#26630
Commit migrated from https://github.com/dotnet/corefx/commit/
1cd890a962f0ee0d09eba49d1952e0cd4ae51365
dotnet-maestro-bot [Fri, 5 Oct 2018 15:31:54 +0000 (08:31 -0700)]
Update CoreClr, CoreFx to preview1-27005-04, preview1-27005-06, respectively (dotnet/corefx#32637)
Commit migrated from https://github.com/dotnet/corefx/commit/
f402ebf649dff45bef32279a01780f5b3207ea40
dotnet-maestro-bot [Fri, 5 Oct 2018 11:54:19 +0000 (04:54 -0700)]
Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-27005-01, preview1-27005-01, preview1-27004-04, beta-27005-00, beta-27005-00, respectively (dotnet/corefx#32627)
Commit migrated from https://github.com/dotnet/corefx/commit/
f267aed8b4a8f8314b2f6773cd1d825a82b0075f
Jan Kotas [Fri, 5 Oct 2018 02:11:52 +0000 (19:11 -0700)]
Add link to the list of area owners (dotnet/corefx#32629)
Commit migrated from https://github.com/dotnet/corefx/commit/
686ec27d3ff5337632391f75d9ea9747570fcf60
John Doe [Fri, 5 Oct 2018 00:25:37 +0000 (17:25 -0700)]
Typos (dotnet/corefx#32625)
* Obejct -> Object
* Oberserver -> Observer
* objetcs -> objects
* observeable -> observable
* obsolated -> obsoleted
* occour -> occur
* occurance -> occurrence
* occures -> occurs
* occuring -> occurring
* occurrance -> occurrence
Commit migrated from https://github.com/dotnet/corefx/commit/
fcea0a593a8b198d7ae741dcb80345ea2b129fe0
Marco Rossignoli [Thu, 4 Oct 2018 19:35:26 +0000 (21:35 +0200)]
Fix incorrect Uri.IsWellFormedUriString result when Unicode is present (dotnet/corefx#32028)
Fixes dotnet/corefx#31956
Commit migrated from https://github.com/dotnet/corefx/commit/
561f555830e4eaef1fa015796690915e6f4923da
Afsaneh Rafighi [Thu, 4 Oct 2018 17:43:33 +0000 (10:43 -0700)]
Merge pull request dotnet/corefx#31044 from Wraith2/sqldatespan2
Add datetime read span path for netcore
Commit migrated from https://github.com/dotnet/corefx/commit/
10ccbc14eeabbbc6ed6e7cee828a9bab1087ddb6
Karel Zikmund [Thu, 4 Oct 2018 17:38:13 +0000 (10:38 -0700)]
Updating area ownerships
Commit migrated from https://github.com/dotnet/corefx/commit/
a126b030919ed332091d7273a1305cc7ef6abec3
dotnet-maestro-bot [Thu, 4 Oct 2018 17:36:31 +0000 (10:36 -0700)]
Update BuildTools, CoreClr, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03304-01, preview1-27004-04, preview1-27004-01, beta-27004-00, beta-27004-00, respectively (dotnet/corefx#32618)
Commit migrated from https://github.com/dotnet/corefx/commit/
4ec80bac5443699b4f216a65afed7ab36d73f6f4
Marco Rossignoli [Thu, 4 Oct 2018 16:40:41 +0000 (18:40 +0200)]
Fix HttpClient sending fragment portion of uri on request (dotnet/corefx#32574)
Fixes dotnet/corefx#32378
Commit migrated from https://github.com/dotnet/corefx/commit/
87a944afb3e0ec392d5838900b5498e015d5e47b
Thomas Levesque [Thu, 4 Oct 2018 14:38:37 +0000 (16:38 +0200)]
Fix ParseQueryString to handle values without keys (dotnet/corefx#32599)
Commit migrated from https://github.com/dotnet/corefx/commit/
e23f83e6172ef2d879342e1c4883012749b91ef1
Eric StJohn [Thu, 4 Oct 2018 13:39:20 +0000 (06:39 -0700)]
Fix framework package validation build (dotnet/corefx#32562)
When using AfterTargets="Build" msbuild does not let a failing target effect the result
of the called target (build) since the called target and its closure did not fail.
Instead, sequence our targets in the closure of "Build" so that a failing target will
propagate to the build result.
Commit migrated from https://github.com/dotnet/corefx/commit/
44886850b17a517d95aab0ea521711a8c992bbdc
Wraith2 [Thu, 4 Oct 2018 10:48:40 +0000 (11:48 +0100)]
makes type declaration of copy target explicit
Commit migrated from https://github.com/dotnet/corefx/commit/
86180588fd1b4578fd89e1d71d65da00cf9d5832
dotnet-maestro-bot [Thu, 4 Oct 2018 04:42:18 +0000 (21:42 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-27004-01, preview1-27004-01, preview1-27003-04, respectively (dotnet/corefx#32607)
Commit migrated from https://github.com/dotnet/corefx/commit/
cd4afe0511192a413c15a5e9c2757bd247456570
Tarek Mahmoud Sayed [Wed, 3 Oct 2018 22:34:47 +0000 (07:34 +0900)]
Fix Japanese First Year Formatting Test (dotnet/corefx#32605)
Commit migrated from https://github.com/dotnet/corefx/commit/
7e40df429daee1223c8a142dd438aadd755503c1
Gleb Balykov [Wed, 3 Oct 2018 16:58:29 +0000 (19:58 +0300)]
Revert "Disable Tizen leg on PRs (dotnet/corefx#30715)" (dotnet/corefx#31697)
This reverts commit dotnet/corefx@
6315a412b5489951a5fc3895121d99ce48bd52c8.
Commit migrated from https://github.com/dotnet/corefx/commit/
cc6aa17cbe21deef23588ce63ab2b365b6cda651
Wraith2 [Wed, 3 Oct 2018 10:27:23 +0000 (11:27 +0100)]
fixed buffer copy to correctly use offset
Commit migrated from https://github.com/dotnet/corefx/commit/
8a2c3aa3f15e020e5124ed6da16f7585a94703c2
Thomas Levesque [Wed, 3 Oct 2018 10:09:03 +0000 (12:09 +0200)]
Fix ParseQueryString behavior when there are multiple values for the same key (dotnet/corefx#32578)
* Add failing test for roundtripping behavior
* Fix roundtripping behavior of ParseQueryString
* fixup! Fix roundtripping behavior of ParseQueryString
Commit migrated from https://github.com/dotnet/corefx/commit/
ce3cb1c1c07d6b438b17c8126496310f6ef54c78
dotnet-maestro-bot [Wed, 3 Oct 2018 10:07:21 +0000 (03:07 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27003-00, beta-27003-00, respectively (dotnet/corefx#32592)
Commit migrated from https://github.com/dotnet/corefx/commit/
c0ee2b526734d49516f7a267b790e82e6125bc6d
Stephen Toub [Wed, 3 Oct 2018 09:51:00 +0000 (05:51 -0400)]
Fix several WebSocket tests blocking xunit's SynchronizationContext (dotnet/corefx#32591)
* Fix several WebSocket tests that were blocking xunit's SynchronizationContext
* Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
7685f1c5212fa9637b408d97928ffba7b8d9d6c2
Jeremy Koritzinsky [Wed, 3 Oct 2018 04:12:13 +0000 (21:12 -0700)]
Change GetHINSTANCE_NonRuntimeModule test to test for -1 return instead of exception. (dotnet/corefx#32463)
* Enable GetHINSTANCE test on Unix
* Change test behavior to match dotnet/coreclrdotnet/corefx#20130
Commit migrated from https://github.com/dotnet/corefx/commit/
9cb4ea0045eed954d72aea6f283d22f2d7fb3c7b
dotnet-maestro-bot [Wed, 3 Oct 2018 03:49:17 +0000 (20:49 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-27003-01, preview1-27003-02, preview1-27002-04, respectively (dotnet/corefx#32590)
Commit migrated from https://github.com/dotnet/corefx/commit/
c366f10d458a56bf79e7e1f1982b5e9b3d937ff8
Raul Hidalgo Caballero [Wed, 3 Oct 2018 00:51:59 +0000 (02:51 +0200)]
Add Bionic to sources.list for cross (dotnet/corefx#32586)
* Create sources.list.bionic
* Create sources.list.bionic
* Create sources.list.bionic
* Update build-rootfs.sh
* Update build-rootfs.sh
Commit migrated from https://github.com/dotnet/corefx/commit/
11418cb123fa783e60d1efd128a8355e1049ec09
Armin Herling [Wed, 3 Oct 2018 00:51:37 +0000 (02:51 +0200)]
Fixed some spelling errors in developer-guide.md (dotnet/corefx#32585)
Commit migrated from https://github.com/dotnet/corefx/commit/
8d1026ddc65bfd32717077700b5e3b1cb319165f
Wes Haggard [Tue, 2 Oct 2018 20:50:16 +0000 (13:50 -0700)]
Merge pull request dotnet/corefx#32437 from wtgodbe/ConsumeArcade
Consume arcade packages in CoreFx
Commit migrated from https://github.com/dotnet/corefx/commit/
3ae0d50a44fc0428ebea48e392bac2fb07ffd8df
dotnet-maestro-bot [Tue, 2 Oct 2018 20:30:26 +0000 (13:30 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03301-02, preview1-27002-04, preview1-27002-03, preview1-27002-01, beta-27002-01, beta-27002-01, respectively (dotnet/corefx#32573)
Commit migrated from https://github.com/dotnet/corefx/commit/
ac21351605ff32dfba4bd507a18e7170455fb237
Stephen Toub [Tue, 2 Oct 2018 20:28:22 +0000 (16:28 -0400)]
Add back null checks to File.Encrypt/Decrypt (dotnet/corefx#32580)
* Add back null checks to File.Encrypt/Decrypt
* Re-enable tests
Commit migrated from https://github.com/dotnet/corefx/commit/
faaca859c04c4fbe29b9d4f900d0525d7f8385a3
Mohamed Shazan [Tue, 2 Oct 2018 20:27:16 +0000 (01:57 +0530)]
Changes to System.Numerics.Vector*.Clamp to follow documented behaviour (dotnet/corefx#32556)
* Added changes to System.Numerics.Vector*.Clamp method so it follow its documented behavior.
* Tabs to spaces and other fixes.
* Added changes to System.Numerics.Vector*.Clamp method so it follow its documented behavior.
* Small fixes
* fix typo float y = value1.X; -> float y = value1.Y;
* Added changes to tests/Vector2Tests.cs,tests/Vector2Tests.cs,tests/Vector4Tests.cs
* Fix System.Numerics.Vectors/tests to pass netfx tests.
* Remove extra whitespace
Commit migrated from https://github.com/dotnet/corefx/commit/
b90c49ce3cf560abe70cdd3d8b414af485efd243
Tom Deseyn [Tue, 2 Oct 2018 19:40:54 +0000 (21:40 +0200)]
Unix: remove Preamble from Console.{Input,Output}Encoding (dotnet/corefx#32332)
* Unix: remove Preamble from Console.{Input,Output}Encoding
* Use Preamble to avoid GetPreamble allocation
* Console.Unix: remove no-op RemovePreamble calls
* Remove double null check
Commit migrated from https://github.com/dotnet/corefx/commit/
c7a4807728206d959e1878242c0bd6d35948fc2d
wtgodbe [Tue, 2 Oct 2018 18:13:26 +0000 (11:13 -0700)]
Copy versions.props to output dir for package testing
Commit migrated from https://github.com/dotnet/corefx/commit/
1ed9371a135a84d3a110ee669a5eb6f41af943a2
Hugh Bellamy [Tue, 2 Oct 2018 18:11:37 +0000 (19:11 +0100)]
Port Microsoft.VisualBasic.CompilerServices.Conversions
Commit migrated from https://github.com/dotnet/corefx/commit/
87ca8131d7f284a11ca642f39e7c9d87dc21bbcd
wtgodbe [Tue, 2 Oct 2018 17:19:40 +0000 (10:19 -0700)]
Add EngDir property & find versions.props relative to that
Commit migrated from https://github.com/dotnet/corefx/commit/
9ec5155da1806e1e6ede80dc6aa3701fcbb3794a
Stephen Toub [Tue, 2 Oct 2018 13:55:24 +0000 (09:55 -0400)]
Remove allocations from Uri.Host with IPv6 host (dotnet/corefx#32558)
* Remove allocations from Uri.Host with IPv6 host
There are a bunch of allocations we can avoid when accessing Uri.Host for the first time on an instance (such that it needs to create the host string) when the host is an IPv6 address string, including multiple StringBuilders (and their char[]s), a bunch of boxed Int16s and/or Int32s, a bunch of sub strings inside of StringBuilder's formatting, and sometimes a params object[] array (if the address contains an embedded IPv4 address).
This commit changes the implementation to just format into a stack-allocated span rather than using StringBuilder, making the only allocation that for the resulting host string. It also improves throughput of accessing Uri.Host for the first time on an instance by ~2x.
* Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
788690a86f37a9b70907d002a367f57fca8ba423
Stephen Toub [Tue, 2 Oct 2018 13:49:46 +0000 (09:49 -0400)]
Add more CTR.Unregister/Dispose tests (dotnet/corefx#32492)
Validate the behavior of unregistering a callback during cancellation but before the callback has been invoked.
Commit migrated from https://github.com/dotnet/corefx/commit/
2658efb0c432901ac8c24cd4c30f5bfe21bd7e63
Paulo Janotti [Tue, 2 Oct 2018 13:05:11 +0000 (06:05 -0700)]
Coverage do not target CoreLib in bulk (dotnet/corefx#32537)
* Coverage do not target CoreLib in bulk
* Fix 1 project add temp nop to 2 others
* PR feedback: reuse property to disable code coverage
* PR Feedback: add dedicated property to target runtime
* System.Transactions.Local.Tests taking too long on PR
Commit migrated from https://github.com/dotnet/corefx/commit/
95eeecb5184e414810bc94fdb496c5748289a720
Tomas Weinfurt [Mon, 1 Oct 2018 20:38:57 +0000 (13:38 -0700)]
disable ConnectTimeout_TimesOutSSLAuth_Throws (dotnet/corefx#32564)
Commit migrated from https://github.com/dotnet/corefx/commit/
b3475286fbfff67869f8fbc76f391c1f43a40f53
Dávid Kaya [Mon, 1 Oct 2018 15:58:09 +0000 (17:58 +0200)]
Extensions for immutable collection builders (dotnet/corefx#21055) (dotnet/corefx#31071)
* Extensions for immutable builders (dotnet/corefx#21055)
Added extensions for immutable builders, which should be prefered over the extensions on IEnumerable because of performance benefits.
* Extension for immutable sorted dictionary builder (dotnet/corefx#21055)
* Extensions for immutable builders in the reference api (dotnet/corefx#21055)
* Tests for immutable builder extensions (dotnet/corefx#21055)
* Null check in extensions for immutable collection builders (dotnet/corefx#21055)
Commit migrated from https://github.com/dotnet/corefx/commit/
9f404b47df54bb6cd9a01b233f56f5f005241195
Tomas Weinfurt [Sat, 29 Sep 2018 21:28:39 +0000 (14:28 -0700)]
socket handler does not depend on platfrom curl (dotnet/corefx#32543)
Commit migrated from https://github.com/dotnet/corefx/commit/
20b2f55558f729f24fc063f520b35ab0adeec924
Jose Perez Rodriguez [Sat, 29 Sep 2018 19:23:59 +0000 (12:23 -0700)]
Capture return code of restore and build when running the allConfigurations test leg (dotnet/corefx#32395)
* Fixing packaging test build
* Fixing location of props file
Commit migrated from https://github.com/dotnet/corefx/commit/
ac8fb6965658e32b7154ca8c8cc1c93652635892
dotnet-maestro-bot [Sat, 29 Sep 2018 16:13:37 +0000 (09:13 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-26929-03, preview1-26929-03, preview1-26929-01, respectively (master) (dotnet/corefx#32545)
* Update CoreClr, CoreFx, CoreSetup to preview1-26929-03, preview1-26929-03, preview1-26929-01, respectively
* Disable invalid test
Commit migrated from https://github.com/dotnet/corefx/commit/
fcc0ef02e4d0f594b545743763d1351117338561
Jan Kotas [Sat, 29 Sep 2018 12:37:28 +0000 (05:37 -0700)]
Delete unnecessary use of reflection (dotnet/corefx#32541)
Commit migrated from https://github.com/dotnet/corefx/commit/
8f1572c5bc252619de3de6e639bd6e6e6eb18133
dotnet-maestro-bot [Sat, 29 Sep 2018 06:28:35 +0000 (23:28 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-26929-01, preview1-26929-01, preview1-26928-03, respectively (dotnet/corefx#32542)
Commit migrated from https://github.com/dotnet/corefx/commit/
9e7ab41f82077ba8358da712d7d79d5e5b741d27
Jan Kotas [Sat, 29 Sep 2018 00:22:37 +0000 (17:22 -0700)]
Improve CoreLib test coverage (dotnet/corefx#32533)
Commit migrated from https://github.com/dotnet/corefx/commit/
f14b3353a3d5ed410a1a16681a812ed09bd8932c
Eric StJohn [Fri, 28 Sep 2018 21:54:20 +0000 (14:54 -0700)]
Fix SQL client dependency from WinCompat package (dotnet/corefx#32535)
Commit migrated from https://github.com/dotnet/corefx/commit/
b40fd169035dc744186fb37e3f3344eb4d6ef074
Jeremy Koritzinsky [Fri, 28 Sep 2018 18:17:57 +0000 (11:17 -0700)]
Update SafeBuffer Initialize tests to reflect new exception type. (dotnet/corefx#32487)
Commit migrated from https://github.com/dotnet/corefx/commit/
b1cf64ba71f0c1f81154fa297358b9583611a229
dotnet-maestro-bot [Fri, 28 Sep 2018 15:05:34 +0000 (08:05 -0700)]
Update CoreClr, CoreFx to preview1-26928-03, preview1-26928-03, respectively (dotnet/corefx#32530)
Commit migrated from https://github.com/dotnet/corefx/commit/
8d9d46188c3d54a72d6f25cc8cdbb3ca928d28c8
dotnet-maestro-bot [Fri, 28 Sep 2018 10:57:51 +0000 (03:57 -0700)]
Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26928-01, preview1-26928-01, preview1-26928-01, beta-26928-00, beta-26928-00, respectively (dotnet/corefx#32525)
Commit migrated from https://github.com/dotnet/corefx/commit/
af92cd1502374c4462b14ced3c927e7d71c159fe
Ilya [Fri, 28 Sep 2018 10:57:41 +0000 (15:57 +0500)]
Fix int indexer in OrderedDictionary (dotnet/corefx#32522)
Commit migrated from https://github.com/dotnet/corefx/commit/
661874deddbff207d6dd8cbf28097566c6a5039f
Geoff Kizer [Fri, 28 Sep 2018 04:43:08 +0000 (21:43 -0700)]
Merge pull request dotnet/corefx#32297 from geoffkizer/pooldeadlock
rework connection pool cancellation to avoid deadlock
Commit migrated from https://github.com/dotnet/corefx/commit/
926a859dc49beb9dcd3b590deae609b7a87e70c1
dotnet-maestro-bot [Fri, 28 Sep 2018 04:02:49 +0000 (21:02 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03227-02, preview1-26927-03, preview1-26927-03, preview1-26927-01, beta-26927-00, beta-26927-00, respectively (master) (dotnet/corefx#32499)
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03227-02, preview1-26927-03, preview1-26927-03, preview1-26927-01, beta-26927-00, beta-26927-00, respectively
* Disable failing test
Commit migrated from https://github.com/dotnet/corefx/commit/
62b00cbd9b73f0212de0f6021e23db3bb621e8d3
Jan Vorlicek [Thu, 27 Sep 2018 22:31:20 +0000 (00:31 +0200)]
Remove test for unsupported delegate marshalling (dotnet/corefx#32518)
The GetFunctionPointerForDelegateTests had one subtest that was testing
that an attempt to use delegate marshalling in collectible types will
result in an exception as it was not supported. But the support is
coming in coreclr, so this test needs to be deleted.
Commit migrated from https://github.com/dotnet/corefx/commit/
355000fa5e72e82c5826c99ce8456d11ceb925bf
Geoff Kizer [Thu, 27 Sep 2018 21:54:33 +0000 (14:54 -0700)]
add TaskCompletionSourceWithCancellation and ensure we are propagating the cancellationToken on cancellation
Commit migrated from https://github.com/dotnet/corefx/commit/
43c212c85df41c3a339884efbf74b24f81b0b019
Geoff Kizer [Thu, 27 Sep 2018 19:45:54 +0000 (12:45 -0700)]
use Queue<TaskCompletionSource<HttpConnection>> for waiter queue
Commit migrated from https://github.com/dotnet/corefx/commit/
3123c5d3cf56d53d66bafe4537ce57b1a2f9d726
Geoff Kizer [Thu, 27 Sep 2018 04:58:49 +0000 (21:58 -0700)]
fix merge issues
Commit migrated from https://github.com/dotnet/corefx/commit/
9492c90b407e5ee64d49d194d3442a91c5972e76
Geoff Kizer [Thu, 27 Sep 2018 04:46:49 +0000 (21:46 -0700)]
consolidate TransferConnection logic
Commit migrated from https://github.com/dotnet/corefx/commit/
71b749abf95d5edb7b12f7b652f87fcb7a14b33e
Geoff Kizer [Thu, 27 Sep 2018 04:23:50 +0000 (21:23 -0700)]
review feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
5825236de01a2446b2c0fd5eeae066eca833553b
Geoff Kizer [Sat, 15 Sep 2018 20:05:35 +0000 (13:05 -0700)]
reduce size of ConnectionWaiter object
Commit migrated from https://github.com/dotnet/corefx/commit/
7acb4f3e3db3decca67ff9ef606a3e4f5608581c
Geoff Kizer [Fri, 14 Sep 2018 00:01:47 +0000 (17:01 -0700)]
rework connection pool cancellation to avoid deadlock
Commit migrated from https://github.com/dotnet/corefx/commit/
4d8f60eb8d31e6f535890259b1bf3240ddf56223
Stephen Toub [Thu, 27 Sep 2018 19:53:50 +0000 (15:53 -0400)]
Move work out of HttpConnectionPool.ReturnConnection lock (dotnet/corefx#32500)
Some of the work being done inside the lock can be done before or after it instead.
Commit migrated from https://github.com/dotnet/corefx/commit/
29e351853cd6c8896cc5081f12c6a0d81b9755c5
Viktor Hofer [Thu, 27 Sep 2018 19:33:01 +0000 (21:33 +0200)]
Update Uap runner to correctly return the corresponding error level (dotnet/corefx#32512)
Commit migrated from https://github.com/dotnet/corefx/commit/
48320627bba3556c67d884174f60e5b202e3493e
Jan Vorlicek [Thu, 27 Sep 2018 19:04:17 +0000 (21:04 +0200)]
Remove tests for two unsupported features (dotnet/corefx#32513)
The thread statics and delegate marshalling are now being enabled for
collectible classes, so disable the corresponding tests.
Commit migrated from https://github.com/dotnet/corefx/commit/
1514607cc451a400532c57e566de8d0ecdd666cd
Huangli Wu [Thu, 27 Sep 2018 18:05:17 +0000 (11:05 -0700)]
Add back the missing code that handle source=="vals[i]" code. (dotnet/corefx#31590)
* Add back the missing code that handle source=="vals[i]" code.
* Move tests to XmlSerializerTests.cs so it will run in sgen test project.
* Fix name
Commit migrated from https://github.com/dotnet/corefx/commit/
4665fb83a8bfaba7d3ff331dcc290e7e3f9f7f8d
Alexander Egorov [Thu, 27 Sep 2018 16:57:25 +0000 (19:57 +0300)]
Useless if and code duplication eliminated within branch (//x is a right child or it is NIL) in RBDeleteFixup method (dotnet/corefx#32490)
Commit migrated from https://github.com/dotnet/corefx/commit/
3a359491fc24552395e1b4d344335dae41f6b287
Maxim Lipnin [Thu, 27 Sep 2018 14:41:34 +0000 (17:41 +0300)]
Remove unnecessary params keyword from System.Reflection.Tests.TypeInfoTests.ImplementedInterfaces test method signature (dotnet/corefx#32509)
Commit migrated from https://github.com/dotnet/corefx/commit/
a61c9571a24b7b141ea454205a7f650f244dcad0