Commit Graph
581 Commits
Author SHA1 Message Date
Page-Not-Found 835ffb1436 Commonfolder rename and __Error, __HResult
Commonfolder rename and __Error, __HResult


Commit migrated from https://github.com/dotnet/corefx/commit/0a1a2a024797091a645ea42561441fcd8586525c
2015-11-11 15:45:12 -05: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
Eric Erhardt 27bc21d469 Add shims for the rest of the libc native calls.
This removes all direct dependencies from managed code
to native libc functions.

Fix dotnet/corefx#4106


Commit migrated from https://github.com/dotnet/corefx/commit/7077b4d74707b9e07787b5fbc1fbe6a0db202ea9
2015-10-28 09:30:41 -05:00
Pat Gavlin 067d8df910 Enable some System.Net tests for OSX/*nix.
- The NameResolution functional tests were disabled on all *nixes.
- The NameResolution PAL tests have been switched to the more modern
  style.
- The Sockets.Legacy tests were disabled for OS X when using
  run-test.sh.


Commit migrated from https://github.com/dotnet/corefx/commit/2d66c1f10b4b16d2db8930a504d3bc2560d85220
2015-10-27 14:34:55 -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 bbdb409db3 Fix a typo in pal_networking.cpp.
This change also re-enables a disabled NameResolution PAL test.

Fixes dotnet/corefx#2318.


Commit migrated from https://github.com/dotnet/corefx/commit/cf92d01126ad32393ea638ccf6b7504d0ebb414d
2015-10-20 13:29:51 -07:00
Pat Gavlin bb0dee6b16 Merge pull request dotnet/corefx#3978 from pgavlin/NameResolutionShims
Shim the last platform APIs used by S.N.NameResolution.

Commit migrated from https://github.com/dotnet/corefx/commit/47d8b285eb53442f1724c04528e9a2a2867f9b4a
2015-10-19 21:07:22 -07:00
Pat Gavlin 4df5d2833c Shim the last platform APIs used by S.N.NameResolution.
gethostbyaddr and gethostbyname had not yet been shimmed.


Commit migrated from https://github.com/dotnet/corefx/commit/55befb0c5a5633530fc85b9675a51e53d53ab116
2015-10-19 19:08:27 -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
Pat Gavlin 5f1335ba57 Shim Interop.libc.socket().
Commit migrated from https://github.com/dotnet/corefx/commit/e4731ad428d538cbfc75d4dc2dcc8fd7d3aba534
2015-10-15 14:00:04 -07:00
Pat Gavlin e095a685c1 Shim in{,6}_pktinfo.
This moves all of the processing for control messages--arguably some of
the trickier interop in Sockets--into the native shims.


Commit migrated from https://github.com/dotnet/corefx/commit/2cdff2f366080b11420b63f932691200a881b5ba
2015-10-14 09:26:54 -07:00
Pat Gavlin 02a9387410 Shim socket addresses.
The socket address shim adds native accessors for the various bits that
managed code needs to access, namely:
- Address families
- Port numbers
- IP addresses

This change also updates the name resolution shim to use an iterator-based
design for walking host entries. This interface trades chattiness (a
P/Invoke per IP address) for memory footprint (various native and managed
allocations per IP address).


Commit migrated from https://github.com/dotnet/corefx/commit/ecc092e2dcc87a3a17370ff6951dc48c6b37fea7
2015-10-08 19:11:35 -07:00
dotnet-bot dfa25896ef Porting System.Net.NetworkInformation and System.Net.Utility to GitHub.
Completing dotnet/corefx#894


Commit migrated from https://github.com/dotnet/corefx/commit/5a67678925c2f2731fdb55eb3c88a287149e8db4
2015-10-05 17:24:18 -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
Jonathan Miller 8ee9eefe46 Shim'ing out GetNameInfo, get/free addrinfo, and GetHostName.
The calls to getaddrinfo are not 1-to-1 with the native calls due to
complexities around the native structs. Calls using sockaddr and
addrinfo have nested structs pointing to different data depending
on if the IP is IPv4 or IPv6. To mitigate the complexities around
this code and around the underlying struct differences on the
currently supported platforms, I kept the same calling pattern (as
in Get* and Free*) but converted them to use an intermediate data
structure that is defined in the PAL. We can then take in the
required data from the Managed World and determine which native
types are required, handle all the native structs and casts, and
give back only the information that the managed code needs in a
much simpler format.


Commit migrated from https://github.com/dotnet/corefx/commit/f3191981b3739742e4f728b6a13a880abe12c5a6
2015-09-30 17:51:58 -07:00
Pallavi Taneja f2845b41f0 Update the lock files for the updated projects
Commit migrated from https://github.com/dotnet/corefx/commit/ebf752bf2c3fe7f6a04fbd3ef2db536700318e17
2015-09-29 17:18:49 -07:00
Pallavi Taneja 0185f7f683 Remove SecureString usages
Commit migrated from https://github.com/dotnet/corefx/commit/46db5bcbb484baf02f98320287d2fe0bd2e86599
2015-09-29 15:01:25 -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
Stephen Toub a42e2bdf2b Merge pull request dotnet/corefx#3459 from dotnet-bot/from-tfs
Merge changes from TFS

Commit migrated from https://github.com/dotnet/corefx/commit/fad2479a6bd9d65f0dbcadccb61676f914773f44
2015-09-25 09:02:15 -04:00
Christopher Costa 9055ce307a System.Net.NameResolution xplat packaging
[tfs-changeset: 1529321]


Commit migrated from https://github.com/dotnet/corefx/commit/db4b74fc713085553508bc8ca58fb4f8ceb1d02a
2015-09-24 16:18:18 -07:00
dotnet-bot 59f03d6341 Initial import of System.Net.Sockets.
Commit migrated from https://github.com/dotnet/corefx/commit/36c09c4802aebed9abfe4dd86fe9fbfd7b9c72cc
2015-09-23 21:06:21 -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
stephentoub be1354fcb3 Disable GetHostByName_HostName test failing on OSX
dotnet/corefx#3218


Commit migrated from https://github.com/dotnet/corefx/commit/44b076537ffd3e36f2cd79a4a606e31b1241ab4a
2015-09-13 08:52:43 -04:00
stephentoub 5d73797669 Fix multiple MSB3277 build warnings
Fix several warnings of the form:
```
warning MSB3277: Found conflicts between different versions of the s
ame dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.
```
Brings the number of warnings during a full build back down to 0.


Commit migrated from https://github.com/dotnet/corefx/commit/fc09b0b21a2c5dd6c5e4ee5df203b2f8def30e76
2015-09-03 14:40:38 -04:00
Dmitry Turin 102a8939ca Use List<T>.ToArray() instead of CopyTo()
Commit migrated from https://github.com/dotnet/corefx/commit/34648f57f9d32d0ddeac96edb28a581acd80105c
2015-08-21 16:00:41 +03:00
Nick Guerrera 31537a7c6f Fix build failure due to conflict between concurrent PRs
New usage of Interop.libc.close was added while it was
simultaneously being removed in another PR, which defeated
catching it via CI PR validation.


Commit migrated from https://github.com/dotnet/corefx/commit/f0b6c14964b508c734dec8add50284b94b85e4c8
2015-08-20 20:09:18 -07:00
dotnet-bot b262b29069 Porting System.Net.NameResolution.
Porting System.Net.NameResolution and tests. Adding a PAL layer for this contract together with x-plat implementations.
Pending work is marked either as "Shims" or with TODO comments and tracked by dotnet/corefx#2891 and dotnet/corefx#2894 (2 PAL tests disabled).

Features dotnet/corefx#893 dotnet/corefx#2484


Commit migrated from https://github.com/dotnet/corefx/commit/de079261cfaa3cc8e8025f91f95bac20fbc3c136
2015-08-20 16:07:16 -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