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
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
Stephen Toub
e68f0ecf04
Merge pull request dotnet/corefx#11829 from stephentoub/copytoasync_clearing
...
Avoid unnecessary clearing in CopyToAsync
Commit migrated from https://github.com/dotnet/corefx/commit/4a844b4b90f3e3d113bbc2507c11bb23117ab9f8
2016-09-19 22:44:39 -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
8218c783fe
Update CoreClr, ProjectNTfs to beta-24519-01, beta-24519-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/c9618ec4bd165bffdb3d53ec7dc69535d43d57a7
2016-09-19 03:16:07 +00: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
Stephen Toub
4c85ed317a
Avoid unnecessary clearing in CopyToAsync
...
With getting buffers from the ArrayPool, we want to clear the buffers before we put them back into the pool. But we only need to clear the max amount we used, and we're very likely to be using much larger buffers than we actually need. This change keeps track of how much space we used and only clears that much.
Commit migrated from https://github.com/dotnet/corefx/commit/b1cef729e9ce02f5ccc3d5aefad9076ccb791d38
2016-09-16 18:15:33 -04: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
924f7cce95
Merge remote-tracking branch 'mainrepo/master' into MergeDevApi
...
Commit migrated from https://github.com/dotnet/corefx/commit/d45125ea74ad4914fed602552a3eddc9c9a64281
2016-09-13 11:26:25 -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
86b951f10e
Use ArrayPool in FileStream.CopyToAsync
...
Rather than allocating a new buffer in CopyToAsync, take one from the shared array pool. This drastically reduces the memory allocation from a FileStream.CopyToAsync operation, and helps to improve throughput as a result. In one microbenchmark that repeatedly copied an 80K file with CopyToAsync's default args, throughput increased by 20% and gen0 GCs decreased by 100x.
Commit migrated from https://github.com/dotnet/corefx/commit/cd0fdb83ac77ec80581f2a86a20f20126753be4e
2016-09-13 08:01:51 -04: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
Stephen Toub
abc4973a51
Add missing APIs to System.IO.FileSystem
...
Adds:
- File.WriteAllLines(string, string[])
- File.WriteAllLines(string, string[], Encoding)
- File.Replace(string, string, string)
- File.Replace(string, string, string, bool)
- File.Encrypt(string)
- File.Decrypt(string)
- FileInfo.Encrypt()
- FileInfo.Decrypt()
- FileStream.Handle
- FileStream.Lock(long, long)
- FileStream.Unlock(long, long)
Currently throws PlatformNotSupportedException from:
- Encrypt/Decrypt on all platforms. These can be implemented on Win32, but the APIs needed are not currently exposed as allowed in buildtools.
- Lock/Unlock on Unix and WinRT. These can be implemented on Unix; I just didn't in this commit.
Commit migrated from https://github.com/dotnet/corefx/commit/2fbc772ea8bd83a37b9f26c1a7c928a6be2d2c0b
2016-09-12 20:32:59 -04:00
Stephen Toub
5e714d538b
Address PR feedback
...
Commit migrated from https://github.com/dotnet/corefx/commit/5a8285faabf7183e93509fb44e686abcfa05059c
2016-09-12 20:25:11 -04:00