Commit Graph
3732 Commits
Author SHA1 Message Date
xtqqczze ab378f6236 Add global AnalyzerConfig with default configuration (#13835)
* Add default global AnalyzerConfig

Add `microsoft.codeanalysis.netanalyzers\5.0.0-rtm.20502.2\editorconfig\AllRulesDefault\.editorconfig`

* Disable diagnostics for Microsoft.Management.UI.Internal

* Add IDE diagnostics to AnalyzerConfig

Copied from:
<https://github.com/stephentoub/runtime/blob/3b6600cbefe6b96706c5315ce184accbb4501f3b/eng/CodeAnalysis.ruleset> and converted using `RulesetToEditorconfigConverter.exe`
2020-10-26 21:11:09 +05:00
Thomas Nieto 9b39f05557 Remove unnecessary using in namespaces folder (#13860) 2020-10-25 09:08:05 -07:00
Thomas Nieto 9bbba286c0 Remove unnecessary using in security folder (#13861) 2020-10-25 19:39:10 +05:00
krishnayalavarthiandKrishna Yalavarthi c8feddb214 Make dispose in TranscriptionOption idempotent (#13839)
Co-authored-by: Krishna Yalavarthi <kryalava@microsoft.com>
2020-10-23 11:36:53 -07:00
Thomas Nieto 34251ed12b Remove unnessary using (#13814) 2020-10-21 17:48:32 +05:00
Sydney Smith 1a3721a574 Add PowerShell Modules to the tracked modules list (#12183) 2020-10-19 13:21:43 -07:00
Ron Green 2e0b51d970 Change Nullable usage (#13793) 2020-10-19 10:38:48 +05:00
Aditya Patwardhan 67bdf7292d Bump Microsoft.PowerShell.Native to 7.1.0-rc.2 (#13794) 2020-10-16 16:25:47 -07:00
Jordan Borean 5fe17baa3b Relax further SSL verification checks for WSMan on non-Windows hosts with verification available (#13786) 2020-10-16 09:57:42 -07:00
Aditya Patwardhan 49b7faa817 Move PowerShell build to .NET 5 RC.2 (#13780) 2020-10-14 11:04:39 -07:00
Robert Holt 56ad41b143 Add missing PSToken entries (#13779) 2020-10-14 11:02:54 -07:00
Dongbo Wang 5025d468f3 Update PSReadLine version to 2.1.0-rc1 (#13777)
* Update PSReadLine version to 2.1.0-rc1

* Update the file 'files.wxs'
2020-10-14 09:58:09 -07:00
Dongbo Wang 2728574df7 Rename 'Get-Subsystem' to 'Get-PSSubsystem' and fix two minor issues (#13765) 2020-10-14 09:42:37 -07:00
Xavier Hahn cf251a97d2 Change default fallback encoding for GetEncoding in Start-Transcript (#13732) 2020-10-09 10:43:31 -07:00
Thomas Nieto 5aca8637ae Add Get-ExperimentalFeature OutputType attribute (#13738) 2020-10-08 13:32:19 -07:00
Steve Lee 16cc9aaaf8 Fix blocking wait when starting file associated with a Windows application (#13750)
* Fix blocking wait when starting file associated with a Windows application in elevated process

* refactor check if app is WindowsApp
2020-10-07 12:58:24 +05:00
dependabot-preview[bot] c3b29cf0e7 Bump NJsonSchema from 10.2.1 to 10.2.2 (#13751)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-06 12:28:04 -07:00
dependabot-preview[bot] f2a37164bf Bump Markdig.Signed from 0.21.1 to 0.22.0 (#13741)
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/lunet-io/markdig/releases)
- [Changelog](https://github.com/lunet-io/markdig/blob/master/changelog.md)
- [Commits](https://github.com/lunet-io/markdig/compare/0.21.1...0.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-06 14:43:05 +05:00
Steve Lee fc8ca61b3d Revert "Change PSNativePSPathResolution to not be Experimental" (#13734)
* Revert "Change `PSNativePSPathResolution` to not be Experimental (#13522)"

This reverts commit 74c743d279.
2020-10-03 21:20:24 +05:00
dependabot-preview[bot] badb4c3fb1 Bump NJsonSchema from 10.1.26 to 10.2.1 (#13722)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.1.26 to 10.2.1.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-02 09:52:41 -07:00
Steve Lee 9bf512ff5d Emit warning if ConvertTo-Json exceeds -Depth value (#13692) 2020-09-28 21:22:40 +05:00
Steve Lee 36ba1092a8 Fix case where exception message contains "`n" on Windows (#13684) 2020-09-24 23:43:33 +05:00
dependabot-preview[bot] f6dc3dda90 Bump PowerShellGet from 2.2.4 to 2.2.5 (#13683) 2020-09-24 11:38:46 -07:00
dependabot-preview[bot] 13d4dd86b5 Bump Microsoft.ApplicationInsights from 2.14.0 to 2.15.0 (#13639) 2020-09-24 10:21:22 -07:00
Dongbo Wang 10237bdeb3 Update PowerShell to build against dotnet 5.0-RC.1 (#13643) 2020-09-23 14:04:01 -07:00
David Reis 3effa20410 Recognize CONOUT$ and CONIN$ as reserved device names (#13508) 2020-09-14 11:10:12 -07:00
Steve Lee d25d964d57 Fix ConciseView for interactive advanced function writing error (#13623) 2020-09-14 11:07:37 -07:00
Fredrik Nilsson f9a1ab1164 Fixed the indentation of the help content for -nologo (#13557) 2020-09-08 21:29:01 -07:00
Dongbo Wang 47f3beafcd Merge branch 'master' into preview.7 2020-09-08 16:27:29 -07:00
Dongbo Wang ad88bd60fc Make a couple of fixes to ComInterop code as suggested by .NET team (#13533) 2020-09-08 09:19:13 -07:00
dependabot-preview[bot] 1c56a2839a Bump NJsonSchema from 10.1.24 to 10.1.26 (#13586)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.1.24 to 10.1.26.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-07 08:21:39 +05:00
xtqqczze 88e706f3d7 Autofix RCS1068: Simplify logical negation (#13555) 2020-09-04 08:40:05 +05:00
Robert Holt 368c8ff3c3 Merged PR 12555: Update .NET version to 5.0.0-preview.8.20407.11
Update .NET version to 5.0.0-preview.8.20407.11
2020-09-03 18:58:21 +00:00
3beeea49af Revert "Add the parameter -Paged to Get-Help to support paging (#13374)" (#13519)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2020-09-02 15:00:19 -07:00
Ilya 81d5a86747 Add support for Tls 1.3 in Web cmdlets (#13409) 2020-09-02 10:18:15 -07:00
xtqqczze 152456d7a0 Add single blank line after copyright header (#13486) 2020-09-02 08:15:16 +05:00
xtqqczze 859890374a Use read-only auto-implemented properties (#13507)
* Autofix RCS1170: Use read-only auto-implemented property
2020-09-02 08:11:16 +05:00
xtqqczze 4e21101ba5 Use boolean instead of bitwise operators on bools (#13506)
* Autofix RCS1233: Use short-circuiting operator
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1233.md
2020-09-02 08:07:49 +05:00
Tamás Vajk 0f02fd7f1d Fix erroneous assert (#13495) 2020-09-01 09:47:26 +05:00
xtqqczze 8f37cced70 Cleanup: remove duplicate words in comments (#13539) 2020-08-31 11:39:00 -07:00
Robert Holt 6a37eb9313 Update to .NET 5 preview 8 (#13530) 2020-08-31 10:38:05 -07:00
xtqqczze 83079f6397 Reformat StringUtil (#13509) 2020-08-29 11:21:28 +05:00
Ilya 3b83a686a1 Add null check for args in CommandLineParser (#13451) 2020-08-28 12:03:30 -07:00
Ilya 4e2b6e9540 Process reparse points for Microsoft Store applications (#13481) 2020-08-27 11:51:19 -07:00
xtqqczze 78d0d0e306 Use uint instead of long for PDH constants (#13502) 2020-08-27 10:27:24 -07:00
Aditya Patwardhan cb8165eeef Move PSNullConditionalOperators feature out of experimental (#13529) 2020-08-27 10:11:01 -07:00
Steve Lee 74c743d279 Change PSNativePSPathResolution to not be Experimental (#13522) 2020-08-27 12:08:52 +05:00
The Dumb 126d94218a Use field if property does not exist for ObRoot (#13375) 2020-08-25 14:35:43 -07:00
xtqqczze 16f0b74187 Cleanup: Remove redundant empty lines (#13404) 2020-08-25 11:29:26 -07:00
xtqqczze 3594ac60c7 Add StringUtil.Format overload to avoid unnecessary allocations (#13408)
* Rename parameters to correspond to string.Format

* Add addtional overload to avoid allocations at call sites
2020-08-24 09:10:54 +05:00