Commit Graph
503 Commits
Author SHA1 Message Date
Santiago Fernandez Madero ce1b82e2b0 Add Replace methods to System.IO.FileInfo (dotnet/corefx#13563)
* Add Replace methods to System.IO.FileInfo


Commit migrated from https://github.com/dotnet/corefx/commit/2b0ce9c6f76cf2d68d79032f220cabe97eb4e676
2016-11-10 21:35:16 -08:00
Stephen Toub 36b41ee040 Merge pull request dotnet/corefx#13529 from stephentoub/fix_replace_unix
Improve File.Replace implementation on Unix

Commit migrated from https://github.com/dotnet/corefx/commit/bb52cbbb9ba2f7b7cc95841d0b62e9ae9253b729
2016-11-10 12:16:05 -05:00
Jeremy Kuhne f05a8c4187 Move IO types into System.Runtime.Extensions (dotnet/corefx#13451)
Move all of System.IO into System.Runtime.Extensions.
Finish moving System.IO.Primitives into System.Runtime.

Commit migrated from https://github.com/dotnet/corefx/commit/55eb2f16c4ccdb6e4c50a89af5c14ac843239901
2016-11-09 14:44:50 -08:00
Stephen Toub 4b715d2c4e Improve File.Replace implementation on Unix
Bring the behavior closer to the Windows implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/d40ef305c41199e23a709d8697ac88643d3cebc4
2016-11-09 16:32:18 -05:00
Jeremy Kuhne 90d1f3d724 Update to CoreCLR FileStream (dotnet/corefx#13229)
* Json changes for updating to new CLR

* Take new CoreCLR

Uses new copy of FileStream from CoreCLR
Moves FileStream to System.Runtime
Forwards from old locations
Various workarounds/fixes

* Update to CoreCLR beta-24704-03


Commit migrated from https://github.com/dotnet/corefx/commit/bd667b3e719ff84110d9b3c8c087a678337aa5a5
2016-11-04 11:52:01 -07:00
Alex Ghiondea 81e93c452c Re-enable tests for issues that have already been resolved.
Commit migrated from https://github.com/dotnet/corefx/commit/51394d7ca62027468d488b25a4ab87f4a12dc5ba
2016-10-26 15:00:58 -07:00
Stephen Toub e95ddc204b Fix FileStream.InitFromHandle to avoid calling virtual CanSeek on Unix
Doing so breaks IsolatedStorageFileStream


Commit migrated from https://github.com/dotnet/corefx/commit/1a4a219382a709d4dae63df92d68c9c0e1cf1585
2016-10-23 17:46:15 -04:00
Stephen Toub e25b3cdf40 Fix FileStream.VerifyHandleIsSync to avoid calling virtual CanRead/CanWrite methods
Doing so breaks IsolatedStorageFileStream, as they're being called during construction, leading to null ref exceptions.


Commit migrated from https://github.com/dotnet/corefx/commit/dfc9a008edac2ed69965cf17b62d10b16a398ef0
2016-10-23 13:06:56 -04:00
Santiago Fernandez Madero f720329782 Fix for Build 20161020-31 (dotnet/corefx#12857)
Commit migrated from https://github.com/dotnet/corefx/commit/fd87838f34c31811c3f2355caedfa2d0fee6fd9e
2016-10-20 22:06:59 -04: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
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
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
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 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
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
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
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
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
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
Jose Perez Rodriguez fe65028e81 Merge branch dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/76676dc565873fdd46d545fadfbbdfe8fd9d464e
2016-09-20 10:27:33 -07:00
Wes Haggard bd8db4a0f0 Fix Performance package references after dev/api merge
The performance package versions were reverted after the dev/api merge.

This change bumps them back up as well as adds validation for the package
version so we should catch this in the future.


Commit migrated from https://github.com/dotnet/corefx/commit/e6ca0b494dbd37b6ce6cc84207f86c004f3aa341
2016-09-19 14:49:01 -07:00
dotnet-bot 23d6e4713d Update CoreClr, CoreFx to beta-24518-02, beta-24516-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dfa190bcbb19492f0584298671ae27171d0e460c
2016-09-18 08:19:04 +00:00
Jose Perez Rodriguez e9c5a6629e Using master packages instead of dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/517f1bf92c00acf7b0a71318255bb1d4504264d4
2016-09-16 11:17:32 -07:00
dotnet-bot f7a9e6db49 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24516-01, beta-devapi-24515-01, beta-24514-00, beta-24516-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/a51ffdcc41142c8928da0ce9d05ec586476cc227
2016-09-16 11:16:36 -07:00
Eric Mellino e56a59145e Add new RIDs to test projects which explicitly list test RIDs
Commit migrated from https://github.com/dotnet/corefx/commit/5178d4cc47b0aef963a1fdf7e6a30c56fc09fb0d
2016-09-15 14:00:23 -07:00
Stephen Toub c97b0561ae Use ArrayPool in CopyToAsync in several System.IO streams
- FileStream (already in async on Windows, now for all flavors)
- DeflateStream
- GZipStream
- PipeStream
- UnmanagedMemoryStream


Commit migrated from https://github.com/dotnet/corefx/commit/73c954517c9fbdea29fe1884fb143cb6ab3af4ec
2016-09-14 07:28:19 -04:00
Jose Perez Rodriguez e1aad88660 PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/9d3ce84d24d66fbdc5c9e283913cf670433b1e38
2016-09-13 15:44:31 -07:00
dotnet bot 00c87135e4 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24513-04, beta-devapi-24513-01, beta-24513-00, beta-24513-01, respectively (dotnet/corefx#11676)
Commit migrated from https://github.com/dotnet/corefx/commit/fd90f226320164ee174e23bd9ef81c0123a4bbfe
2016-09-13 13:54:48 -07:00
Jose Perez Rodriguez bf0da1a921 Required changes to get the build green again after merge from dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/ed8347041878054db7707d54201779ccba967782
2016-09-13 11:21:48 -07:00
Stephen Toub c60af566db Merge pull request dotnet/corefx#11652 from stephentoub/filesystem_missingapis
Add missing APIs to System.IO.FileSystem

Commit migrated from https://github.com/dotnet/corefx/commit/01ad0079597b760c3e2b26f5c7ff26029db17a1d
2016-09-13 07:51:48 -04:00