xtqqczze
69ded7777a
Use span-based string.Concat inatead of string.Substring ( #13500 )
...
Before:
```csharp
str1 + str2.Substring(...) + str3
```
After:
```csharp
string.Concat(str1, str2.AsSpan(...), str3)
```
2020-10-28 13:01:05 +05:00
Ilya
dfc591c218
Fix NRE in Test-Json ( #12942 )
2020-10-27 13:54:52 -07:00
Travis Plunk
191c00da17
Enable CodeQL Security scanning ( #13894 )
2020-10-27 10:20:15 -07:00
xtqqczze
9932560841
Enable CA1050: Declare types in namespaces ( #13872 )
2020-10-26 22:34:26 +05:00
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:
<3b6600cbef/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
Travis Plunk
55c2858051
Add checkout step to release build templates ( #13840 )
2020-10-23 11:42:24 -07:00
xtqqczze
ebff40244a
Turn on /features:strict
for all projects ( #13383 )
2020-10-23 11:39:06 -07:00
krishnayalavarthi
c8feddb214
Make dispose
in TranscriptionOption
idempotent ( #13839 )
...
Co-authored-by: Krishna Yalavarthi <kryalava@microsoft.com>
2020-10-23 11:36:53 -07:00
Dongbo Wang
d20e1217ad
Update README and metadata.json for 7.1.0-rc.2 release ( #13821 )
2020-10-21 13:24:04 -07:00
paul cheung
5b82b76755
Minor fix keyword typo in csharp comment. ( #13811 )
...
Co-authored-by: pz87 <paul.k.zhang@newegg.com>
2020-10-21 17:50:53 +05: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
Robert Holt
ab885ae11c
Add flag to make Linux script publish to production repo ( #13714 )
2020-10-06 10:24:18 -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
Travis Plunk
de6966a9fc
markdownlint security updates ( #13730 )
...
* security updates
* exclude markdown test changes from product CI is future
2020-10-02 09:51:09 -07:00
Dave Goldman
b7cabd4063
Fix crontab formatting in example doc ( #13712 )
...
* Updating formatting
Fixing formatting
* Update CronTab.psm1
2020-10-02 05:54:15 -06:00
Dongbo Wang
e107ecd08d
Update README
and metadata.json
for 7.1.0-rc.1
release ( #13708 )
2020-09-29 19:11:13 -07:00
Robert Holt
b2f9602797
Use new release script for Linux packages ( #13705 )
2020-09-29 13:21:33 -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
Heath Stewart
af6d9fbe14
Write the InstallLocation to fixed registry key ( #13576 )
2020-09-10 11:33:07 -07:00
Robert Holt
cbb33138ce
Update README and metadata.json for 7.1.0-preview.7 release ( #13565 )
2020-09-09 13:57:51 -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
cde9b7883b
Merge v7.1.0-preview.7 release branch to master
2020-09-08 17:17:08 -07:00
Dongbo Wang
47f3beafcd
Merge branch 'master' into preview.7
2020-09-08 16:27:29 -07:00
Dongbo Wang
7663644880
Merged PR 12607: Fix the commit comparing link
...
Fix the commit comparing link
2020-09-08 22:34:27 +00:00
Dongbo Wang
bd9185caab
Merged PR 12600: Update change log for the v7.1.0-preview.7 release
...
Update change log for the v7.1.0-preview.7 release
2020-09-08 19:39:58 +00: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
Robert Holt
dd4bd716c8
Merged PR 12589: Add Microsoft.NET.Test.Sdk dependency
...
Also update xunit dependencies to latest patch.
2020-09-04 22:00:26 +00:00