Commit Graph
493 Commits
Author SHA1 Message Date
Eric Mellino 966c8e0251 [dev/eng] Overhaul ref and src project references, and start binplacing things (dotnet/corefx#14062)
* Used GenerateBuilds.ps1 script to generate the P2P references from the project.json files in ref

* Update refs to build with ProjectReference's instead of package references

This deletes all the ref\project.json files and instead adds ProjectReference
to other refs that are used to build.

There is only one exception which was System.Net.Http which needed a project.json
to get the net46 targeting pack otherwise everything else is P2P.

* Update Reflection.Emit contracts to support latest version of contracts

* Add depproj to get windows.winmd support when building refs

* Special handle System.Net.Http ref project to deal with net46 targeting pack

* Moved CLSCompliant to SecureString ctor instead of type

* Add P2P reference from S.IO -> S.R.Extensions

* Add additional ProjectReferences to more ref projects after master rebase

* Start binplacing ref assemblies and disable rest of build

* Simplify all ref projects to only build for netcoreapp (default target group)

* Only binplace netcoreapp refs

* Allow Reference's to be resolved from targeting pack directories

* Use GenerateBuilds.ps1 to convert src project.json refs to References

* Allow overriding stuff in Tools

* System.Runtime src project building against targeting pack

* Re-purpose GenerateBuilds.ps1 to re-write src references

* Only build csproj files in src.builds

* More custom stuff in GenerateBuilds.ps1

* Binplace all netstandard assemblies into netcoreapp as well.

* Add project.json to System.Collections.Immutable

* More custom generatebuilds.ps1 stuff

* Normalize csproj files before running GenerateBuilds.ps1

* Better match the replaced  'None Include="project.json"' line.

* Another missing project.json inclusion in csproj

* Remove ExcludeFromCodeCoverageAttribute from Immutable project

* Include another project.json

* Add some P2P references

* Add another project.json include

* Disable Http.Rtc project.

* Disable two more UWP projects and another P2P ref"

* More Cleanup

* Run GenerateBuilds.ps1 to re-write all nuget refs as <Reference>'s

* Binplace netstandard runtime assemblies to netcoreapp as well.

* Re-hook all src projects into build.proj

* Fix bin clashing caused by bad ProjectReference metadata

* Use 'copy' instead of 'cp' in init-tools.cmd. Add copying to init-tools.sh as well.

* Correct casing of windows.winmd in depproj

* Disable System.Memory.csproj outside of Windows

* Fix unix exclusion of System.Memory, and include vbproj files

* Fix VisualBasic compilation

* There was an extra definition of MemberTypes that was internal to the
  assembly. It's now defined in System.Private.CoreLib, so I deleted the
  extra here.
* There was an invalid call in Operators.vb that I fixed.

* Add additional project references and configuration fixes after rebase

* Fix build warnings in ref projects

* Fix build warnings in src projects


Commit migrated from https://github.com/dotnet/corefx/commit/a9f6d7d749f9946cc6b10c50b54bcae0e43e859e
2016-11-29 18:01:35 -08:00
Eric St. John 7a8f3f3151 Fix System.Net.Http.WinHttpHandler tests
We needed to pick up the updated harvested ref.


Commit migrated from https://github.com/dotnet/corefx/commit/2a2b792e54eeaae1bd4828ca7dac2c1bbc0e5edf
2016-11-22 13:45:26 -08:00
Eric St. John 34d56a4c14 Update stable dependencies to latest stable
This reduces total download of packages.


Commit migrated from https://github.com/dotnet/corefx/commit/d6fa06e13d29ce9931c395c729d5e61441c02ee8
2016-11-22 11:03:12 -08:00
dotnet-bot f7a208ba73 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24721-04, beta-24721-02, beta-24721-00, beta-24721-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bd9f87de00538052b6cf4c4faa261c0d22e04f90
2016-11-21 23:52:28 +00:00
dotnet-bot 17b9d2afa6 Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dbccc58ac0186bbcf9fe0445b255b33ea583ff56
2016-11-18 04:16:59 +00:00
dotnet-bot 709886b4f3 Update CoreClr, CoreFx, ProjectNTfs to beta-24717-03, beta-24717-02, beta-24717-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/67690bd0f2bff10db494e829755fffa667184600
2016-11-17 14:43:31 -05:00
John Chen eee1d81804 Merge pull request dotnet/corefx#13440 from JohnChen0/master
Replace APISet imports with Win32 imports on Windows

Commit migrated from https://github.com/dotnet/corefx/commit/c55435befeb372707558a5c441b3c64bf243948f
2016-11-16 09:43:40 -08:00
dotnet-bot f016cc9f63 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24716-02, beta-24715-03, beta-24716-00, beta-24716-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/75c2a6a9154044fe61e913db297e34a47f588994
2016-11-16 09:23:13 +00:00
John Chen (CLR) 6f8034b562 Merge latest from 'master' and resolved conflicts
Commit migrated from https://github.com/dotnet/corefx/commit/b9b53c8efa4b259312f8997c86dcfb11083f88ab
2016-11-15 09:11:17 -08:00
Stephen Toub 482458afd0 Update CoreFx, External, ProjectNTfs to beta-24715-02, beta-24715-00, beta-24715-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/9e8050a2bdca9aeff16bd8e704f380e86813821d
2016-11-15 11:43:51 -05:00
Stephen Toub 141d10f785 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/6f157355d5d0885a95ab8f4b4b4d00b1223e11c9
2016-11-14 17:04:37 -05:00
Stephen Toub c29c12aecb Fix System.Net.Http.WinHttpHandler build
All of the previous commits were focused on System.Net.Http.  This fixes up the System.Net.Http.WinHttpHandler build to work with the changes.


Commit migrated from https://github.com/dotnet/corefx/commit/035f06ab40dab532080bc5026f7fd92b2c463687
2016-11-14 17:00:02 -05:00
Stephen Toub 1c5bfa45ed Shrink SendRequest state machine by 15%
On 64-bit, lower the size of the SendRequest state machine from 160 bytes to 136 bytes


Commit migrated from https://github.com/dotnet/corefx/commit/449b7b2fb6deb87e55e3688f4480bce96e6d2441
2016-11-14 16:59:26 -05:00
Stephen Toub 56c60f6d03 Use cached StringBuilder for building response headers
Commit migrated from https://github.com/dotnet/corefx/commit/9b734e5ab593b338f7b02de3d4099eaedf4f15be
2016-11-14 16:59:26 -05:00
Stephen Toub 69c44884a9 Remove ReadOnlyStream allocation and shrink response content
Use a custom stream content that doesn't force us to allocate a ReadOnlyStream wrapper, that gives us the CancellationToken-based ctor we need, and that's smaller, without unnecessary fields.


Commit migrated from https://github.com/dotnet/corefx/commit/786e23394e997bd82f0ff9e657f5ea9ac002901c
2016-11-14 16:59:26 -05:00
Stephen Toub 978bb4ca4f Significantly reduce Task-based allocations in request lifecycle
New TaskCompletionSource/Task objects are being used for every stage of the lifecycle.  We can instead reuse a single awaitable object to avoid most of those costs.  We can then also add a CopyToAsync implementation to the response stream, which further reduces those costs (CopyToAsync is used by HttpContent, so benefits here accrue not only to custom user code but also the rest of the implementation).


Commit migrated from https://github.com/dotnet/corefx/commit/48214d726de9e1a150fe5b041832c41655b69815
2016-11-14 16:59:26 -05:00
Stephen Toub 2b4a8365d3 Lazily-allocate the TransportContext
It's only needed in some situations, so don't allocate it in others.


Commit migrated from https://github.com/dotnet/corefx/commit/832d4152e4f97234937a49ec2c2ebf74f1d275c2
2016-11-14 16:59:26 -05:00
Stephen Toub eb38e188e3 Avoid allocating a lock object
Just lock on the state object itself.


Commit migrated from https://github.com/dotnet/corefx/commit/fe7555e06b6e89ef541da5046723e2e0fb88c712
2016-11-14 16:59:26 -05:00
Stephen Toub ed1fd29e3a Use ArrayPool to avoid a per-response char[] allocation
We currently allocate a new char[] to hold all of the response headers.  Use ArrayPool instead.


Commit migrated from https://github.com/dotnet/corefx/commit/e3dfaf26f6f75a71916d78b374496704fffdf5a2
2016-11-14 16:59:26 -05:00
Stephen Toub 6a11e33c9d Avoid cookie-related allocations when there aren't any cookies
Commit migrated from https://github.com/dotnet/corefx/commit/8d9e30248ec761f81a501fbdc8212538aae2d9bb
2016-11-14 16:58:25 -05:00
Stephen Toub 3a45bc1304 Add a reusable awaitable data structure
Like TaskCompletionSource, this RendezvousAwaitable allows for a result or error to be passed from a producer to a consumer, with a consumer awaiting the object and a producer setting the result/error into it.  It may be reused any number of times (serially), avoiding having to allocate a new TaskCompletionSource/Task for each operation.


Commit migrated from https://github.com/dotnet/corefx/commit/43437d20c4523d15df818fde5ccbc64282244fe1
2016-11-14 16:58:25 -05:00
dotnet-bot bb01d482d2 Update CoreFx, ProjectNTfs to beta-24714-01, beta-24714-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3342536d369d922f14cc1a9c0fb91b4440a6967e
2016-11-14 15:46:09 +00:00
dotnet-bot a02764567f Update CoreFx to beta-24711-02
Commit migrated from https://github.com/dotnet/corefx/commit/3709a83afb9ffb8aa05b6c6f5561859527226595
2016-11-11 15:52:34 +00:00
dotnet-bot b9b36cbb7a Update CoreFx, External, ProjectNTfs to beta-24711-01, beta-24711-00, beta-24711-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/2ab7ba374f98bb0c3785435169d9b568c5f24eba
2016-11-11 06:19:20 +00:00
John Chen (CLR) e6544e45f9 Reorganize DLL imports
Removed obsolete constants from Interop.Libraries.cs, and moved
files under src/Common/src/Interop/Windows to proper locations.


Commit migrated from https://github.com/dotnet/corefx/commit/aff71a53a57a39cbcaa7110c7dc1124f0700c13d
2016-11-10 16:04:46 -08:00
dotnet-bot d1fb8ddc0f Update CoreFx, External, ProjectNTfs to beta-24710-01, beta-24710-00, beta-24710-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0a2361383fda2720c5eada8c80d24850a9d61246
2016-11-10 14:31:27 -08:00
dotnet-bot c5bd931c2d Update CoreFx to beta-24709-02
Commit migrated from https://github.com/dotnet/corefx/commit/68a1670fc7b9c9419f5d3100ac9a4347874aeef8
2016-11-09 15:38:49 +00:00
dotnet-bot d6f29b0517 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24709-02, beta-24709-01, beta-24709-00, beta-24709-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8a5167a13e1ae72cff71285c49f5f84e10a64248
2016-11-09 09:19:32 +00:00
dotnet-bot c561086403 Update CoreClr, CoreFx to beta-24709-01, beta-24708-05, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bafbeec4841285834d31bee295c225a61de2b780
2016-11-09 01:10:38 +00:00
Stephen Toub 27794c3e5c Update corefx to beta-24708-03
Commit migrated from https://github.com/dotnet/corefx/commit/9f9c2885208315215b7e328ea399f13c83d1b8a7
2016-11-08 17:10:15 -05:00
dotnet-bot b740f1d2bd Update CoreClr, CoreFx, External, ProjectNTfs to beta-24708-02, beta-24707-01, beta-24708-00, beta-24708-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b255d0bf4df94eb383c1bb4b42b1bfe9b64f3238
2016-11-08 17:07:45 -05:00
dotnet-bot d63a7b41df Update CoreFx to beta-24705-01
Commit migrated from https://github.com/dotnet/corefx/commit/c7603507fe200426130f10d6b2cc67dfeda2c83f
2016-11-05 02:22:03 +00:00
dotnet-bot 540789c36c Update CoreClr, CoreFx, External, ProjectNTfs to beta-24704-04, beta-24704-03, beta-24704-00, beta-24704-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d75d49704cffb9652304a357750d7f3f357be6fc
2016-11-05 00:21:20 +00:00
Stephen Toub 4d8438fb1a Merge pull request dotnet/corefx#13316 from joperezr/UpdateCorefxDependencies
Updating corefx versions to beta-24703-01

Commit migrated from https://github.com/dotnet/corefx/commit/23c2758bf8fbecf2e0758b4cc792f3b75d10766b
2016-11-03 15:02:08 -04:00
Jose Perez Rodriguez 2db115c87d Updating corefx versions to beta-24703-01
Commit migrated from https://github.com/dotnet/corefx/commit/39b5977106283eb0017dbc43af7f4d6b195753b1
2016-11-03 10:23:38 -07:00
Stephen Toub 5c80441a2c More aggressively clean up disposable resource in Http tests
Most of these likely don't matter, but some of these can be keeping alive the underlying connections associated with the HttpClient instance, and it's possible that can lead to more resource contention / exhaustion.


Commit migrated from https://github.com/dotnet/corefx/commit/ec47d4e19f3215f75e652e8e5ff61cc4c253c056
2016-11-03 11:18:27 -04:00
Eric Mellino b22982fb03 Merge pull request dotnet/corefx#13233 from mellinoe/fedora-24
Add full support build for test runs on Fedora 24

Commit migrated from https://github.com/dotnet/corefx/commit/31cb259750808d9f2c1e4788f4bf8a2ea1ab3695
2016-11-02 12:10:39 -07:00
Stephen Toub 183b074730 Fix HttpVersion conflicts
Added an HttpVersionInternal to be used by the higher-stack libraries that need things beyond HttpVersion.Version10/Version11 and/or that have builds targeting versioning of System.Net.Primitives that doesn't have the newly exposed HttpVersion.  This can be removed once all of those libraries have all of their builds targeting the updated primitives lib.


Commit migrated from https://github.com/dotnet/corefx/commit/119ae03ddc2ce49511f10b02fb39818aab0aa577
2016-11-01 19:42:30 -04:00
Stephen Toub 4ee10f7b6c Update CoreFx, ProjectNTfs to beta-24701-01, beta-24701-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/1b2b88d11c6b0d226481c96b1a88d20bb8cefaf9
2016-11-01 19:42:30 -04:00
Eric Mellino 6a3b8fa4fd Support full test builds on fedora 24
Commit migrated from https://github.com/dotnet/corefx/commit/f3ae1c1cea4709252b48179fd1eed5a18740d8fc
2016-11-01 22:56:10 +00:00
Stephen Toub 5f0b53cb3c Update CoreFx to beta-24629-01 (master)
Commit migrated from https://github.com/dotnet/corefx/commit/63a1dbe34233c086f7fc6d28b1fefecfefc822ed
2016-10-29 22:41:56 -04:00
dotnet-bot ad2c08f972 Update CoreFx to beta-24628-03
Commit migrated from https://github.com/dotnet/corefx/commit/e634b174854638f226c81ebd5a2b6d22afca83de
2016-10-28 19:01:25 +00:00
dotnet-bot 519246eb66 Update CoreClr, CoreFx to beta-24628-03, beta-24628-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/56c61a5a1158ef9f1c84c87442f39015d9042491
2016-10-28 16:27:01 +00:00
dotnet-bot 5eb2424d89 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24628-02, beta-24628-01, beta-24628-00, beta-24628-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/56b92839e58ab41582e98eaf87452ec4b50712b4
2016-10-28 09:16:27 +00:00
dotnet-bot 4ed327f131 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24627-05, beta-24627-05, beta-24627-00, beta-24627-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b030c0a58466c70ca34b56933903b31e580e6189
2016-10-27 22:28:54 +00:00
Jose Perez Rodriguez c794456414 Re-add test configurations that were not being tested by CI anymore
Commit migrated from https://github.com/dotnet/corefx/commit/f900522981c001eb02407c7083eb7d3ee3831dbf
2016-10-27 11:27:08 -07:00
dotnet-bot a196fb6572 Update CoreFx to beta-24626-02
Commit migrated from https://github.com/dotnet/corefx/commit/ffd454cef1f7dd4a2f6969747cf45a4729e6387c
2016-10-26 14:46:03 +00:00
dotnet-bot de5dd7cba0 Update CoreClr, CoreFx, ProjectNTfs to beta-24626-01, beta-24625-02, beta-24625-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ff859b462ada317c02c96b93918ec0e2d072459e
2016-10-26 00:20:25 +00:00
Matt Galbraith 499ac922d7 Update Microsoft.DotNet.BuildTools.TestSuite and Microsoft.xunit.netcore.extensions
Commit migrated from https://github.com/dotnet/corefx/commit/262cef73a95a6f743ce19abc0b42a80ff715ac52
2016-10-25 10:47:06 -07:00
dotnet-bot b943e5d281 Update CoreClr, CoreFx, External to beta-24625-02, beta-24625-01, beta-24625-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/e1bdcc213a47f4761a6a46e8e0d612d7bc237c9a
2016-10-25 08:19:47 +00:00