platform/upstream/dotnet/runtime.git
6 years agoFix PlatformPackageVersion Repo API override
Wes Haggard [Mon, 23 Oct 2017 23:32:54 +0000 (16:32 -0700)]
Fix PlatformPackageVersion Repo API override

Commit migrated from https://github.com/dotnet/corefx/commit/30c4179b4224af775ab4ddf4ebd70010e0af70ef

6 years agoAdd auto dependency flow repo API
Wes Haggard [Mon, 23 Oct 2017 23:31:33 +0000 (16:31 -0700)]
Add auto dependency flow repo API

Commit migrated from https://github.com/dotnet/corefx/commit/7c8a4e44c27cd98cf91e0921aa3a068819df5e01

6 years agoNeed to return instead of exit 0 in init-tools.sh script
Wes Haggard [Mon, 23 Oct 2017 23:17:10 +0000 (16:17 -0700)]
Need to return instead of exit 0 in init-tools.sh script

Commit migrated from https://github.com/dotnet/corefx/commit/8b6d2b55d4f57a40d36d553a2cd4f6eb46959caa

6 years agoFix file casing in project file
Wes Haggard [Mon, 23 Oct 2017 23:12:58 +0000 (16:12 -0700)]
Fix file casing in project file

Commit migrated from https://github.com/dotnet/corefx/commit/a05d99a5851977ddb006aee1c10d2ef427d16697

6 years agoUpdate init-tools scripts to allow overriding Tools directory
Wes Haggard [Mon, 23 Oct 2017 23:11:24 +0000 (16:11 -0700)]
Update init-tools scripts to allow overriding Tools directory

Commit migrated from https://github.com/dotnet/corefx/commit/8f431835d29b80e761436d8c292ffa0af0df1220

6 years agoFix csproj file casing
Wes Haggard [Mon, 23 Oct 2017 23:00:07 +0000 (16:00 -0700)]
Fix csproj file casing

Commit migrated from https://github.com/dotnet/corefx/commit/b3813b441963adb79a86ceef19a5039b6674fd36

6 years agoAdd System.Management (dotnet/corefx#24719)
Paulo Janotti [Wed, 25 Oct 2017 15:42:18 +0000 (08:42 -0700)]
Add System.Management (dotnet/corefx#24719)

* First pass building

* Remove Instrumentation and WMIGenerator

* Resources to as used on CoreFX

Opportunistic: some small changes related to warnings

* Removed hard coded path to load wminet_utils

Also moved so DllImport to use Common version of files.

* Added ref, sln, and single basic test

Code builds and pass single test

* Add CoreFX source header

* Removing unused using directives

* clean src proj references

* A bit more test coverage (19%)

* Sanitizer pass with default settings

* Adding WMIGenerator

This allows methods to generate CodeDom for strong type access to WMI
objects.

* Missing files from previous commit

* Some extra clean-up missed by SSS

* Removing #ifdef dead code

* Add pkg project

* Removing more dead code

* Removing dead code and small improvement to tests

* Suppress CA1821 when generating PNSE assembly

The finalizers are being generated empty for PNSE assembly. In such
cases disable CA1821.

* Source changes from CR (so far)

* Targets and package issues

* Go back to project targets and settings

Per conversation w/ @weshaggard it should follow the same model as
System.DirectoryServices not the packages of dlls that do not exist on
desktop. This still is not expected to be fully correct but it puts the
projects closer to the targets that they will have in the end.

* Description for the System.Management package.

* Match supported pkg frameworks

* Skip tests on Windows Nano

* Missed files from previous commit

* Untabify files and a bit more tests

* Generate PNS Assembly for uap

* Add references needed by uap for PNS assembly

* PNS assembly message

* Fixing package issue

Commit migrated from https://github.com/dotnet/corefx/commit/0f577140008e35eb39bef743406d1ce134615aa0

6 years agoUpdate BuildTools, CoreClr, Standard to prerelease-02124-02, preview1-25824-51, previ...
dotnet-maestro-bot [Wed, 25 Oct 2017 13:11:38 +0000 (06:11 -0700)]
Update BuildTools, CoreClr, Standard to prerelease-02124-02, preview1-25824-51, preview1-25824-08, respectively (dotnet/corefx#24841)

Commit migrated from https://github.com/dotnet/corefx/commit/f5db8f752e8b0af840cc86e8826141a89c34a9e3

6 years agoMerge pull request dotnet/corefx#24803 from sh3ev/patch-1
Stephen Toub [Wed, 25 Oct 2017 04:18:51 +0000 (00:18 -0400)]
Merge pull request dotnet/corefx#24803 from sh3ev/patch-1

Adjust link fit to other URLs

Commit migrated from https://github.com/dotnet/corefx/commit/1180da42bdf4fa4fb2ee5c0f026cd2e9124cb8ea

6 years agoFix build break
Christopher Costa [Wed, 25 Oct 2017 03:32:29 +0000 (20:32 -0700)]
Fix build break

Commit migrated from https://github.com/dotnet/corefx/commit/9802ece28ea68480baa57b2e63f56067b7ecdc2b

6 years agoIncrease tolerance on SendTimesOut_Throws (dotnet/corefx#24844)
Dan Moseley [Wed, 25 Oct 2017 02:19:02 +0000 (19:19 -0700)]
Increase tolerance on SendTimesOut_Throws (dotnet/corefx#24844)

* Increase tolerance on SendTimesOut_Throws

* Update ReceiveTimesOut_Throws also

Commit migrated from https://github.com/dotnet/corefx/commit/a4408cf953cfbfee13ee81f04881fb789baa3a6a

6 years agoEnable publishing to azure feed (dotnet/corefx#24784)
Karthik Rajasekaran [Tue, 24 Oct 2017 23:40:58 +0000 (16:40 -0700)]
Enable publishing to azure feed (dotnet/corefx#24784)

Commit migrated from https://github.com/dotnet/corefx/commit/997fa4b6a9edc8f793a88b2c983ca1322b92b4a8

6 years agoUpdate ownership table
Karel Zikmund [Tue, 24 Oct 2017 22:40:29 +0000 (15:40 -0700)]
Update ownership table

* Add System.Management
* Add System.Runtime.Caching
* Update interop owners

Commit migrated from https://github.com/dotnet/corefx/commit/f6c7e0d657cd029171ec57a65e2eddcdd18588f2

6 years agoEvent Log Tests disabled for Windows 7 (dotnet/corefx#24845)
Anirudh Agnihotry [Tue, 24 Oct 2017 22:08:14 +0000 (15:08 -0700)]
Event Log Tests disabled for Windows 7 (dotnet/corefx#24845)

* Event Log Tests disabled for Windows 7

* review completed

Commit migrated from https://github.com/dotnet/corefx/commit/d92705215952d8c2ec89254d789f8bf9a445788a

6 years agoChanged Syndication Tests to Test Sync APIs. (dotnet/corefx#24827)
Shin Mao [Tue, 24 Oct 2017 19:52:58 +0000 (12:52 -0700)]
Changed Syndication Tests to Test Sync APIs. (dotnet/corefx#24827)

Commit migrated from https://github.com/dotnet/corefx/commit/b88ad22208c22d0d87a794fda9bed94101963288

6 years agoDisable drawing test for Ubuntu1710 (dotnet/corefx#24838)
Dan Moseley [Tue, 24 Oct 2017 19:49:01 +0000 (12:49 -0700)]
Disable drawing test for Ubuntu1710 (dotnet/corefx#24838)

Commit migrated from https://github.com/dotnet/corefx/commit/af71933b0278df26fedac885811a2e93a62d9df6

6 years agoAdd locking to SecureTransport P/Invokes (dotnet/corefx#24833)
Jeremy Barton [Tue, 24 Oct 2017 19:13:44 +0000 (12:13 -0700)]
Add locking to SecureTransport P/Invokes (dotnet/corefx#24833)

Makes the macOS version of SslStream capable of doing one read and one write
"at the same time" without taking down the process.

Commit migrated from https://github.com/dotnet/corefx/commit/debf4bcaf4cd8e200c88c605b612cb4fa4f9150b

6 years agoExpose/test DateTime{Offset}'s Span-based {Try}Parse{Exact} and TryFormat methods...
Stephen Toub [Tue, 24 Oct 2017 16:25:22 +0000 (12:25 -0400)]
Expose/test DateTime{Offset}'s Span-based {Try}Parse{Exact} and TryFormat methods (dotnet/corefx#24470)

Commit migrated from https://github.com/dotnet/corefx/commit/0d0f5d113739318ac1f8d2b711f3b8280e28f298

6 years agoMerge pull request dotnet/corefx#24836 from dotnet-maestro-bot/master-UpdateDependencies
Stephen Toub [Tue, 24 Oct 2017 16:06:23 +0000 (12:06 -0400)]
Merge pull request dotnet/corefx#24836 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC, Standard to prerelease-02120-09, preview1-25822-02, preview1-25824-02, preview1-25823-01, beta-25824-00, beta-25824-00, preview1-25824-01, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/d31c082af38cf6b84d4ef8840f2969871b7a544d

6 years agoRename MemoryHandle PinnedPointer and add HasPointer property.
ahsonkhan [Fri, 20 Oct 2017 02:04:45 +0000 (19:04 -0700)]
Rename MemoryHandle PinnedPointer and add HasPointer property.

Commit migrated from https://github.com/dotnet/corefx/commit/4c5a4efb652236a41ee701f1ee268e361b793489

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC, Stand...
dotnet-maestro-bot [Tue, 24 Oct 2017 13:53:55 +0000 (06:53 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC, Standard to prerelease-02120-09, preview1-25822-02, preview1-25824-02, preview1-25823-01, beta-25824-00, beta-25824-00, preview1-25824-01, respectively

Commit migrated from https://github.com/dotnet/corefx/commit/b897fcb4b199092273c89c598e7d8b3eb366a4ad

6 years agoRename Microsoft.Diagnostics.EventSource.Tracing.Redist (dotnet/corefx#24834)
Brian Robbins [Tue, 24 Oct 2017 13:46:18 +0000 (06:46 -0700)]
Rename Microsoft.Diagnostics.EventSource.Tracing.Redist (dotnet/corefx#24834)

Commit migrated from https://github.com/dotnet/corefx/commit/80dec77c9c3722fbfb76d34bd8ec75d66bf9dc5a

6 years agoFix condition in System.Diagnostics.PerformanceCounter (dotnet/corefx#24828)
Santiago Fernandez Madero [Tue, 24 Oct 2017 01:26:13 +0000 (18:26 -0700)]
Fix condition in System.Diagnostics.PerformanceCounter (dotnet/corefx#24828)

Commit migrated from https://github.com/dotnet/corefx/commit/7e91c485254e054e0f3c14291f97e6a382659bec

6 years agoFix System.Data.Odbc configurations for support package and run UpdateVSConfiguration...
Santiago Fernandez Madero [Tue, 24 Oct 2017 01:24:28 +0000 (18:24 -0700)]
Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations (dotnet/corefx#24752)

* Fixed odbc configurations for compat package

* Run UpdateVSConfigurations

* Remove Default Configurations to help VS... comment from csproj's

* Remove from System.Buffers as well

Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b

6 years agoMerge pull request dotnet/corefx#24684 from Anipik/newbr
Anirudh Agnihotry [Mon, 23 Oct 2017 22:27:36 +0000 (15:27 -0700)]
Merge pull request dotnet/corefx#24684 from Anipik/newbr

Tests For EventLog

Commit migrated from https://github.com/dotnet/corefx/commit/389d7ee0630e71ff868b4d9ebcdcf8111d5acee3

6 years agoRe-enabling previously disabled tests due to Retain bug (dotnet/corefx#24785)
Ahson Ahmed Khan [Mon, 23 Oct 2017 22:01:13 +0000 (15:01 -0700)]
Re-enabling previously disabled tests due to Retain bug (dotnet/corefx#24785)

Commit migrated from https://github.com/dotnet/corefx/commit/5d164eb843b6fc2278c107184634396642483901

6 years agoAdd some System.Collections.Concurrent perf tests (dotnet/corefx#24810)
Stephen Toub [Mon, 23 Oct 2017 21:56:12 +0000 (17:56 -0400)]
Add some System.Collections.Concurrent perf tests (dotnet/corefx#24810)

* Add some System.Collections.Concurrent perf tests

Just covering basic add/remove operations on ConcurrentDictionary/Stack/Queue/Bag.

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/1eabfe92ef9fe97f8abfccb044fd6bcfffa5bb5f

6 years agoRemove New APIs in Syndication. (dotnet/corefx#24814)
Shin Mao [Mon, 23 Oct 2017 21:45:40 +0000 (14:45 -0700)]
Remove New APIs in Syndication. (dotnet/corefx#24814)

The PR removed all APIs that are added in Syndication on Net Core. We'd like to review those APIs thoroughly before exposing them.

Some public abstract async methods were changed to virtual because it's not allowed to have public abstract methods in the implementation assemblies while not exposing them in the contract assembly.

Commit migrated from https://github.com/dotnet/corefx/commit/a0c65af98df8fe746bb49da90b6c2a152d747a18

6 years agoDeleted dead code from System.Net.Requests. (dotnet/corefx#24815)
Stano Peťko [Mon, 23 Oct 2017 21:42:22 +0000 (23:42 +0200)]
Deleted dead code from System.Net.Requests. (dotnet/corefx#24815)

Commit migrated from https://github.com/dotnet/corefx/commit/d33e40e27e40d313977d324ae89c33f2842ee5b7

6 years agoExtentionclass added
Anirudh Agnihotry [Mon, 23 Oct 2017 20:36:13 +0000 (13:36 -0700)]
Extentionclass added

Commit migrated from https://github.com/dotnet/corefx/commit/c92789464b2ac983eba3a6021b13ef07eb0c8d8d

6 years agoAdd perf test to measure Memory.Span.Slice vs. Memory.Slice.Span (dotnet/corefx#24780)
Ahson Ahmed Khan [Mon, 23 Oct 2017 19:12:08 +0000 (12:12 -0700)]
Add perf test to measure Memory.Span.Slice vs. Memory.Slice.Span (dotnet/corefx#24780)

* Add perf test to measure Memory.Span.Slice vs. Memory.Slice.Span

* Addressing PR feedback - accumulate result in a local

Commit migrated from https://github.com/dotnet/corefx/commit/725495577f7e17f1ae2ad2439f219203b2cef844

6 years agoChange Memory.Slice(...).Span to Memory.Span.Slice(...) (dotnet/corefx#24813)
Stephen Toub [Mon, 23 Oct 2017 19:08:24 +0000 (15:08 -0400)]
Change Memory.Slice(...).Span to Memory.Span.Slice(...) (dotnet/corefx#24813)

The second way is more efficient.

Commit migrated from https://github.com/dotnet/corefx/commit/90edf7d04a1d32266c275aa5b239b6022ebab98b

6 years agoChanges done
Anirudh Agnihotry [Mon, 23 Oct 2017 17:59:41 +0000 (10:59 -0700)]
Changes done

Commit migrated from https://github.com/dotnet/corefx/commit/896ea2138a266a6512df99c76b4fdc46c58ccbef

6 years agoMake Expect: 100-continue handling more robust (dotnet/corefx#24789)
Stephen Toub [Mon, 23 Oct 2017 16:29:26 +0000 (12:29 -0400)]
Make Expect: 100-continue handling more robust (dotnet/corefx#24789)

When libcurl sends an Expect: 100-continue header, if it gets back a success error code, it may avoid sending the remaining payload and also may keep the connection open, which can confuse servers that expect to receive the fully promised payload and that don't close the connection when sending a final success status code instead of 100 continue.  To mitigate this, we simply change the default ExpectContinue == null behavior to be the equivalent of ExpectContinue == false rather than to be "do whatever the platform decides".  This also more closely aligns with WinHttpHandler and ManagedHandler, where effectively the "platform" in those cases decides that the default is disabled.

For ManagedHandler, currently we're mimicking behavior like that libcurl employed and may sometimes not send the full payload but still keep the connection open.  Instead, make sure we either always send the full payload or close the connection.

Commit migrated from https://github.com/dotnet/corefx/commit/724ddb8fc95a5b1f639cfa508a32b9a8c50c1949

6 years agoThrow exception if SysConf fails in Environment.ProcessorCount (dotnet/corefx#24771)
Stephen Toub [Mon, 23 Oct 2017 13:35:08 +0000 (09:35 -0400)]
Throw exception if SysConf fails in Environment.ProcessorCount (dotnet/corefx#24771)

This shouldn't happen in a valid configuration, but adding the exception to help highlight the problem with an invalid configuration.

Commit migrated from https://github.com/dotnet/corefx/commit/876a68a5a9c6bce51420a34c2f0537819d646c44

6 years agoConvert Microsoft.Diagnostics.Tracing.EventSource.Redist to use SR instead of Resourc...
Brian Robbins [Mon, 23 Oct 2017 13:03:34 +0000 (06:03 -0700)]
Convert Microsoft.Diagnostics.Tracing.EventSource.Redist to use SR instead of ResourceManager.GetResourceString (dotnet/corefx#24808)

* Switch from ResourceManager.GetResourceString to SR.

* Add missing resource strings.

Commit migrated from https://github.com/dotnet/corefx/commit/de50cc4574427f003266580983e76e5a985fe750

6 years agoRemove dead code from System.Net.NetworkInformation (dotnet/corefx#24800)
Stano Peťko [Mon, 23 Oct 2017 12:46:18 +0000 (14:46 +0200)]
Remove dead code from System.Net.NetworkInformation (dotnet/corefx#24800)

* Deleted dead code from System.Net.NetworkInformation.

* Returned back constructors, used in other platforms.

* Removed unused strings.

* Returned back strings used in other platforms.

Commit migrated from https://github.com/dotnet/corefx/commit/71188fac3f15e09bc156e92715d5995fd100906d

6 years agoDeleted dead code from System.Net.Primitives. (dotnet/corefx#24801)
Stano Peťko [Mon, 23 Oct 2017 12:45:34 +0000 (14:45 +0200)]
Deleted dead code from System.Net.Primitives. (dotnet/corefx#24801)

Commit migrated from https://github.com/dotnet/corefx/commit/693d6ea80f2a0490f01e41b80200c94bd9011f59

6 years agoExlude CustomMemoryForTest from being reflected on to unblock tests (dotnet/corefx...
Ahson Ahmed Khan [Sat, 21 Oct 2017 01:02:23 +0000 (18:02 -0700)]
Exlude CustomMemoryForTest from being reflected on to unblock tests (dotnet/corefx#24783)

Commit migrated from https://github.com/dotnet/corefx/commit/ba635832fdd968ea0864fb0d7359e02ea5603725

6 years agoAdd Synchronous APIs in Syndication for .Net Core (dotnet/corefx#24720)
Shin Mao [Sat, 21 Oct 2017 00:28:32 +0000 (17:28 -0700)]
Add Synchronous APIs in Syndication for .Net Core (dotnet/corefx#24720)

* Added WriteAttributeExtensions and WriteElementExtensions.

* Added ReadFrom and WriteTo

* Changed CanReadAsync to CanRead

* Lots of changes.

* More Changes.

* Add IXmlSerializable on some types.

* Fix errors after resolving rebase-conflicts.

* Addressed CR feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/5cf1687385b1754108f3c274a596052c3a4e5717

6 years agoAdd ActiveDirectory Tests (dotnet/corefx#24762)
Tarek Mahmoud Sayed [Fri, 20 Oct 2017 22:23:09 +0000 (15:23 -0700)]
Add  ActiveDirectory Tests (dotnet/corefx#24762)

Commit migrated from https://github.com/dotnet/corefx/commit/cd6c1749bc5cfe3ec8acf1a91ab5977a13f61fa0

6 years agoSyndication Feed async wrapper improvements (dotnet/corefx#24613)
Matt Connew [Fri, 20 Oct 2017 20:20:14 +0000 (13:20 -0700)]
Syndication Feed async wrapper improvements (dotnet/corefx#24613)

* Fixed XmlWriterWrapper and XmlReaderWrapper so they don't wrap unnecessarily
* Removing unnecessary this. prefixes plus some minor formatting cleanup
* String resource cleanup and string.Format -> SR.Format
* Improved DateTime parsers and moved parser properties to base FeedFormatter
* Small fixes for CR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/1b2646e182fefa25e77ff9329444c146229c50e8

6 years agocorrected negative index error
Anirudh Agnihotry [Fri, 20 Oct 2017 19:32:51 +0000 (12:32 -0700)]
corrected negative index error

Commit migrated from https://github.com/dotnet/corefx/commit/a19d3e7e9a94797938797c4bec87ae035a0a2ffa

6 years agoMerge branch 'newbr' of https://github.com/Anipik/corefx into newbr
Anirudh Agnihotry [Fri, 20 Oct 2017 18:53:12 +0000 (11:53 -0700)]
Merge branch 'newbr' of https://github.com/Anipik/corefx into newbr

Commit migrated from https://github.com/dotnet/corefx/commit/a71cb649a95e6c9469b37928b4a1f72f70e5daf5

6 years agoRemoved Extraline
Anirudh Agnihotry [Fri, 20 Oct 2017 18:46:09 +0000 (11:46 -0700)]
Removed Extraline

Commit migrated from https://github.com/dotnet/corefx/commit/81fb678305f176e54f5b135f210f2c2892035415

6 years agoUpdate CoreFx, Standard to preview1-25820-02, preview1-25820-01, respectively (dotnet...
dotnet-maestro-bot [Fri, 20 Oct 2017 15:24:09 +0000 (10:24 -0500)]
Update CoreFx, Standard to preview1-25820-02, preview1-25820-01, respectively (dotnet/corefx#24772)

Commit migrated from https://github.com/dotnet/corefx/commit/5e52f1b131a3c6a029e99cd5c852367ad42655e0

6 years agoOverride Read{Block}{Async}(Span/Memory) on StreamReader (dotnet/corefx#24734)
Stephen Toub [Fri, 20 Oct 2017 13:33:39 +0000 (09:33 -0400)]
Override Read{Block}{Async}(Span/Memory) on StreamReader (dotnet/corefx#24734)

* Override Read{Block}{Async}(Span/Memory) on StreamReader

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/e2563988089e63c3ec0efcdad230a853c3b5c97c

6 years agoUpdate BuildTools, CoreClr, ProjectNTfs, ProjectNTfsTestILC to prerelease-02120-03...
dotnet-maestro-bot [Fri, 20 Oct 2017 13:33:13 +0000 (08:33 -0500)]
Update BuildTools, CoreClr, ProjectNTfs, ProjectNTfsTestILC to prerelease-02120-03, preview1-25820-01, beta-25820-00, beta-25820-00, respectively (dotnet/corefx#24736)

Commit migrated from https://github.com/dotnet/corefx/commit/c50a1672a82385a64eac84e34c197215a9ba37b0

6 years agoinitial Freebsd support. (dotnet/corefx#24467)
Tomas Weinfurt [Fri, 20 Oct 2017 12:57:13 +0000 (05:57 -0700)]
initial Freebsd support.  (dotnet/corefx#24467)

* add FreeBSD

* move pragma clang diagnostic pop few lines down to avoild build error on FreeBSD with clang 3.9

* improve detection of in_pktinfo

* correct detection of in_pktinfo

* set __HostDistroRid properly to avoid warning on FreeBSD

* roll-back freebsd change - rejected in dotnet/corefx#23986

*  add support for OSGroup so this can be done consistently with managed code

* support also -release to be consistent with top level build.sh. simple "release" arg still works

* add -lpthread to get posix threads

* initial implementation of System.Diagnostics.Process. more work to come

* few FreeBSD fixes for run-test.sh

* add VerifyFreeBSDDebugName test

* fix up System.Diagnostics.Process to provide at least functionality needed by tests

* add GetPathToOpenFile()

* adress most feedback from review. refactor sysctl() to system/native. fix extra debug can commented code. handle free better. update calculation for process  start.

* minor clenup to avoid unnecesary diff and one more place to use PlatformDetection.IsFreeBSD

* address review comments. mode and merge with OSX is still to do.

* fix typo

* fix mode for chmod(). It needs to be 644 and 744 in ocral mode.

* address remaining comments from review

* more style cleanup. Use -OS instead of -OSGroup to do cross-platform build

* roll back -release and -debug option. this will be handled as separate change

* remove unsued SystemNative_SysctlByName

* remove one more place where sysctlByName sneaked in

Commit migrated from https://github.com/dotnet/corefx/commit/6c50a9e705800bbc5d166c91aa2c7e2a85b2325b

6 years agoPackaging For System.Diagnostics.EventLog (dotnet/corefx#24708)
Anirudh Agnihotry [Fri, 20 Oct 2017 05:30:38 +0000 (22:30 -0700)]
Packaging For System.Diagnostics.EventLog (dotnet/corefx#24708)

* package foler + metadata reference added

* Added descriptions

* packageupdateinedx done

* changed to netcoreapp2.0

* Build And pinvokeanalyzer corrected

* Added net461

* Xamarin frameworks added

Commit migrated from https://github.com/dotnet/corefx/commit/4e408ff42f9ecbd63f6787e781d6f06bb28ca81e

6 years agofixed netfx build by removing show progress
Anirudh Agnihotry [Fri, 20 Oct 2017 05:20:14 +0000 (22:20 -0700)]
fixed netfx build by removing show progress

Commit migrated from https://github.com/dotnet/corefx/commit/141747fd7c9d4d388adbc912c7f3d14ccb93cbbe

6 years agoMarkdown Format was Erasing Information (dotnet/corefx#24757)
Patrick Desjardins [Fri, 20 Oct 2017 03:38:59 +0000 (20:38 -0700)]
Markdown Format was Erasing Information (dotnet/corefx#24757)

The markdown symbol pipe was creating a cell making the content that had a pipe not readable.

Commit migrated from https://github.com/dotnet/corefx/commit/40b9d2226636d9234f755e01f5e36811a55d7cd2

6 years agoRemove dead code from System.Net.Http (dotnet/corefx#24735)
Stano Peťko [Fri, 20 Oct 2017 03:37:31 +0000 (05:37 +0200)]
Remove dead code from System.Net.Http (dotnet/corefx#24735)

* Deleted dead code from System.Net.Http.

* Returned back strings, used in other platforms.

* Returned back string net_http_value_not_supported.

* Deleted dead code from System.Net.Http.

* Returned back strings, used in other platforms.

* Returned back string net_http_value_not_supported.

Commit migrated from https://github.com/dotnet/corefx/commit/cdc2a7a7c27ccfcf061913c8df6f9000ffdd919b

6 years agoRemove dead code from System.Net.HttpListener. (dotnet/corefx#24749)
Stano Peťko [Fri, 20 Oct 2017 03:36:48 +0000 (05:36 +0200)]
Remove dead code from System.Net.HttpListener. (dotnet/corefx#24749)

* Deleted dead code from System.Net.HttpListener.

* Returned back strings which, are used in other platforms.

* Returned back string net_invalid_port-

Commit migrated from https://github.com/dotnet/corefx/commit/294a56a938ce00e3183b269c5e0bfbb9ea944321

6 years agoShow Progress added
Anirudh Agnihotry [Fri, 20 Oct 2017 01:12:59 +0000 (18:12 -0700)]
Show Progress added

Commit migrated from https://github.com/dotnet/corefx/commit/c13dd7d85a9075f6b5e677f4730b8d885757515d

6 years agochanged eventlog to source existence
Anirudh Agnihotry [Fri, 20 Oct 2017 01:03:43 +0000 (18:03 -0700)]
changed eventlog to source existence

Commit migrated from https://github.com/dotnet/corefx/commit/044953e860bb57c81120a48a6f64140806416ac3

6 years agocorrected using
Anirudh Agnihotry [Fri, 20 Oct 2017 00:55:25 +0000 (17:55 -0700)]
corrected using

Commit migrated from https://github.com/dotnet/corefx/commit/22058d754d1044ddc2a29372e06b975f40d50290

6 years agoRemoved show progress
Anirudh Agnihotry [Fri, 20 Oct 2017 00:43:20 +0000 (17:43 -0700)]
Removed show progress

Commit migrated from https://github.com/dotnet/corefx/commit/11f10fd8794c6b2da237c3f79c6153cf475acd36

6 years agominor formatting
Anirudh Agnihotry [Fri, 20 Oct 2017 00:41:55 +0000 (17:41 -0700)]
minor formatting

Commit migrated from https://github.com/dotnet/corefx/commit/eb6a1ef67f0ccb5712f92a68d1b413b566fbc2e5

6 years agofixed netfx build
Anirudh Agnihotry [Thu, 19 Oct 2017 23:45:19 +0000 (16:45 -0700)]
fixed netfx build

Commit migrated from https://github.com/dotnet/corefx/commit/6b4abb0bab0ccf2fa64d20324224b2b7fe40203b

6 years agoTest Updated
Anirudh Agnihotry [Thu, 19 Oct 2017 23:04:42 +0000 (16:04 -0700)]
Test Updated

Commit migrated from https://github.com/dotnet/corefx/commit/d9bb1e6a036c947bc14305cc277b8efea919c24c

6 years agotimespan updated
Anirudh Agnihotry [Thu, 19 Oct 2017 22:53:30 +0000 (15:53 -0700)]
timespan updated

Commit migrated from https://github.com/dotnet/corefx/commit/72270faf1984abb942a3cf50964b2a4b890966f5

6 years agoWaiting Time added
Anirudh Agnihotry [Thu, 19 Oct 2017 22:15:25 +0000 (15:15 -0700)]
Waiting Time added

Commit migrated from https://github.com/dotnet/corefx/commit/2d8c0758e9e4a51414a31bbb3c385623062e2c0d

6 years agolittle changes
Anirudh Agnihotry [Thu, 19 Oct 2017 22:08:28 +0000 (15:08 -0700)]
little changes

Commit migrated from https://github.com/dotnet/corefx/commit/301415bc8f3d9f7db3b0460d545bc59a48c704cf

6 years agoshowprogress added
Anirudh Agnihotry [Thu, 19 Oct 2017 19:18:33 +0000 (12:18 -0700)]
showprogress added

Commit migrated from https://github.com/dotnet/corefx/commit/640b62ac501a0f0b55c473e18bdf79816bae0e95

6 years agolittle changes
Anirudh Agnihotry [Thu, 19 Oct 2017 18:29:45 +0000 (11:29 -0700)]
little changes

Commit migrated from https://github.com/dotnet/corefx/commit/fb7ae5c4b5334d34cda8a7eb29e3f40741bf1bfa

6 years agoMerge pull request dotnet/corefx#24389 from Priya91/tlsextension
Lakshmi Priya Sekar [Thu, 19 Oct 2017 18:08:08 +0000 (11:08 -0700)]
Merge pull request dotnet/corefx#24389 from Priya91/tlsextension

Add ALPN support for SslStream.

Commit migrated from https://github.com/dotnet/corefx/commit/57b4664ba0a022de3a846b436a3a3a6bf7b91ead

6 years agoMessage Dll build error
Anirudh Agnihotry [Thu, 19 Oct 2017 17:57:42 +0000 (10:57 -0700)]
Message Dll build error

Commit migrated from https://github.com/dotnet/corefx/commit/dee2e31025adb8d21e3bd7a5a9e1c2ee286c0ade

6 years agoTypo corrected
Anirudh Agnihotry [Thu, 19 Oct 2017 17:43:16 +0000 (10:43 -0700)]
Typo corrected

Commit migrated from https://github.com/dotnet/corefx/commit/eafa39fe92e9eb4df8b19d3f388337620cc7b11a

6 years agoAdd Span/Memory overrides to StreamWriter (dotnet/corefx#24725)
Stephen Toub [Thu, 19 Oct 2017 16:40:56 +0000 (12:40 -0400)]
Add Span/Memory overrides to StreamWriter (dotnet/corefx#24725)

- Refactors StreamWriter to work in terms of Span/Memory.
- Adds TextWriter-overrides for the Span/Memory-based methods.
- Exposes the new members from the ref.
- Adds tests for the new methods.
- Respond to API review feedback that we should be naming parameters to match existing overloads, here using `buffer` instead of `source` or `destination`, since `buffer` is already used in overloads on these types.

Commit migrated from https://github.com/dotnet/corefx/commit/b272c1bde8d5d2e2b72772d2eb1f8b0496d05310

6 years agoUpdate CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview1-25819-02, beta-25819...
dotnet-maestro-bot [Thu, 19 Oct 2017 15:02:44 +0000 (10:02 -0500)]
Update CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview1-25819-02, beta-25819-00, beta-25819-00, respectively (dotnet/corefx#24733)

Commit migrated from https://github.com/dotnet/corefx/commit/093e437ad7c6f765a5a787ca29d3b68ef8f92f79

6 years agoUpdate CoreFx to preview1-25819-01 (dotnet/corefx#24731)
dotnet-maestro-bot [Thu, 19 Oct 2017 04:01:34 +0000 (23:01 -0500)]
Update CoreFx to preview1-25819-01 (dotnet/corefx#24731)

Commit migrated from https://github.com/dotnet/corefx/commit/6b66bf48c31c5e4dc95437aa53d2a4d6ab3b64ad

6 years agoReplace 'enlistment' with 'repo' in a few places (dotnet/corefx#24732)
MaxHorstmann [Thu, 19 Oct 2017 02:28:31 +0000 (22:28 -0400)]
Replace 'enlistment' with 'repo' in a few places (dotnet/corefx#24732)

"Enlistment" is a term for what in today's git world is now commonly called a "repo".

Updating this in a few places to avoid confusing compiler errors.

Commit migrated from https://github.com/dotnet/corefx/commit/e4817213c6563c40378a8bd95d48f13c4f140404

6 years agoUpdate CoreClr, CoreSetup to preview1-25818-04, preview1-25818-02, respectively ...
dotnet-maestro-bot [Thu, 19 Oct 2017 01:14:54 +0000 (20:14 -0500)]
Update CoreClr, CoreSetup to preview1-25818-04, preview1-25818-02, respectively (dotnet/corefx#24729)

Commit migrated from https://github.com/dotnet/corefx/commit/3e7528e74a6d74681561e8a90e856c17866c3567

6 years agoFixed for locale other than us
Anirudh Agnihotry [Thu, 19 Oct 2017 00:47:13 +0000 (17:47 -0700)]
Fixed for locale other than us

Commit migrated from https://github.com/dotnet/corefx/commit/c6702f600c3df6a0f67abf70e18b6c70059a0209

6 years agoshow progress and dll test added
Anirudh Agnihotry [Wed, 18 Oct 2017 23:47:00 +0000 (16:47 -0700)]
show progress and dll test added

Commit migrated from https://github.com/dotnet/corefx/commit/fd26861312ee4bcf2c1741aaebd5b4423bbc2916

6 years agoAddress nits and feedback.
Lakshmi Priya Sekar [Wed, 18 Oct 2017 23:08:19 +0000 (16:08 -0700)]
Address nits and feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/c1eab3f61ae4958df28e91b886731b37031e4530

6 years agoFix Rijndael IV/Blocksize bug
Ian Hays [Wed, 18 Oct 2017 22:30:03 +0000 (15:30 -0700)]
Fix Rijndael IV/Blocksize bug

Commit migrated from https://github.com/dotnet/corefx/commit/ee5245a9b74306d319a3a6b1b73c98f2b1d9dd44

6 years agoAdd System.DirectoryServices.AccountManagement Tests (dotnet/corefx#24692)
Tarek Mahmoud Sayed [Wed, 18 Oct 2017 22:01:40 +0000 (15:01 -0700)]
Add System.DirectoryServices.AccountManagement Tests (dotnet/corefx#24692)

* Add System.DirectoryServices.AccountManagement Tests

* Address the feedback

Commit migrated from https://github.com/dotnet/corefx/commit/15ad038973ffe6f092d3a4e85752226199f8cfdb

6 years agoremoved blank line and spaces
Anirudh Agnihotry [Wed, 18 Oct 2017 21:14:25 +0000 (14:14 -0700)]
removed blank line and spaces

Commit migrated from https://github.com/dotnet/corefx/commit/c6dd97107eb87717ed2c742fe4a41b0713c71110

6 years agoCorrected some changes
Anirudh Agnihotry [Wed, 18 Oct 2017 21:12:31 +0000 (14:12 -0700)]
Corrected some changes

Commit migrated from https://github.com/dotnet/corefx/commit/38e3c92b57ef526315dd7a6529d1b2e7c8d4eeea

6 years agolocale change left
Anirudh Agnihotry [Wed, 18 Oct 2017 21:08:49 +0000 (14:08 -0700)]
locale change left

Commit migrated from https://github.com/dotnet/corefx/commit/87bc08f2e231aaa965db282f9ed76016b5d8bdf9

6 years agoChange exception rethrowing in TdsParser.TdsExecuteRPC() so that the full exception...
Cory Rivera [Wed, 18 Oct 2017 20:42:05 +0000 (13:42 -0700)]
Change exception rethrowing in TdsParser.TdsExecuteRPC() so that the full exception callstack is retained. (dotnet/corefx#24724)

Commit migrated from https://github.com/dotnet/corefx/commit/e31853f5a9a669c00d96f7cf4c5e245705702f6a

6 years agoRemoved nano server
Anirudh Agnihotry [Wed, 18 Oct 2017 20:06:14 +0000 (13:06 -0700)]
Removed nano server

Commit migrated from https://github.com/dotnet/corefx/commit/14910dfd06f628d8ddc59bd8d62ee2e54f0479da

6 years agoCorrected some reviews
Anirudh Agnihotry [Wed, 18 Oct 2017 20:02:28 +0000 (13:02 -0700)]
Corrected some reviews

Commit migrated from https://github.com/dotnet/corefx/commit/602444f3ecba97dd05cd2468bf26a3d1e87ad3c5

6 years agoSkip alpn positive test on Linux, due to active bug in coreclr.
Lakshmi Priya Sekar [Wed, 18 Oct 2017 18:07:47 +0000 (11:07 -0700)]
Skip alpn positive test on Linux, due to active bug in coreclr.

Commit migrated from https://github.com/dotnet/corefx/commit/29a357f38463338ba72c5b4f1434ead4d9a55604

6 years agoFixing odbc test on windows server core (dotnet/corefx#24696)
Maryam Ariyan [Wed, 18 Oct 2017 16:45:29 +0000 (12:45 -0400)]
Fixing odbc test on windows server core (dotnet/corefx#24696)

Fixes dotnet/corefx#24630

Commit migrated from https://github.com/dotnet/corefx/commit/ba496e87380a2520924a9fb3eb0720ec3743d7d6

6 years agoUpdate CoreClr, CoreFx, Standard to preview1-25818-03, preview1-25818-02, preview1...
dotnet-maestro-bot [Wed, 18 Oct 2017 14:41:27 +0000 (09:41 -0500)]
Update CoreClr, CoreFx, Standard to preview1-25818-03, preview1-25818-02, preview1-25818-01, respectively (dotnet/corefx#24717)

Commit migrated from https://github.com/dotnet/corefx/commit/77be0001cea62364440ea03d6a91491ecd7188ee

6 years agoupdate parameter parsing to be more flexible and be closer to coreclr and native...
Tomas Weinfurt [Wed, 18 Oct 2017 14:18:25 +0000 (07:18 -0700)]
update parameter parsing to be more flexible and be closer to coreclr and native build (dotnet/corefx#24714)

Commit migrated from https://github.com/dotnet/corefx/commit/4eebd3129aa011a82680dbf7d90b56519f8280b9

6 years agoEnsure we always get the expected number of cookies (dotnet/corefx#24706)
James Pelcis [Wed, 18 Oct 2017 13:26:37 +0000 (08:26 -0500)]
Ensure we always get the expected number of cookies (dotnet/corefx#24706)

Commit migrated from https://github.com/dotnet/corefx/commit/f8eac8fc2bec796d85edeb2f220b72b420d042b7

6 years agoMerge pull request dotnet/corefx#23333 from geoffkizer/httpprotocoltests
Stephen Toub [Wed, 18 Oct 2017 12:58:06 +0000 (08:58 -0400)]
Merge pull request dotnet/corefx#23333 from geoffkizer/httpprotocoltests

Managed Handler: add some basic protocol tests for status line handling

Commit migrated from https://github.com/dotnet/corefx/commit/08802ff9c877f7f75a82d6704d84d321e99eb5c8

6 years agoExpose/test Span-based Convert methods (dotnet/corefx#24474)
Stephen Toub [Wed, 18 Oct 2017 11:09:28 +0000 (07:09 -0400)]
Expose/test Span-based Convert methods (dotnet/corefx#24474)

Commit migrated from https://github.com/dotnet/corefx/commit/602d2eda381f858ace4a9f6771a7272a044ee36a

6 years agoRemove dead code from Microsoft.VisualBasic (dotnet/corefx#24664)
Stano Peťko [Wed, 18 Oct 2017 05:19:41 +0000 (07:19 +0200)]
Remove dead code from Microsoft.VisualBasic (dotnet/corefx#24664)

* Deleted dead code from Microsoft.VisualBasic

* Deleted unnecessary commit.

Commit migrated from https://github.com/dotnet/corefx/commit/b290e3fd487bc42a07f9bfe02a95bb575891c167

6 years agorevert part of dotnet/corefx#24098. do not use shell to find KDestroyCmd. (dotnet...
Tomas Weinfurt [Wed, 18 Oct 2017 05:18:42 +0000 (22:18 -0700)]
revert part of dotnet/corefx#24098. do not use shell to find KDestroyCmd. (dotnet/corefx#24682)

Commit migrated from https://github.com/dotnet/corefx/commit/f757a3217fc717098d2fb9c99cdc8f2d3ab8ace5

6 years agoFix lookup path for perfcounter.dll (dotnet/corefx#24691)
Michelle McDaniel [Wed, 18 Oct 2017 05:17:56 +0000 (22:17 -0700)]
Fix lookup path for perfcounter.dll (dotnet/corefx#24691)

We need to update the lookup path for perfcounter.dll to look in the
full framework directory, rather than a local path for .Net Core.

Commit migrated from https://github.com/dotnet/corefx/commit/51f8fb757fac58657144217c791b06578d9a4e08

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup to prerelease-02118-01, preview1-25818...
dotnet-maestro-bot [Wed, 18 Oct 2017 04:24:57 +0000 (23:24 -0500)]
Update BuildTools, CoreClr, CoreFx, CoreSetup to prerelease-02118-01, preview1-25818-02, preview1-25818-01, preview1-25817-05, respectively (dotnet/corefx#24710)

Commit migrated from https://github.com/dotnet/corefx/commit/3c19f5fe0b7ee87edd18bd65f31e51c616d467a9

6 years agoAddress PR feedback
Stephen Toub [Tue, 17 Oct 2017 16:45:24 +0000 (12:45 -0400)]
Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/3b9525bd44ffab17a227cad47ae607bbf370dc1c

6 years agoFix for (dotnet/corefx#24628) - System.Collections.Tests.Perf_ArrayList/Indexer faile...
Kostadin Vasilev [Wed, 18 Oct 2017 03:34:55 +0000 (23:34 -0400)]
Fix for (dotnet/corefx#24628) - System.Collections.Tests.Perf_ArrayList/Indexer failed with "System.OutOfMemoryException" (dotnet/corefx#24711)

Commit migrated from https://github.com/dotnet/corefx/commit/8d106dbda7d16fdc9532b5dbcea69ca516e74c8d

6 years agoAdding ValidateTypeIsBlittable SpanHelper method and rename constant (dotnet/corefx...
Ahson Ahmed Khan [Wed, 18 Oct 2017 01:38:54 +0000 (18:38 -0700)]
Adding ValidateTypeIsBlittable SpanHelper method and rename constant (dotnet/corefx#24626)

* Adding ValidateTypeIsBlittable SpanHelper method and rename constant.

* Reverting SpanHelper change and renaming const to netstandard

* Removing extra spaces.

* Remove unnecessary new lines

* Addressing PR feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/5c8af507d63e94a49ab4b4a81a45510a50146faf

6 years agoRewrite BackgroundWorker test to be non blocking (dotnet/corefx#24693)
Dan Moseley [Wed, 18 Oct 2017 01:07:31 +0000 (18:07 -0700)]
Rewrite BackgroundWorker test to be non blocking (dotnet/corefx#24693)

* Increase timeout on BackgroundWorker test

* Rewrite to use TCS

Commit migrated from https://github.com/dotnet/corefx/commit/b28112eb892283f20e7e422a52da0a55ca4881d5