Commit Graph
45 Commits
Author SHA1 Message Date
David Shulman 668471c1a1 Fix build due to recent GitHub PR merge https://github.com/dotnet/corefx/pull/5151
[tfs-changeset: 1564239]


Commit migrated from https://github.com/dotnet/corefx/commit/641df2682b05f9ab212713ff5b9c93adf9e7bb2c
2016-01-13 11:07:07 -08:00
David Shulman adb79c2b9e Merge pull request dotnet/corefx#5151 from josguil/NetLogFix
Deleting Logging.cs file and references

Commit migrated from https://github.com/dotnet/corefx/commit/e73756bdc333c3cb3cdd48417669a032a02fac86
2016-01-12 20:50:54 -08:00
David Shulman fda959981e Port additional WebSocket tests
Port remaining websocket client tests dealing with close handshake semantics including "server initiated" close handshakes.

Switch networking test servers to the newer Azure Cloud Service servers which work better with websocket close handshakes.


Commit migrated from https://github.com/dotnet/corefx/commit/e2e14e2f1abd1bfce0b0cae4b2e85cfe659d9074
2016-01-12 16:24:43 -08:00
Guillermo Rangel 54f514187f Deleting Logging.cs file
Substituting Logging calls to EventSource calls, or calls to
LoggingHash.

Formatting Changes

Fixing Aligment, and casing.

Changing Dump methods log the hash of the object calling it instead of the method

After some discussion, it was decided that it is more useful to log the
object where the dump happens, than the method. Doing the necessary
changes for it.

Changing usage of "this" to [CallerMemberName]

Instead of using this to know who called the logging method, using
[CallerMemberName] as an attribute to the parameter to fill that
information.

Adding a TODO item.

Making a note to not change NetEventSource or it can break.

Missing Underscore

Adding missing underscore in _wsaBuffer


Commit migrated from https://github.com/dotnet/corefx/commit/f39502ef910c90ba1e67d787df98b627d39ba6cc
2016-01-12 10:27:16 -08:00
Wes Haggard a3e67fdf73 Update .builds files to include OSGroups
This these .builds files were updated and generated from a script
based on the configurations defined in the matching csproj files.

This updates the builds files to specify OSGroup and TargetGroup
as metadata instead of using AdditionalProperties and also sorts them by
TargetGroup followed by OSGroup.


Commit migrated from https://github.com/dotnet/corefx/commit/95efe37475916016a5fc6ee6f0ba584d990c4196
2016-01-02 23:50:23 -08:00
Wes Haggard f27c7dc024 Update project files adding default configurations
This add a default configuration before the Import of dirs.props
for any projects that don't have Debug as the default configuration.

Removed Configuration and Platform properties set after dirs.props
as they would have no affect and just cause confusion.

Removed OutputType=Library property as it isn't necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/9e1da13cf6d5ff4b37b1867beb3411a2fe61da6a
2016-01-02 23:50:21 -08:00
Pallavi Taneja 95a3b67166 Expose Assembly.GetEntryAssembly and TypeInfo.IsEquivalentTo()
Expose Assembly.GetEntryAssembly and TypeInfo.IsEquivalentTo() in System.Reflection.
Fixes issues dotnet/corefx#4146 , dotnet/corefx#2101


Commit migrated from https://github.com/dotnet/corefx/commit/e28fdbd9dd98810a81207c665fdc4e6b40b24e64
2015-12-21 14:56:26 -08:00
Pallavi Taneja 90c2d27bf1 Update Corefx Repo to depend on newer package versions
Disable failing tests with the tracking active issue


Commit migrated from https://github.com/dotnet/corefx/commit/98fdc29624cd791bba42ec1e0cd5c256f331adfe
2015-12-21 11:48:15 -08:00
stephentoub 77c4183d17 Update package validation to rc2-23610
Commit migrated from https://github.com/dotnet/corefx/commit/6f6303f0356be4d2dd4ac117373f1e37f8752248
2015-12-11 10:53:47 -05:00
Eric Mellino b8670dea2f Add facade projects for all supported platforms
These facade project files were generated using a porting tool I wrote,
which examined some information from our internal build and created
appropriate project files. I have also re-generated all of the .builds
files so that they import the facade projects in the correct manner.


Commit migrated from https://github.com/dotnet/corefx/commit/58e2f6e862060039e1ebad727d75c87703fdb2f2
2015-12-10 10:29:09 -08:00
dagood fbfb82cc8c Change all project.json files to validate. Remove lockfiles from source control and add to gitignore.
A few new references to pick up changes that happened over time.


Commit migrated from https://github.com/dotnet/corefx/commit/0d881222d8c3269157639e2e67056e5a83aad834
2015-12-09 16:25:26 -06:00
dotnet-bot 63d3f404c4 DevDiv VSO# 158455 - Deprecate System.Private.Networking.dll and move to building from GitHub sources in .NET Core
Switching System.Net Win contracts to use code in the Open partition.
Creating individual implementations for System.Net contracts for Win.
Removing System.Private.Networking (partial, requires a second check-in due to TFS limitations).
Removing System.Private.Networking.Build.
Removing System.Net.Common.
Updating ToF tests.
Reactivating all ToF tests for System.Net (validated on private builds).
Porting remaining UnitTests to GitHub.
Creating packages for System.Net.Utilities for Unix.

[tfs-changeset: 1554743]


Commit migrated from https://github.com/dotnet/corefx/commit/96ef10191969d8216d538e9a2a25222661b83683
2015-12-04 15:13:41 -08:00
Deepak Shankargouda f5284f6fcc Created initial set of .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/a20fd22b1e44d13e437c235a957a47a2af52838d
2015-12-02 14:38:03 -08:00
David Shulman 1f6fa25d37 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/aaaceeeba25657ebf77b7a4cc99c0a751d85b826
2015-11-19 11:14:57 -08:00
dotnet-bot df96df8a5d Port more System.Net.WebSockets.Client tests
Add subprotocol tests
Add unknown/incorrect websocket endpoint tests


Commit migrated from https://github.com/dotnet/corefx/commit/ad216f04b61694c2cdabfe53e93846469104fc96
2015-11-19 10:31:10 -08:00
dotnet-bot 2d628edc32 Port more System.Net.WebSockets.Client tests
Continued porting internal ToF tests to GitHub.
Modified tests to use a good dev pattern of 'using' around websocket use.


Commit migrated from https://github.com/dotnet/corefx/commit/8bedbc44c65e25e7529a2b965fa42cce83485e76
2015-11-15 20:16:44 -08:00
stephentoub ee07e7c57d Use new ConditionalFact in WebSockets tests
Upgrade to new buildtools and try out ConditionalFact in the WebSockets tests.  Other tests elsewhere in corefx can be moved over separately.


Commit migrated from https://github.com/dotnet/corefx/commit/610a47a65c637c87ea0ed57d0392b142ed974b2f
2015-11-13 23:51:56 -05:00
dotnet-bot 36901c39a9 Add System.Net.WebSockets.Client tests
* Port some of the ToF ClientWebSocket tests that talk to a real websocket server
* Cleanup naming of existing tests to conform to System.Net test method naming
* Skip tests if not supported on platform. Specifically, these tests were failing
on Win7 since Win7 does not support WinHttp WebSockets. We haven't really noticed this
failing since the CI doesn't yet run Win7 tests (issue dotnet/corefx#4468)

I plan to port the remainder of the ToF websocket related tests in a subsequent PR.


Commit migrated from https://github.com/dotnet/corefx/commit/5006756101cab2edb9bb40590542d7a3df15f0cc
2015-11-12 15:17:48 -08:00
Eric St. John 65210efd31 Update project.lock.json to latest and lock
Commit migrated from https://github.com/dotnet/corefx/commit/6aeea5eabf2aff3baf15f501cabd156dfc5b3f8f
2015-11-09 22:38:10 -08:00
Eric St. John cddddd29f5 Remove unused dependencies
Commit migrated from https://github.com/dotnet/corefx/commit/78fd45ec74afc507a40df519b4df650ac9bd4c42
2015-11-09 22:37:37 -08:00
Pat Gavlin 216072501c Add some missing using statements.
The lack of these statements was breaking the TFS build.

Fixes dotnet/corefx#4143.


Commit migrated from https://github.com/dotnet/corefx/commit/9ea0681683c3ac9528a99ce6e8c717da732dcdfe
2015-10-28 16:27:33 -07:00
Cristian Pop d225597e12 Adding TODO issue number.
Adding TODO tracking issue number (dotnet/corefx#4143) to fix the NetNative WebSocket.Client contract implementation.

Commit migrated from https://github.com/dotnet/corefx/commit/3baafe4be43cca752e3a7eb1e69df249ba248001
2015-10-26 15:32:19 -07:00
Matt Ellis eeadd93e8a Merge pull request dotnet/corefx#4087 from dotnet-bot/from-tfs
Merge changes from TFS

Commit migrated from https://github.com/dotnet/corefx/commit/aea4867fb7622a3065254c84b0bfda888af62d91
2015-10-22 17:16:12 -07:00
Matt Ellis 006851c7fc Merge pull request dotnet/corefx#4079 from dotnet-bot/from-tfs
Merge changes from TFS

Commit migrated from https://github.com/dotnet/corefx/commit/a3050bacc9b716f52f086751bfb4bf0384019f53
2015-10-22 16:36:18 -07:00
Christopher Costa 974a16e614 Runtime packaging for System.Net.WebSockets.Client
[tfs-changeset: 1540906]


Commit migrated from https://github.com/dotnet/corefx/commit/292079ca842550d9ca487f30a47bc2178b6460e9
2015-10-22 15:46:33 -07:00
Eric St. John 8cc3c24b51 Update lock files that were missed in previous restore.
A change was made to DNX to no longer restore project.jsons
that are in nested folders.  This caused my batch update to miss
a number of tests and reference assembly projects.

This fixes the stale lock files, but restore is still broken.

[tfs-changeset: 1540448]


Commit migrated from https://github.com/dotnet/corefx/commit/3622cccc1b22fa1947a72d5126b59864e9d2fd0d
2015-10-21 18:59:09 -07:00
Eric St. John 543808303a Update dnx to v1.0.0-rc1-15838, update dotnet projects to generations
We need a new DNX to understand the latest packages.

We also need to move all "dotnet" projects to use dotnetX.X (generations)
now that the packages no longer have "dotnet" assets.

The new version of DNX dropped support for the aspnetcore
so I needed to update a few projects/packages that depended
on old package versions that had this moniker.

[tfs-changeset: 1540388]


Commit migrated from https://github.com/dotnet/corefx/commit/38f8d7a3ca1ee819c2b8eabb1c07ee4e99683c97
2015-10-21 17:03:48 -07:00
Pat Gavlin 0ac5f634bc Unify the two definitions of WinHttpException.
Fixes dotnet/corefx#2542.


Commit migrated from https://github.com/dotnet/corefx/commit/2cad4090903ddfd1f11b78156f11bb614f391aa8
2015-10-21 14:56:45 -07:00
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
David Shulman cfa54f73ab Fix broken build of System.Net.WebSockets.Client.NETNative.csproj due to missing types.
Comment out code for now so that build will work.

[tfs-changeset: 1539097]


Commit migrated from https://github.com/dotnet/corefx/commit/923419680e598a2279b0807487eb351a62d0b958
2015-10-18 16:34:28 -07:00
Pat Gavlin 1dbb12c858 Address PR feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/ccfc8a10fe6ef77b8bca8991d26e3ccb03696409
2015-10-18 10:37:28 -07:00
Pat Gavlin 8f89fe6bd8 Add a temporary PAL for ClientWebSocket.
On Windows, the PAL delegates to WinHttpWebSocket; on *nix, all methods
throw PlatformNotSupportedException.


Commit migrated from https://github.com/dotnet/corefx/commit/dcfea18a1143a624ce373509a52c478ec66dcd8a
2015-10-17 17:07:42 -07:00
Matt Connew 37b3e7ce77 Refactor ClientWebSocket to have common code for all platforms.
Moved WinRTWebSocket implementation into.
Fix bug in WinRTWebSockets where calling CloseAsync(state, null) would throw.
Fix bug in WinHttpWebSocket where calling SendAsync with a 0 length buffer would throw.
Added tests for bug fixes to catch regressions.

[tfs-changeset: 1538869]


Commit migrated from https://github.com/dotnet/corefx/commit/853a01ace044bdd535fa979d534268585eed0d5d
2015-10-16 15:13:23 -07:00
stephentoub db5ceb3a81 Remove NotImplemented.cs from several projects
A handful of projects are still including NotImplemented.cs even though they no longer need it.


Commit migrated from https://github.com/dotnet/corefx/commit/8b6e00ac6c376e7ec041e84270d518ca523a32a3
2015-10-08 08:50:35 -04: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
bartonjs a52f41057c Update all CoreFx package references to 23328 build.
`build.cmd /p:LockDependencies=true` was the start of this change, but some errors with xunit build numbers led to all xunit upgrades being reset back to what they had in master.

project.json changes:
* System.Net.Security\src Switch off of explicit beta versioning, use the same baseline as everyone else.  The S.S.C.Algorithms explicit upgrade is no longer required.
* System.Net.Requests\tests didn't build.  Looking at the project.lock.json change, it appeared that a System.Net.Http reference was lost, restored it.
* System.Net.Http\tests didn't build. Looking at the project.lock.json change, it appeared that a System.IO.FileSystem reference was lost, restored it.
* System.Net.WebSockets.Client\src didn't build. Looking at the project.lock.json change, it appeared that a System.Collections (4.0.10) reference was lost, restored it.
* System.Diagnostics.TextWriterTraceListener\tests needed the runtime reference to load the correct System.Diagnostics.TraceSource binary.


Commit migrated from https://github.com/dotnet/corefx/commit/cec3a0f2db542bfa9d9c56bf988d966eacc35ad9
2015-09-29 11:40:37 -07:00
Matt Connew e45fc93a3e System.Net.WebSockets.Client implementation for UWP. Fill in some functionality in CoreClr.
[tfs-changeset: 1529284]


Commit migrated from https://github.com/dotnet/corefx/commit/f8c45366460fe08c217c38e8ac21db514006d203
2015-09-24 15:22:13 -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
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
dotnet-bot d47f4c3abf Initial commit of System.Net.WebSockets.Client.
Commit migrated from https://github.com/dotnet/corefx/commit/2f2fae24846c40bc588625b47ec12f43ac323612
2015-07-27 14:41:34 -07:00