Commit Graph
829 Commits
Author SHA1 Message Date
Jeremy Kuhne e3e343ff41 Remove FileStreamBase
Commit migrated from https://github.com/dotnet/corefx/commit/9084b8435ab6ee8add2e0dd7eb6abcfc9ae19e57
2016-10-19 14:25:24 -07:00
Jeremy Kuhne a7d5c14c71 Break out nested FileStream
This breaks out the nested FileStream in preparation for
moving the code down to corlib.

Will follow up with:

1. Rename of files (from Unix/Win32FS to FS.os.cs)
2. Moving of common code to FileStream.cs
3. Copy to corlib
4. Move ref to System.Runtime and type forward to corlib
5. Further prep work for bringing up UAP 10.1


Commit migrated from https://github.com/dotnet/corefx/commit/e3fc18c58396737ee5e6bc80acf508031d63cc8e
2016-10-19 13:25:07 -07:00
Karthik Rajasekaran 9255a2e649 Combine test dependencies into a common project.json.
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.


Commit migrated from https://github.com/dotnet/corefx/commit/654f5548f946659c694d110a4bbce8aa33f1a7a1
2016-10-18 11:39:53 -07:00
Stephen Toub bf51176a20 Update additional dependencies
Commit migrated from https://github.com/dotnet/corefx/commit/b0c0f372746dec30221b7d32883930d899f4d13f
2016-10-18 08:43:58 -04:00
dotnet-bot 94f229c6a7 Update CoreClr, CoreFx to beta-24617-03, beta-24617-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4c6df2edbad3b5d8ec3914c0366f80ebb73f7c12
2016-10-18 08:43:24 -04:00
Stephen Toub 8bc0c7486e Add System.IO.FileSystem serialization
Commit migrated from https://github.com/dotnet/corefx/commit/a8c26b8f37139e7b2fc25acd8859b1782319dcd6
2016-10-17 23:26:49 -04:00
dotnet-bot 7b31a1e04a Update CoreClr, CoreFx, External to beta-24615-02, beta-24615-03, beta-24614-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/025cec5bf1e82980a77e473f2e5d599ffd60af49
2016-10-15 08:33:01 +00:00
Sedar Gokbulut bf05a3521c updating ProjectN-Tfs dependencies
Commit migrated from https://github.com/dotnet/corefx/commit/54f84b9e39b50a26749f951a68ae55856db9e480
2016-10-13 14:13:06 -07:00
Stephen Toub 52e3c3d7ae Change all refs to use "throw null;" as member bodies
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter).  I made the change programatically using a simple Roslyn-based tool.


Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
2016-10-13 09:43:23 -04:00
dotnet-bot 511149ab83 Update CoreClr, CoreFx, External to beta-24613-02, beta-24613-01, beta-24613-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8f355c66ac9adbf9f36cfdd019ba1d2cefb54001
2016-10-13 08:37:30 +00:00
Koundinya Veluri 0dd80e4488 Expose some missing threading types/members (Timer, exceptions, etc.) (dotnet/corefx#12392)
- Expose: Timer members, some exception types and members, ThreadExceptionEventArgs/Handler, Monitor.Wait with exitContext parameter
- Move CriticalHandle and remaining types from System.Runtime.Handles to System.Runtime, expose CriticalHandle[ZeroOr]MinusOneIsInvalid
- Revert base class of safe handle types that used to derive from SafeHandle[ZeroOr]MinusOneIsInvalid, and upgrade those projects to ns1.7

Commit migrated from https://github.com/dotnet/corefx/commit/de8eee4b26f5154698fddcd150a4c7487a69da64
2016-10-12 18:31:26 -07:00
Stephen Toub 0a3f401731 Merge pull request dotnet/corefx#12588 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24612-03, beta-24612-03, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/0b765ce570150f623f1fb97de6df668b9f69639b
2016-10-12 16:52:49 -04:00
Stephen Toub 474c4b5973 Merge pull request dotnet/corefx#12578 from jamesqo/streamhelpers-copyto
Rename ValidateCopyToAsyncArgs -> ValidateCopyToArgs

Commit migrated from https://github.com/dotnet/corefx/commit/97ff6132fce1682c05a049e3ddb944fc04502438
2016-10-12 12:31:49 -04:00
dotnet-bot 4a517b60c6 Update CoreClr, CoreFx to beta-24612-03, beta-24612-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f01cf91423391f80ad5269340eb8e602ea9cb087
2016-10-12 16:28:54 +00:00
James Ko 45da6cf9be Add ArrayBuilder<T> struct, delete LowLevelList (dotnet/corefx#12287)
* Add new ValueList<T> type, delete LowLevelList

* Rename Extract* -> As

* Rename to ArrayBuilder

* Clarify assert

* Fix comments

* Some refinement

* Tiny refinement for ZeroExtend

* Bugfix for ToArray

* Add XML docs to ArrayBuilder

* Perf bug: Check _count == 0, not _array == null, in ToArray

* Add comprehensive tests for ArrayBuilder

* Refactor System.Linq.Expressions to use the new ArrayBuilder

* Respond to PR feedbck no. 1

* Include the file in some assemblies that are using it indirectly thru EnumerableHelpers

* Remove AddRange and ZeroExtend for now

* Remove GetEnumerator

* Remove *InDebug methods

* Change resizing pattern back to that of List's

* Some nits in the tests

* Remove _count == 0 optimization from EnsureCapacity

* Handle arrays that go past 1B elements

* Fix compile and test errors

* Better seed generation

* Remove comment on Array.Resize


Commit migrated from https://github.com/dotnet/corefx/commit/9eaf364b8ca8180bace20aab188b1efe6a55835f
2016-10-12 11:54:37 -04:00
James Ko dc3b64cf83 Rename ValidateCopyToAsyncArgs -> ValidateCopyToArgs
Commit migrated from https://github.com/dotnet/corefx/commit/ac66976c1388353254828ddb4df4e67f2f80c190
2016-10-12 00:52:52 -04:00
Stephen Toub f54cfb8704 Update CoreClr, CoreFx to beta-24611-01, beta-24611-02 respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/b7cc4e219207cff50cdbb11176d3cee25be724f0
2016-10-11 15:32:17 -04:00
Stephen Toub 08f5cc3e37 Fix System.IO build with ArrayPool dependency
The previous commit added usage of StreamHelpers.cs.  The dependency is only on some validation routines, but the same file also includes usage of ArrayPool, and thus the build breaks without a dependency on System.Buffers.  Since we don't currently have another need for System.Buffers in System.IO (this could change in the future), for now I'm splitting the StreamHelpers.cs file into two files, one that needs ArrayPool, and one that doesn't, so that System.IO can include only the latter.


Commit migrated from https://github.com/dotnet/corefx/commit/eb211927ca0fe0196f992caeedb5260bcb1e15d6
2016-10-10 11:28:39 -04:00
Stephen Toub 320ec958ba Update CoreClr, CoreFx to beta-24608-02, beta-24608-01, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/0fe592ec0a6be3cb49ecf37a798ca482b0d261dc
2016-10-08 08:25:01 -04:00
Sedar Gokbulut fb95e1e002 Revert "Merge branch 'dotnet-bot-master-UpdateDependencies'"
This reverts commit dotnet/corefx@631f21b4c2, reversing
changes made to dotnet/corefx@374a387de0.


Commit migrated from https://github.com/dotnet/corefx/commit/30cd016952f1f806986f2918fc7c1ebdb570aefd
2016-10-07 16:10:51 -07:00
dotnet-bot d7384b3382 Update CoreClr, CoreFx, ProjectNTfs to beta-24607-02, beta-24607-03, beta-24607-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/6f081ec97720eb7efd2653b91f88cda45cb43431
2016-10-07 15:48:04 -04:00
Sedar Gokbulut c46f5bb027 Updating ProjectN-Tfs dependency to beta-24604-01
Commit migrated from https://github.com/dotnet/corefx/commit/6b7d5b1eb5293884add086725145c3904cdbd7bf
2016-10-06 10:30:13 -07:00
Jose Perez Rodriguez c37abd4f53 Reorder test.builds files metadata to be consisteng across the repo
Commit migrated from https://github.com/dotnet/corefx/commit/8cbdf88e1b122babd37575587692448ed59e7f58
2016-10-05 14:58:03 -07:00
Jose Perez Rodriguez d3aeb49e0e Fix ordering of test builds files
Commit migrated from https://github.com/dotnet/corefx/commit/a3ae67fd338d55d0bdc0bab4e8ba37ac9b2b7e3d
2016-10-05 14:56:16 -07:00
Alex Perovich 674bb7a0f8 Update project ToolsVersions to 14.0 (dotnet/corefx#12355)
Commit migrated from https://github.com/dotnet/corefx/commit/71de1aac5cf3e5dc87714ae0cc829e1fa98f7c5d
2016-10-05 12:50:37 -07:00
dotnet-bot ddcb0ebc64 Update CoreClr, CoreFx, ProjectNTfs to beta-24605-01, beta-24604-02, beta-24604-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/193d21d6f4d181b086a52d17716499a3170785d0
2016-10-05 07:52:47 -04:00
dotnet-bot ed2d502672 Update CoreClr, CoreFx, ProjectNTfs to beta-24603-02, beta-24601-02, beta-24603-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/c3fef994bf9ef0421fad51dd7e39322e89ea82ba
2016-10-03 08:16:49 +00:00
Stephen Toub 223322a88c Merge pull request dotnet/corefx#12285 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24602-02, beta-24601-02, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/06756f5cb7d12a10d77c468fc7b03abb67d9ed49
2016-10-02 10:05:09 -04:00
dotnet-bot 018cb6969b Update CoreClr, CoreFx to beta-24602-02, beta-24601-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3274ef94654da6754aaa54427d289e51ec316ea9
2016-10-02 08:24:45 +00:00
Justin Van Patten aa68f5ce2f Replace uses of Xunit.PlatformID with renamed TestPlatforms
Replace uses of `Xunit.PlatformID` with renamed `TestPlatforms` because
the old name conflicts with `System.PlatformID` and should be plural
according to the design guidelines for flags enums.


Commit migrated from https://github.com/dotnet/corefx/commit/5179dda7331b1e201519adf76ce9ae69ffe2a0f6
2016-10-01 17:18:41 -07:00
Wes Haggard e0a471e97c Merge pull request dotnet/corefx#12267 from weshaggard/UpdateXunitNetcoreExtensions
Update xunit.netcore.extensions package

Commit migrated from https://github.com/dotnet/corefx/commit/0cc9db0ed12ea2588edfd080c568e8c3f55050c7
2016-10-01 15:08:20 -07:00
Jose Perez Rodriguez a04cc5f428 Changing test projects to default to netcoreapp1.1 instead of netcoreapp1.0
Commit migrated from https://github.com/dotnet/corefx/commit/d56046ba2a740409006dfe94f1043c5f32a0339d
2016-10-01 11:08:50 -07:00
Wes Haggard bd13e2e340 Update xunit.netcore.extensions package
This allows us to start using TestPlatforms added with
https://github.com/dotnet/buildtools/pull/1000


Commit migrated from https://github.com/dotnet/corefx/commit/64a737e43afb7954d0105da8f360a1669ebe2a2d
2016-10-01 10:55:35 -07:00
dotnet-bot 027f6103a8 Update CoreClr, CoreFx to beta-24601-01, beta-24530-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d37f83fb58b99eef950787f191744f503ee50067
2016-09-30 22:46:05 -04:00
dotnet-bot 7b4f9fc0c4 Update CoreClr, CoreFx to beta-24530-04, beta-24530-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/76746a58dabb98d6df8d5404b9fe00c66404a427
2016-09-30 19:24:02 +00:00
dotnet-bot bce2d80e22 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24529-03, beta-24530-01, beta-24523-00, beta-24530-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0b6b3faaaa9877872721f52469dc48016496ed82
2016-09-30 12:35:55 -04:00
Jeremy Kuhne db81a86a72 Add negative tests for Begin/End
Adds negative tests for Begin/End, removes unnecessary block for `\\.\`
paths.

(The block for `\\.\` paths fulfills a need that predates our supported
Windows OSes. You cannot inadvertently mess up "raw" drives. In addition
we currently allow `\\?\` which is another form of device path access.)


Commit migrated from https://github.com/dotnet/corefx/commit/5376c25bea9523265696ed5806f3dc8b51bbbf25
2016-09-26 16:25:37 -07:00
Jeremy Kuhne 12bee9bc55 Expose Begin/End methods on FileStream
Also add [Obsolete] to the Handle property


Commit migrated from https://github.com/dotnet/corefx/commit/729355a49293078e416bde888dfbbd7fb49e4a37
2016-09-22 21:33:40 -07:00
Jan Kotas a959b8bd2c Rename target specific files for consistency (dotnet/corefx#11969)
- .CoreCLR.cs: CoreCLR-runtime specific files
- .CoreRT.cs: CoreRT-runtime specifc files
- .Uap.cs: Universal app platform specific files. Both UAP (Universal App Platform) and UWP (Universal Windows Platform) have been used interchangeably. I have picked UAP for the file names since it is the name used in the RID (e.g. uap101). There are number of places where UWP is used in the comments and such - I have not done anything about those.

Update documentation to match the current state of affairs

- Delete stale guidance for facade projects
- Update lists and examples to use the current RIDs
- Fix some typos

Fixes issue dotnet/corefx#9875.

Commit migrated from https://github.com/dotnet/corefx/commit/1ef561911eeabbee76e764946e40358fcd5ba144
2016-09-22 18:49:21 -07:00
dotnet-bot c2d82aba38 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24522-04, beta-24522-03, beta-24522-00, beta-24522-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/894cc88238f0bd57ad49b59cfb5f5e6581993742
2016-09-22 14:41:33 -07:00
Eric St. John 402a492928 Revert "Temporarily reference live reference projects"
This reverts commit dotnet/corefx@5c2c440955.

# Conflicts:
#	src/System.IO.FileSystem/ref/project.json
#	src/System.Security.Cryptography.Algorithms/ref/project.json
#	src/System.Security.Cryptography.Cng/ref/project.json
#	src/System.Security.Cryptography.Csp/ref/project.json
#	src/System.Security.Cryptography.OpenSsl/ref/project.json


Commit migrated from https://github.com/dotnet/corefx/commit/f377ce655d6a3cf965804c98305b607e7016c625
2016-09-22 12:25:01 -07:00
Wes Haggard 90d327c829 Disable APICompat for the older builds of System.IO.FileSystem
We are hitting bug https://github.com/dotnet/buildtools/issues/1056
until that gets fixed we need to disable this compat check.


Commit migrated from https://github.com/dotnet/corefx/commit/b04880d9d72d428058330bc18714608ffff27e17
2016-09-22 11:55:56 -07:00
dotnet-bot 96edb1b541 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24522-01, beta-24521-07, beta-24521-00, beta-24521-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/fe6144b2d3726b68f824db46047b9ddfa7516ea4
2016-09-22 11:55:56 -07:00
Jan Kotas 7de55a11bd Delete unnecessary [In, Out] annotations on Stream Read method overloads (dotnet/corefx#11972)
This annotation has no effect, the base Stream class does not have it, and most stream implementations in corefx do not have it either.

Fixes dotnet/corefx#11971.

Commit migrated from https://github.com/dotnet/corefx/commit/78d7a6836ccb6fc3ce226b1f080e95c188495af9
2016-09-22 10:48:05 -07:00
Sedar Gokbulut edd8cb9914 Updating .NetNative targeting pack to the private package
Commit migrated from https://github.com/dotnet/corefx/commit/a4b28186348765f98ac5361a01544c94613a3812
2016-09-21 21:00:20 -07:00
Eric StJohn 4aa5112f52 Merge pull request dotnet/corefx#11942 from ericstj/removeEnsureOOBFramework
Don't rely on EnsureOOBFramework

Commit migrated from https://github.com/dotnet/corefx/commit/e8994f425ce3ed16d5aa9cd39c664a597e0335eb
2016-09-21 16:33:09 -07:00
Eric St. John f04dcf8b81 Clean up depprojs
Remove references to all depprojs where the exact same file can be
included via harvesting.

Remove all depproj's that are no longer referenced.

The only depprojs that remain are those that are required for live p2p
references.


Commit migrated from https://github.com/dotnet/corefx/commit/d5ea64de4e7092aed686faabfa2a638fe7a322b8
2016-09-21 14:46:03 -07:00
Eric St. John 85201bf73a Temporarily reference live reference projects
My previous change to reuse reference assemblies from past packages
caused some packages to downgrade reference assembly versions.

Since our references build against packages (LKG) some assemblies higher
in the stack reference the old, higher, versions.  This caused the
compiler to complain that types were referenced in a higher version than
what was consumed by the compiler.

Temporarily use project-references to get past this and produce a
consistent set of packages.  This change can be reverted after we
update to a set of packages produced with this change.


Commit migrated from https://github.com/dotnet/corefx/commit/5c2c44095544cf4d1f2267cc2372cfc1a748c4c6
2016-09-20 17:27:28 -07:00
dotnet-bot 4d9c1ffa86 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24520-03, beta-24520-06, beta-24520-00, beta-24520-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/21ad171bdf873f7be8f0756ea7a572e6c9595eb9
2016-09-20 15:08:50 -07:00
Jose Perez Rodriguez 338956b6f3 Merge branch upstream/master
Commit migrated from https://github.com/dotnet/corefx/commit/855ca3172712656f6cb3984e14c6ec88ec27fd6d
2016-09-20 10:32:49 -07:00