Commit Graph
17 Commits
Author SHA1 Message Date
bartonjs a768025131 Update all project.lock.json files
Built Windows_NT, Linux, OSX with /p:LockDependencies=true.

CoreFX beta-* => 23419
xunit.netcore.extensions => 00107


Commit migrated from https://github.com/dotnet/corefx/commit/a14b22705df253508bd5f2dab0407bd2c7e4d639
2015-10-19 16:00:44 -07:00
Eric St. John 8cd3109d56 Switch from using "dotnet" to using "dotnet<generation>"
All projects that previously used dotnet have been updated to specify the appropriate generation of the surface area they depend on or in the case of desktop inbox contracts, the generation that includes the set of platforms they can support.

Now all packages contain all generations of API that they have ever shipped.

In doing this I needed to change how we determine package version.  Before we ensured all assemblies would have the same version and used that.  Now we choose the max.

Additionally I needed to change how we chose which asset to use for netcore50 when the dotnet asset was obscured by a placeholder for a previous netcore release (eg System.Runtime will have placeholders for Win8 since it was inbox there).  To do this I wrote a task that uses nuget to evaluate the package assets with and without the placeholders.  In this way it chooses the "best" dotnet implementation and reference assembly to use for netcore50.

This new model made my old MSBuild-based validation impossible to carry forward, so I wrote better validation in a task that actually uses Nuget's asset resolution algorithm.  This uncovered many existing issues in packages that I have cleaned up.  The validation algorithm could use some polish but its working now.  Perf is not great, package build went from 15s to ~2 minutes.  I'll work on this some more by making it incremental (input: nuspec, output: marker created on success).  Profiling shows that most of the time is spent in calling the nuget APIs.  I'll see if I can reduce some of this with caching for things that don't change (eg: RID graph).  Ultimately I think its a reasonable tradeoff for the types of bugs I can find this way.

[tfs-changeset: 1539216]


Commit migrated from https://github.com/dotnet/corefx/commit/0931c347eb836c9da94d0d5ff9ad7a14403b9738
2015-10-18 21:12:23 -07:00
Ian Hays 0f8197a86c Update CoreFX to xunit 2.1.0
Commit migrated from https://github.com/dotnet/corefx/commit/87b48c58936d66fcb201b3a8ad0961fa055f23b9
2015-10-01 19:56:49 -07:00
Alexander Köplinger 3e20a867b2 Update build to use DNX beta7 instead of beta5
The corefx build used an older beta5 version of DNX which hardcoded the path to bash in dnu, breaking the build on FreeBSD.
Updating DNX to the latest "stable" beta7 release fixes this.

After updating I noticed a few test projects didn't build anymore as they were missing some dependencies in project.json, added those.

Fixes dotnet/corefx#3173


Commit migrated from https://github.com/dotnet/corefx/commit/6df77fdbb6cf8e0d35a3074bb325f7810085daa3
2015-09-16 02:12:26 +02:00
Stephen Toub b662ef5384 Merge pull request dotnet/corefx#2972 from Maxwe11/webheadercollection-tests
Add more tests for WebHeaderCollection

Commit migrated from https://github.com/dotnet/corefx/commit/d8339c7fd932207df3da3af6b4b5a833b6c7432d
2015-08-26 09:51:17 -04:00
Dmitry Turin 97db831455 Add more tests for WebHeaderCollection
Commit migrated from https://github.com/dotnet/corefx/commit/6c117eac92a59920dad99459df7a6148d38a1708
2015-08-26 08:39:10 +03:00
Dmitry Turin f8c9a3b98c Address PR feedback for System.Net.WebHeaderCollection
- HeaderParser delegate replaced with Func<string, string[]>;
- Initialization in static constructor replaced with field initialization;
- Improved parsing of multi values (eliminated array allocation and possible
allocations when string trimmed);
- CaseInsensitiveAscii comparer replaced with StringComparer.OrdinalIgnoreCase;
- HeaderInfoTable class has been made static;
- Nongeneric collection replaced with generic.


Commit migrated from https://github.com/dotnet/corefx/commit/d8ad999be9a204154b3cfc52759641a4323deb19
2015-08-26 00:51:44 +03:00
Eric St. John d7a0ae297b Update corefx packages to latest
Commit migrated from https://github.com/dotnet/corefx/commit/23f0b695bd162e0f665427c95180dc21931e5c70
2015-08-14 15:43:23 -07:00
Eric St. John 77309d4821 Update the version of all assemblies
This change updates the assembly versions of all of the corefx assemblies
as needed after we shipped stable versions.  Assemblies with API differences
get a minor version bump.  Assemblies with only bugfixes get a build version
bump.

In order to facilitate this I had to update the reference assemblies, so I took
the opportunity to port them all to the open.

[tfs-changeset: 1514419]


Commit migrated from https://github.com/dotnet/corefx/commit/40723b795917f2e98b64d45c17effb2546dd0cae
2015-08-13 17:07:57 -07:00
Eric Mellino 66969e748b Re-lock dependencies with latest xunit
Commit migrated from https://github.com/dotnet/corefx/commit/795cbc75f8e167047a7c19cd7e21e99b9b9f4308
2015-08-03 16:40:33 -07:00
Eric Mellino c0015fc582 Move all tests to latest xunit beta
Commit migrated from https://github.com/dotnet/corefx/commit/7c12b0120834f92d5c591124f692ea1b64c6a877
2015-08-03 11:27:48 -07:00
Eric St. John 47aaf9fcf8 Use stable package dependencies and move our packages to post-stable versions
This change modifies the build to consume the stable version where available.

This disables building the dowlevel packages since we shipped them once as stable and we're done.
From here on out, we'll only build the latest version (except for a servicing event, which would
be handled by syncing to a hash).

I can't rev the package versions in the normal way yet (by modifying the assembly version of the contents)
because that turned out to be too big of a problem to tackle in this change. Instead I added a
parameter to the task that calculates package versions to do the rev for anything that was
stable, but only when building the package itself, not when calculating the dependencies.
This has the downside of not permitting a dependency on a incremented pre-release version if we've
shipped a stable version, but that is a small point in time problem until I can rev the assembly
versions.

[tfs-changeset: 1508664]


Commit migrated from https://github.com/dotnet/corefx/commit/ee1ec2891c7c65b46fa9dfb078636be503bb2a60
2015-07-31 15:47:51 -07:00
Stephen Toub 335036f7ee Merge pull request dotnet/corefx#2408 from pgavlin/SNWebHeaderCollection
Fix WebHeaderCollection.GetEnumerator().

Commit migrated from https://github.com/dotnet/corefx/commit/6d93e0ec46d4e15fb1d0ef10be1fd30a29549921
2015-07-17 20:36:35 -04:00
Pat Gavlin e7ef72912e Restore public surface.
Commit migrated from https://github.com/dotnet/corefx/commit/d6bd148c31fb7054a3ac0cd4cd19a469bdb81c00
2015-07-17 13:53:26 -07:00
Pat Gavlin 4e5626c1d1 Fix WebHeaderCollection.GetEnumerator().
Change WebHeaderCollection.GetEnumerator() from an explicit implementation
to a public override to avoid delegating to the base collection. This change
also adds a test for this behavior.


Commit migrated from https://github.com/dotnet/corefx/commit/f4203697a66e4a4f6fd9afa2fd8cec0f4924a3b6
2015-07-17 13:29:26 -07:00
dotnet-bot 6407d926bd Initial commit of System.Net.Requests
This change also contains some minor refactorings in
System.Net.{Http,WebHeaderCollection} in order to share some code between
the various System.Net assemblies.


Commit migrated from https://github.com/dotnet/corefx/commit/e5c85aae7b35a7178950a1a3b518262714c4fd64
2015-07-17 10:34:58 -07:00
dotnet-bot 3e859acf0f Initial commit of System.Net.WebHeaderCollection
Commit migrated from https://github.com/dotnet/corefx/commit/8c9d941b45d427756a478e7cf7010bbf5a423319
2015-07-15 10:00:48 -07:00