Commit Graph
564 Commits
Author SHA1 Message Date
dotnet-bot ea45391f54 Updating CoreFX dependencies to rc3-24013-00
Commit migrated from https://github.com/dotnet/corefx/commit/32d2d84ff16efa0ed04dd2780c62db36bbf0bf01
2016-04-13 06:13:25 +00:00
Eric Mellino f57a495784 Overhaul usage of test-runtime.
This change uses some features available in an updated version of
buildtools. Instead of resolving the test-runtime for each of our test
projects as a separate step, we will now add a "reference" to it from the
project.json of each test project. This will allow us to resolve the nuget
assets from both it and the test project at the same time. This will be
more robust than our current process, which is very fragile and
error-prone.

The above is made possible by an updated version of
"PrereleaseResolveNuGetPackageAssets", which is the buildtools task
responsible for resolving test assets from nuget packages. This task also
has a lot of additional validation, which triggers a lot of warnings in
corefx. I've made various changes to csproj's and to project.json's around
the repository in order to satisfy those warnings.


Commit migrated from https://github.com/dotnet/corefx/commit/622ee8f512497fc07621de15e41c6bd575f387c9
2016-04-12 07:12:36 -07:00
dotnet-bot 203d37ef1e Updating CoreFX dependencies to rc3-24012-00
Commit migrated from https://github.com/dotnet/corefx/commit/f89a8267334562ab363ce19d4a2bfa0618bb1f00
2016-04-12 05:34:15 +00:00
dotnet-bot 83f02c753f Updating CoreFX dependencies to rc3-24011-00
Commit migrated from https://github.com/dotnet/corefx/commit/406378b88f0485b549ec2b8c242c79329a5b3ef5
2016-04-11 16:13:03 +00:00
dotnet-bot 6883e89fc3 Updating CoreFX dependencies to rc3-24008-00
Commit migrated from https://github.com/dotnet/corefx/commit/30b74738cdac9c75a2dd165d339f206b1070f3cd
2016-04-08 06:40:37 +00:00
dotnet-bot 0f0193e356 Updating CoreFX dependencies to rc3-24007-00
Commit migrated from https://github.com/dotnet/corefx/commit/d9fdf25de0e1cf35219a26d4f840302e5379f292
2016-04-07 05:37:12 +00:00
dotnet-bot be7ca463ae Updating CoreFX dependencies to rc3-24006-00
Commit migrated from https://github.com/dotnet/corefx/commit/aff79bf3fa8ce8c13b6084d82aca30e534142b81
2016-04-06 05:21:19 +00:00
dotnet-bot 8c6d7acd5d Updating CoreFX dependencies to rc3-24005-00
Commit migrated from https://github.com/dotnet/corefx/commit/afbf526ac0fae250fc47623f2c43d2caa1abb803
2016-04-05 06:23:55 -04:00
dotnet-bot 9f65b1e1ef Updating CoreFX dependencies to rc3-24004-00
Commit migrated from https://github.com/dotnet/corefx/commit/9fd2c8863f2be58ee5d1431f0c658de61e991551
2016-04-04 20:19:10 -04:00
Lakshmi Priya Sekar 2a3abf12b4 Update xunit.netcore.extensions to latest.
Commit migrated from https://github.com/dotnet/corefx/commit/a7bb9eb3327f5cc791d39b4cff764dd7dd29fda5
2016-04-01 14:04:56 -07:00
Jonathan Miller 0e43cc624e Merge pull request dotnet/corefx#6572 from sokket/builds
Adding builds files to the test projects

Commit migrated from https://github.com/dotnet/corefx/commit/e8326c3dab65e2e8eac466f346a9693788d41ca9
2016-03-31 11:41:43 -07:00
Jonathan Miller 7c2ce6913c Adding builds files for the test projects
Commit migrated from https://github.com/dotnet/corefx/commit/752599494fce80b5d0059a9090fdc010d8c7f45b
2016-03-31 10:46:26 -07:00
stephentoub 025ea3f97f Update packages to rc3-23931-00
Commit migrated from https://github.com/dotnet/corefx/commit/e421dd9c41c308f83511e350c1e407d1f728ba78
2016-03-31 08:26:49 -04:00
stephentoub dabfe7fc9d Update packages to rc3-23930-00
Commit migrated from https://github.com/dotnet/corefx/commit/64a2b6c70977e33b4e8fb90e8f5d3b019b843e61
2016-03-30 07:30:59 -04:00
Stephen Toub 0e177e8e98 Fix a typo
Valid typo to fix, but the real reason I'm submitting this is to force all of the main builds to kick off after the CI system was down.

Commit migrated from https://github.com/dotnet/corefx/commit/62e4989c3e150729e7c5a1efde6cb67b0dc3af62
2016-03-27 15:09:44 -04:00
stephentoub aa64955b41 Update packages to rc3-23925-00
Commit migrated from https://github.com/dotnet/corefx/commit/268eea1b538fa80a0042a1eabc4e51c84473d7b0
2016-03-25 20:23:47 -04:00
stephentoub 290dcd133b Fix BufferBlock race condition between completion and consumption
A failed test in CI highlighted a rare race condition in the BufferBlock implementation.  When a bounded buffer block has room become available and postponed messages waiting to be consumed, it’ll queue a task to consume those messages from the relevant sources.  It should stop consuming messages after it’s been marked as complete, but if the consuming task is already running when the buffer is marked as completed, it may end up still consuming messages due to missing a check for having been marked as completed.  The fix is simply to add in that check before dequeueing the next postponed message.

Prior to the fix, I ran the test 1,000,000 times and was able to repro this in 22 of them.  After the fix, I could no longer repro it.

(There is still an even more rare but expected race that can occur if the block is in the process of consuming the item from one of its sources and the block being marked as completed, but that's no different than a race between it being marked as completed and another thread adding to the block and is the nature of using these components concurrently.)


Commit migrated from https://github.com/dotnet/corefx/commit/d4afc104fcf52d3051fae40b78514b2f25ed7aaf
2016-03-25 10:18:05 -04:00
stephentoub 0de8ee2b33 Update packages to rc3-23923
Commit migrated from https://github.com/dotnet/corefx/commit/123180cde4aadbed151ffbc00c09b85b7532da68
2016-03-23 11:56:57 -04:00
stephentoub b60997fa74 Update packages to rc3-23921
Commit migrated from https://github.com/dotnet/corefx/commit/3eb508d41d476e4ca0c74d106584c7a7f0d51a17
2016-03-21 12:10:10 -04:00
Stephen Toub fa45f3dbda Merge pull request dotnet/corefx#7059 from JonHanna/typo_fix
Fix several typos

Commit migrated from https://github.com/dotnet/corefx/commit/1db0c74f3f525365c2573458aa1f454cacf00453
2016-03-19 13:25:53 -04:00
Jon Hanna c23897f890 Fix several typos
Commit migrated from https://github.com/dotnet/corefx/commit/12a32bec60794664178886e6c1157677b883ded6
2016-03-19 16:28:22 +00:00
Eric St. John 6aeccb0bae Fix tests to restore using the latest packages
We removed the lifting from the lineup so tests should reference the
latest packages in order to ensure an implementation is available.

The latest pacakges exclude implementation dependencies so I needed to
add these to projects that were depending on them coming in transitively.


Commit migrated from https://github.com/dotnet/corefx/commit/bef9061fd1238adf47b864d8924d121e4134465b
2016-03-19 08:01:11 -07:00
Eric St. John d28646e6b3 Fix restore errors in source projects
The latest drop of packages no longer includes lifting entries in the
lineup.  This causes errors when restoring for a concrete TFM and no
implementation assembly is in the packages.

I addressed this issue two ways:
1. In places where we were targeting a concrete TFM but packaging as
 NETStandard, just target NETStandard instead.
2. In places where we were targeting a concrete TFM but that packages
were missing the implementation on that TFM, update the reference to
newer package version where implementation is available.


Commit migrated from https://github.com/dotnet/corefx/commit/dfb30176c6056f5b3427515c4444a9dc31b9ba4f
2016-03-19 08:01:10 -07:00
Eric St. John ff75367f93 Update packages to rc3-23918
Commit migrated from https://github.com/dotnet/corefx/commit/d3d217b2ab336b862c27a3e605e32dc0c0a6d472
2016-03-19 08:01:09 -07:00
stephentoub d5e591e45a Update packages to rc3-23910
Commit migrated from https://github.com/dotnet/corefx/commit/ab3948bfab039aac2afc1b521883425a171b982d
2016-03-10 09:37:40 -05:00
Eric St. John 04a73fbed6 Update packages to rc3-23908
Commit migrated from https://github.com/dotnet/corefx/commit/86a230845c4f1840dcb9b52165c6976fad5b5868
2016-03-08 08:46:50 -08:00
Stephen Toub 46132ff922 Merge pull request dotnet/corefx#6699 from stephentoub/dataflow_immutablelist
Minor tweaks to Dataflow's ImmutableList

Commit migrated from https://github.com/dotnet/corefx/commit/03830464a955d0d9d4465ffe08b89f3434c2eb4a
2016-03-07 18:51:48 -05:00
stephentoub 5c548a8dc3 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/95a0643b1c4dd338205df30cd46d9ffe201f5349
2016-03-07 16:32:33 -05:00
stephentoub 38f7d19954 Update packages to rc3-23907
Commit migrated from https://github.com/dotnet/corefx/commit/baed539ebb753fefc91da9870ddeee72df0a6e14
2016-03-07 10:12:40 -05:00
stephentoub 5deb4736fa Minor tweaks to Dataflow's ImmutableList
In one place, Dataflow has need for a minimal immutable array data structure.  I don't think it makes sense to take a dependency on System.Collections.Immutable.dll just for that, but there are a few minor cleanups that can be done to the implementation in dataflow to bring it a bit closer in design to the "real" one, e.g. making it a struct, renaming it from ImmutableList, etc.


Commit migrated from https://github.com/dotnet/corefx/commit/908ead85e3d4ae5fe77d3e032b47f9679b7112b4
2016-03-05 18:12:16 -05:00
stephentoub f3434408bc Update xunit.netcore.extensions to 00187
Commit migrated from https://github.com/dotnet/corefx/commit/3cfd81e7369628d052da6367b28c6f5b5839f55d
2016-03-03 22:06:40 -05:00
stephentoub 9b4473ede7 Upgrade package versions to rc3-23901
Commit migrated from https://github.com/dotnet/corefx/commit/55246a7fc60807d021fded5e333784956a662a51
2016-03-02 07:40:12 -05:00
Eric St. John 19554adc35 Update buildtools and change validation framework
Update BuildTools to 1.0.25-prerelease-00180

Change validation framework moniker from dnxcore50 to
netstandardapp1.5.


Commit migrated from https://github.com/dotnet/corefx/commit/7c50768be0a2008480aa22ddb8038fdcb0e8039b
2016-02-29 14:43:26 -08:00
Pallavi Taneja 38e2f4de64 Update the packages
Commit migrated from https://github.com/dotnet/corefx/commit/be7151b45a54577c2e28c56977408d7d61ed0ea9
2016-02-29 13:09:16 -08:00
Eric Mellino 6565cdd3d4 Use NuGet references in System.Threading.Tasks.Dataflow
Additionally, clean up the cruft in the project files and remove some
unused using statements.


Commit migrated from https://github.com/dotnet/corefx/commit/70e4e0df4370803cb63b68fc9a6189c3f3c59f80
2016-02-24 18:29:16 -08:00
Eric St. John 5af200cd50 Rename "dotnet" to "NETStandard"
Fixes https://github.com/dotnet/corefx/issues/5707

We are changing the .NET packages to no longer use the ‘dotnet’, ‘dotnet5.x’, and ‘dnxcore50’ monikers.  This is thee first stage of the change for dotnet->netstandard.

The replacements are as follows

Old moniker | New moniker
----------------- | ------------------
dotnet5.x | netstandard1.y  (where y = x -1)
DNXCore50 | netstandardapp1.5
dotnet | netstandard1.3

To prepare for this change you can do the following to your project.json.  This change will require a recent build of NuGet or dotnet.exe and can be done prior to consuming the packages with the breaking change.  These packages will not work with DNX.

For a project targeting dotnet5.6
```
    "frameworks": {
        "netstandard1.5": {
            "imports": [ "dotnet5.6" ]
        }
    },
```

For a project targeting dnxcore50
```
    "frameworks": {
        "netstandardapp1.5": {
            "imports": [ "dnxcore50", "portable-net45+win8" ]
        }
    },
```

[tfs-changeset: 1578321]


Commit migrated from https://github.com/dotnet/corefx/commit/4435f9f2776ae007e05f4454675e56cf76a51975
2016-02-23 20:18:17 -08:00
stephentoub a66a305592 Fix several dataflow ETW events
Commit migrated from https://github.com/dotnet/corefx/commit/201ea789ddc53e31422bcf3e0bebbbb4eeb11801
2016-02-19 21:19:10 -05:00
dotnet-bot 3184718282 Deploy nameof throughout corefx in exception construction
Mostly automated replacement of parameter name string literals with corresponding usage of nameof.


Commit migrated from https://github.com/dotnet/corefx/commit/396b41ddec99d01505c1bc4fa02fb0f0c5844990
2016-02-18 23:58:06 -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
stephentoub 180fba592f Update packages to rc3-23816
Commit migrated from https://github.com/dotnet/corefx/commit/c2e6426b9b9494d5478f656396f4da5711e8729a
2016-02-16 11:05:43 -05:00
Davis Goodin 1bc755f9e7 Adds custom xplat nuget that can restore from VSTS feed, adds the VSTS feed, and upgrades project.jsons throughout NDP\FxCore to pass new nuget compatability checks.
Some fixes (adding imports, adding Platforms package) were tooled, but more complex ones (forking project.jsons, editing csproj's) were not.

Also makes dependency version validation rules case-insensitive. (I used this fix to update the versions of some packages.)

[tfs-changeset: 1573868]


Commit migrated from https://github.com/dotnet/corefx/commit/84af04317505d48feaa1e83dd5dc27ddc0f6de76
2016-02-09 14:20:02 -08:00
Eric St. John 71c519a05f Fix race conditions during package build
I've run my binclash logger on the packaging build and identified all
the problems that result in multiple builds evaluations producing the
same output.

In some cases this was due to global properties from traversal leaking
into library build.  I have fixed these as follows:
  Dummy
    This property was just being used to trigger batching to run
    multiple builds of the same project in a batch.  Instead of
    triggering batching by defining this in the properties, which
    has side effects, I used the %(Identity) in a condition that would
    always evaluate to true, which has no side effects.
  DefaultBuildAllTarget
    Similar to FilterToOSGroup this only applies for traversal projects
    so I undefine it when building a non-traversal project.
  PackageTargetFramework
    We were using this property to package the output of the library
    twice in different paths.  Rather than doing this from the package
    project I just have the library project declare that it should be
    packaged twice.

[tfs-changeset: 1573841]


Commit migrated from https://github.com/dotnet/corefx/commit/2acd2fdb944fc19f01b014666b82b97ea6226e1e
2016-02-09 13:28:58 -08:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
stephentoub c4546c653d Fix a BufferBlock test
Unnecessary use of a timeout, unnecessarily large number of items being tested, and unnecessarily in outer loop.


Commit migrated from https://github.com/dotnet/corefx/commit/3cbe86bff936bfb73d90bfb9c7e4521834eb6adb
2016-01-21 14:19:17 -05:00
Stephen Toub 7e7598c93f Merge pull request dotnet/corefx#5350 from dagood/fix-project-dependencies-nugetexe
Fix project.json dependencies: xunit DNXCore incompatibility + invalid package dependencies

Commit migrated from https://github.com/dotnet/corefx/commit/d591a687578f01ead8421ee4898b7bf42e7d95d6
2016-01-13 16:06:59 -05:00
dagood e401efd6af Add portable-net45+win8 import to tests.
Specifically, add the import to dnxcore50 frameworks entries where "xunit" is mentioned in the project.json.
This fixes `xunit.abstractions 2.0.0 is not compatible with DNXCore,Version=v5.0.`


Commit migrated from https://github.com/dotnet/corefx/commit/da2e8eb34efcaf70069223bc431d80909a2fc91d
2016-01-12 14:04:32 -06:00
stephentoub fda6b67464 Rename ForceOrdered to EnsureOrdered
Commit migrated from https://github.com/dotnet/corefx/commit/bcaecfbfefd7e4d7f1e32a8168b874579661130a
2016-01-12 09:20:04 -05:00
stephentoub 57280d0c29 Address PR feedback
- Update assembly version
- Tweak XML comments


Commit migrated from https://github.com/dotnet/corefx/commit/62ba3fd92407f6893c53a417cb29550782651342
2016-01-12 09:20:04 -05:00
stephentoub 76260593d1 Add DataflowBlockOptions.ForceOrdered to Dataflow library
Adds the DataflowBlockOptions.ForceOrdered option, and utilizes it from TransformBlock and TransformManyBlock.


Commit migrated from https://github.com/dotnet/corefx/commit/eabd3b4b7a2332e0bf926df949ed4a2c959380e0
2016-01-12 09:20:04 -05: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