David Shulman
52476494de
Merge pull request dotnet/corefx#3199 from justinvp/winhttphandler_parseresponseheaders
...
Reduce allocations when parsing response headers in WinHttpHandler
Commit migrated from https://github.com/dotnet/corefx/commit/35f7ef05a8022358ec435152e7099d8263a4422a
2016-02-18 15:52:45 -08:00
Stephen Toub
d4db1933ef
Merge pull request dotnet/corefx#6225 from dotnet/nguerrera/breaking-change-fix
...
Fix incorrect statement about changing return types
Commit migrated from https://github.com/dotnet/corefx/commit/7a4f11e4cca0ff70e02727dc4de4cac9a904f35f
2016-02-18 18:42:42 -05:00
Nick Guerrera
c04a144c3c
Clarify that dynamic ranges can change, but static types cannot
...
Commit migrated from https://github.com/dotnet/corefx/commit/349c09a7a9a6700bbfc0d4c4766000a6fcd01379
2016-02-18 14:54:09 -08:00
Stephen Toub
26db853c12
Merge pull request dotnet/corefx#6214 from bartonjs/csp_coverage
...
Improve coverage of the S.S.Cryptography.Csp package
Commit migrated from https://github.com/dotnet/corefx/commit/6022bfafe4d0888ee7d6ef77c2186621d6f69271
2016-02-18 17:48:52 -05:00
Eric Mellino
f9ea81bda5
Merge pull request dotnet/corefx#6176 from hughbe/complex-test-refactoring
...
Consolidate TestData in Complex tests
Commit migrated from https://github.com/dotnet/corefx/commit/917388b1ad38b97d6bc29652c50242edc24db17a
2016-02-18 14:44:09 -08:00
Stephen Toub
d4b2dba4d6
Merge pull request dotnet/corefx#6207 from hughbe/threading-test-namespaces
...
Add namespaces to System.Threading tests
Commit migrated from https://github.com/dotnet/corefx/commit/e8ddd463f3529c1967e08b2e39f7bbcc8045f650
2016-02-18 17:27:06 -05:00
Stephen Toub
d2df8c7181
Merge pull request dotnet/corefx#6213 from pallavit/Issuedotnet/corefx#6029
...
Increase the System.ServiceProcess.ServiceController tests timeout
Commit migrated from https://github.com/dotnet/corefx/commit/89ea2ae85a01e5cfe150d0a4450a56ab4d9eba2a
2016-02-18 17:24:48 -05:00
Pallavi Taneja
b4f2d286df
Update the ServiceProcess tests timeout to 10 seconds
...
Commit migrated from https://github.com/dotnet/corefx/commit/848648d71dcac7edb0b8e883aeb49f36be658f65
2016-02-18 13:39:33 -08:00
Hugh Bellamy
c91b58111f
Add namespaces to System.Threading tests
...
- Part of dotnet/corefx#2898
- Allows me to remove some usings
Not sure why the diff has to be so confusing, sorry
Commit migrated from https://github.com/dotnet/corefx/commit/db9fe976feffd31dce4761a1dd9312fe3dd7640f
2016-02-18 20:33:37 +00:00
Ian Hays
81d6f5d11c
Merge pull request dotnet/corefx#6182 from ianhays/compression_async
...
System.IO.Compression: Delegate to underlying stream async methods
Commit migrated from https://github.com/dotnet/corefx/commit/a136cb1ab38c0bad421cec18ca134a5a001881c9
2016-02-18 12:26:51 -08:00
Lakshmi Priya
469dcda801
Merge pull request dotnet/corefx#6193 from Priya91/groovychanges
...
Make outerloop ubuntu14.04 runs to be run as sudo.
Commit migrated from https://github.com/dotnet/corefx/commit/209761f0dc425d096fbacc888bed731a853f9797
2016-02-18 11:30:59 -08:00
bartonjs
dca2ed164b
Delete dead code in SafeCryptoHandles.cs
...
Each of the CAPI Safe*Handle types had a private constructor which took
an IntPtr. Nothing called them, and deleting them didn't cause any
failures due to reflection dependencies.
Also deleted a bunch of commented out code from the porting to .NET Core.
Commit migrated from https://github.com/dotnet/corefx/commit/056f83529c009cc94b3731aa2b43b6209b51a4eb
2016-02-18 11:01:52 -08:00
bartonjs
f8172cbcac
Dispose SafeKeyHandles allocated in GetProviderParameter
...
Within the VM the maybe-allocated SafeKeyHandle was held by a stack-allocated
class with a freeing-dtor. The C# transliteration moved this local-free to a
delayed-free, which caused a Finalizer race condition in this key handle and
its parent SafeProvHandle.
There are likely more unnecessary finalizations going on, but this is the one
that caused the tests to fail with a tripped assert, so it's being fixed in isolation
and a new issue is tracking the overall cleanup.
Commit migrated from https://github.com/dotnet/corefx/commit/189d56912195a57115e13e4f889fff41cdaa2926
2016-02-18 11:01:50 -08:00
bartonjs
0881ab4c62
Set RSACryptoServiceProvider.PublicOnly to true when public only
...
The isPublic value was calculated, but wasn't assigned to the field. This
behavior got lost in the translation of the code out of the VM.
Commit migrated from https://github.com/dotnet/corefx/commit/807a84593b1127b68219d13a44e416cd3185165b
2016-02-18 11:01:48 -08:00
bartonjs
050e45a67d
Remove trailing null character on UniqueKeyContainerName
...
When the UniqueKeyContainerName value was being set within the VM there
was automatic c-string to BStr translation which removed the trailing null
character from the value. Now that it's being handled within managed code
that translation is less automatic.
Commit migrated from https://github.com/dotnet/corefx/commit/6bdfdcb11d09eb2f1f9b44b1f0b3e55784c1a0e4
2016-02-18 11:01:46 -08:00
bartonjs
0a1a86b347
Populate CspKeyContainerInfo.ProviderName when only ProviderType was set
...
This behavior was lost in translation from being in the VM. When creating CSP
keys using just the provider type code (e.g. 24) the provider name is populated
on the CspKeyContainerInfo object.
This change restores that behavior.
Commit migrated from https://github.com/dotnet/corefx/commit/392e66f936e4fe7d61ef739f13e3ad2389bf6eb1
2016-02-18 11:01:44 -08:00
bartonjs
2e2f3a7209
Improve coverage of the S.S.Cryptography.Csp package
...
* Added tests to validate the PublicOnly property
* Added tests to validate the CspKeyContainerInfo population
* Added tests for the RSACryptoServiceProvider-specific Sign and Verify methods
* Added tests which verify persistant key support
Commit migrated from https://github.com/dotnet/corefx/commit/42d2cad15ee4fa6d78dc878b1cf4e18453c8d287
2016-02-18 11:01:33 -08:00
Atsushi Kanamori
76b25ee11c
Merge pull request dotnet/corefx#6208 from AtsushiKan/aesreuse
...
Reenable Aes InPlaceDecryption test.
Commit migrated from https://github.com/dotnet/corefx/commit/d04b86fdf63180c337d628789b43759493d0923f
2016-02-18 10:41:56 -08:00
Ian Hays
c151d412f0
PR feedback for System.IO.Compression async delegation
...
Commit migrated from https://github.com/dotnet/corefx/commit/c6b3ef812179f52854cd3337a48795642d567975
2016-02-18 10:05:41 -08:00
David Shulman
eaf6c89fae
Merge pull request dotnet/corefx#6174 from hughbe/extensions
...
Cleanup WebUtility tests
Commit migrated from https://github.com/dotnet/corefx/commit/72f084798c917a647eed5b66d3d85ad62be08486
2016-02-18 09:35:47 -08:00
Atsushi Kanamori
a598a6e025
Renable Aes InPlaceDecryption test.
...
Commit migrated from https://github.com/dotnet/corefx/commit/61fb32299a276f1aa4103c85dcec215dfddc252d
2016-02-18 08:46:55 -08:00
Stephen Toub
2ecfe79399
Merge pull request dotnet/corefx#6190 from stephentoub/update_packages
...
Update packages to rc3-23818
Commit migrated from https://github.com/dotnet/corefx/commit/8737f673b55ccd3eee7fbb8f914b5bcbb7c44d7b
2016-02-18 08:36:49 -05:00
stephentoub
95d7cc7534
Update packages to rc3-23818
...
Commit migrated from https://github.com/dotnet/corefx/commit/380a2ebf4a498f9ab0a819c71d8717377e601bfb
2016-02-18 07:28:09 -05:00
Hugh Bellamy
dc54714f00
PR feedback
...
- Fix non-Windows failures
- Reinstate double.Epsilon tests
Mark readonly fields as readonly
Commit migrated from https://github.com/dotnet/corefx/commit/e99cc0e7c7fdbeb42922e4a4069887df239b0111
2016-02-18 09:53:02 +00:00
Lakshmi Priya Sekar
4566a4859c
Make outerloop ubuntu14.04 runs to be run as sudo.
...
Commit migrated from https://github.com/dotnet/corefx/commit/e0c8eb171dbb25d87642397799648590b4837699
2016-02-17 21:09:16 -08:00
Matt Mitchell
095bdb1f3b
Merge pull request dotnet/corefx#6192 from mmitche/fix-ubuntu-labeling
...
Use latest or auto always
Commit migrated from https://github.com/dotnet/corefx/commit/24fd583c0ded430aa05bfbde1a94e50d5b43b62b
2016-02-17 20:05:52 -08:00
Matt Mitchell
0a1e9f9473
Use latest or auto always
...
Commit migrated from https://github.com/dotnet/corefx/commit/897e5579c838a55b180f281345ff52dbf113a8d4
2016-02-17 19:56:29 -08:00
Stephen Toub
70f693a1c9
Merge pull request dotnet/corefx#6189 from stephentoub/concat3_remove
...
Remove unnecessary LINQ Concat3Iterator
Commit migrated from https://github.com/dotnet/corefx/commit/d0cf97c6c6e18eb7ff1748372d775c7d5c10ef8a
2016-02-17 22:29:44 -05:00
Stephen Toub
c78d8fd901
Merge pull request dotnet/corefx#6160 from manu-silicon/arm
...
Allow native compilation on arm
Commit migrated from https://github.com/dotnet/corefx/commit/fc27e9b0a8e3aa27fef043390100f252be840988
2016-02-17 22:20:02 -05:00
Stephen Toub
eefa4b6b57
Merge pull request dotnet/corefx#6126 from ericeil/AsyncRoot
...
Use SafeHandles in *nix Sockets implementation
Commit migrated from https://github.com/dotnet/corefx/commit/993a8ca28d8f472af64cb978c2b3c0d725d5418a
2016-02-17 22:03:22 -05:00
stephentoub
185ad1183a
Remove unnecessary LINQ Concat3Iterator
...
When I reimplemented Concat yesterday, I initially did so where longer chains of concats would end up using an allocated array to store all of the enumerables. Since short chains of 2 and 3 concats are relatively common, I special cased those to not need the array. I then changed the implementation to use a linked list of the concat iterators instead of the array, at which point while 2 sources still needed to be special cased, 3 didn't, but I neglected to remove the special 3 case. This removes it, as it adds some code without commensurate benefit.
Commit migrated from https://github.com/dotnet/corefx/commit/a6320340d603d391e605f6a409a48f707f6e769b
2016-02-17 21:57:07 -05:00
Stephen Toub
e41aa6b7fa
Merge pull request dotnet/corefx#6159 from manu-silicon/sendfile
...
Fix sendfile on 32-bit platforms and support large files copying
Commit migrated from https://github.com/dotnet/corefx/commit/ffddf5b33b250645211d33eb1f08eed14b63960b
2016-02-17 21:42:22 -05:00
Stephen Toub
9f34204d60
Merge pull request dotnet/corefx#6178 from jasonwilliams200OK/rm
...
Remove an unused file
Commit migrated from https://github.com/dotnet/corefx/commit/51c981b6a82452ea260ec86f2f9edee857937073
2016-02-17 21:12:49 -05:00
Stephen Toub
a63210f824
Merge pull request dotnet/corefx#6183 from dotnet-bot/from-tfs
...
Merge changes from TFS
Commit migrated from https://github.com/dotnet/corefx/commit/15bc27a928ac4cd28367f4835d454c2331c3fea9
2016-02-17 21:12:25 -05:00
Stephen Toub
b75652ffc6
Merge pull request dotnet/corefx#6179 from chcosta/encoding
...
Update encoding for dotnet library license
Commit migrated from https://github.com/dotnet/corefx/commit/b1de045424713b6ef06a03786407ce1053c4b447
2016-02-17 21:06:14 -05:00
Wes Haggard
c9f09d5737
Rollback part of the change introduced by https://github.com/dotnet/corefx/pull/6130 because it changed the return type of a public API which is a breaking change.
...
[tfs-changeset: 1576106]
Commit migrated from https://github.com/dotnet/corefx/commit/32464fd2e70a01583bb856bc922065723f510318
2016-02-17 17:29:00 -08:00
Manu
311f7d2c68
Fix sendfile on 32-bit platforms and support large files copying
...
Fix using 64-bit offset on 32-bit platforms where C code would not compile.
Fixed code to allow copying of large files (>2GB).
Commit migrated from https://github.com/dotnet/corefx/commit/694ab10b2415eab9fd7cd42d7afb951d661c9101
2016-02-18 09:20:18 +09:00
Ian Hays
d410371050
System.IO.Compression: Delegate to underlying stream async methods
...
Commit migrated from https://github.com/dotnet/corefx/commit/4a95099db412fc3346b1ffa0d503e64420165e02
2016-02-17 16:04:08 -08:00
Christopher Costa
60722d1370
Update encoding for dotnet library license
...
Commit migrated from https://github.com/dotnet/corefx/commit/8b6ac2deabef3c5af7fec383dacf7fad6e1ab17e
2016-02-17 15:51:57 -08:00
Peter Jas
eacbdfcea3
Remove an unused file
...
Commit migrated from https://github.com/dotnet/corefx/commit/2ffcf0d6f0e6a6ab4d9250ac8c96d9d4fc2adc0a
2016-02-17 23:24:33 +00:00
Pallavi Taneja
5783ab702f
Increase the System.ServiceProcess.ServiceController timeout
...
Commit migrated from https://github.com/dotnet/corefx/commit/2c667ece7b5009a585d63c62eca726533179c641
2016-02-17 15:01:06 -08:00
Hugh Bellamy
23747f407c
PR feedback
...
Commit migrated from https://github.com/dotnet/corefx/commit/c3a76cc5aae7457b952f851d2be2c4ded6d93690
2016-02-17 22:42:45 +00:00
Hugh Bellamy
a2c097802e
Consolidate TestData in Complex tests
...
- Cleanup tests that aren't pulling their weight
Commit migrated from https://github.com/dotnet/corefx/commit/1a8b348e6275037886483f62c0b1baa0b8e09c77
2016-02-17 22:37:40 +00:00
Eric Mellino
0e7b50c1c2
Merge pull request dotnet/corefx#6171 from mellinoe/sync-vb
...
Sync Microsoft.VisualBasic changes from TFS
Commit migrated from https://github.com/dotnet/corefx/commit/98630bd95c2efa68d7f47521bb00a00e521828e0
2016-02-17 13:37:48 -08:00
Hugh Bellamy
32c94fb9fa
Cleanup WebUtility tests
...
- Use xunit InlineData
Commit migrated from https://github.com/dotnet/corefx/commit/50c4f51c34ce953aad866fc825d92d40de46789a
2016-02-17 20:58:37 +00:00
Eric Mellino
875d2b35b7
Sync Microsoft.VisualBasic changes from TFS
...
These changes were made on the closed version of our library. Before
deleting that copy, I'm making sure the source code is in sync with the
open version.
Includes three TFS changes:
Changeset 1491194:
Enable latebound calls to DynamicObjects in VB.
Changeset 1461633:
Adjust implementation of HasSameMetadataDefinitionAs to be resilient to
failures of Expression.Compile.
Changeset 1478798:
Implementing the fix for more robust MetadataToken probing for VB
Commit migrated from https://github.com/dotnet/corefx/commit/ed34667ed0b762aa2ea5402e8c656b4ed095123d
2016-02-17 11:26:26 -08:00
Justin Van Patten
0621da41e7
Tweak TryGetHeaderName test
...
Commit migrated from https://github.com/dotnet/corefx/commit/11e8868cd9f9b41c2fa8b1d36b1f124adb5c4ba6
2016-02-17 11:08:21 -08:00
Justin Van Patten
1418f94145
Address PR feedback
...
Commit migrated from https://github.com/dotnet/corefx/commit/0aab2ac0feffe1ff3adce05bda7bf6a0e9a8baac
2016-02-17 11:07:14 -08:00
Eric Mellino
eeba64111f
Merge pull request dotnet/corefx#6168 from dagood/reapply-capitalization-fixes
...
Work around xplat nuget restore race condition by fixing capitalization
Commit migrated from https://github.com/dotnet/corefx/commit/49fcd061232ba47fd0f20341a4f54a396fd72583
2016-02-17 10:57:19 -08:00
VSadov
3970446ec8
Merge pull request dotnet/corefx#6005 from JonHanna/reduce_duplicate_validation
...
Remove duplicate validation calls in Expression.
Commit migrated from https://github.com/dotnet/corefx/commit/9a841733b057ab68badf4da7d8553f73f0fc4f90
2016-02-17 10:42:00 -08:00