Steve Lee
171c7ffdc8
Move GetOuputString() and GetFormatStyleString() to PSHostUserInterface as public API ( #16075 )
2021-09-15 11:12:39 -07:00
Steve Lee
c1401377d4
Add isOutputRedirected parameter to GetFormatStyleString() method ( #14397 )
2021-09-15 11:12:26 -07:00
Paul Higinbotham
1dcc873952
Fix ConvertTo-SecureString with key regression due to .NET breaking change ( #16068 )
2021-09-15 11:12:21 -07:00
Steve Lee
7c9bf378f0
Fix regression in Move-Item to only fallback to CopyAndDelete in specific cases ( #16029 )
...
If Move fails, check if known case before attempting CopyAndDelete:
- if an item is attempted to be renamed across filesystem mount boundaries.
- if the source and destination do not have the same root path.
2021-09-15 11:11:20 -07:00
Robert Holt
5480f32889
Improve CommandInvocationIntrinsics API documentation and style ( #14369 )
2021-09-15 11:11:05 -07:00
Dongbo Wang
13c5aee0f8
Set $? correctly for command expression with redirections ( #16046 )
2021-09-15 11:10:52 -07:00
Travis Plunk
87b714b612
Add .stylecop to filetypexml and format it ( #16025 )
2021-09-15 11:09:54 -07:00
Aditya Patwardhan
b1e9eab8ec
Bump .NET to 6.0.100-rc.1.21430.44 ( #16028 )
2021-09-15 11:09:48 -07:00
Paul Higinbotham
5f2e397154
Remove duplicate remote server mediator code ( #16027 )
2021-09-15 11:09:44 -07:00
Joel Sallow (/u/ta11ow)
2afa687b04
Use CurrentCulture when handling conversions to DateTime in Add-History ( #16005 )
2021-09-15 11:08:51 -07:00
github-actions[bot]
b414fff353
Update .NET SDK version from 6.0.100-preview.6.21355.2 to 6.0.100-rc.1.21426.1 ( #15648 )
2021-09-15 11:08:39 -07:00
Daryl Graves
6a2c9c80a5
Format-Wide: Fix NullReferenceException ( #15990 )
2021-09-15 11:02:45 -07:00
Aditya Patwardhan
d3465ab76f
Revert "Use GetValueOrDefault() for nullable PSLanguageMode ( #13849 )" ( #15980 )
2021-09-15 10:59:15 -07:00
arfy slowy
55855fbe5d
Fix spelling in XML docs ( #15939 )
2021-08-17 09:01:04 +05:00
Steve Lee
a162856af5
Change default to OutputRendering.Host and remove OutputRendering.Automatic ( #15882 )
2021-08-16 14:17:07 -07:00
Dongbo Wang
286f12a37c
Update .NET adapter to handle interface static members properly ( #15908 )
2021-08-14 07:56:14 -07:00
Steve Lee
dda6c156d2
Fix $PSStyle list output to correctly show TableHeader ( #15928 )
2021-08-13 15:40:07 -07:00
Paul Higinbotham
1ec61d955c
Remove implicit remoting batch experimental feature ( #15863 )
...
It was decided by committee (#15862 ) to remove this experimental feature. It was an interesting idea but the implementation did not cover important cases, and could not be updated easily to do so.
2021-08-13 08:34:31 +05:00
Paul Higinbotham
e2c23fc5bd
Add error catch for unauthorized access when removing AppLocker test files ( #15881 )
2021-08-10 11:03:53 -07:00
Steve Lee
cced56d75a
Make PS-Committee reviewed experimental features stable ( #15864 )
2021-08-09 14:01:57 -07:00
xtqqczze
58483e1366
Replace GetFiles in CompletionCompleters ( #14329 )
2021-08-05 16:35:38 -07:00
xtqqczze and Joel Sallow
01a4714b76
Enable CA1067: Override Object.Equals(object) when implementing IEquatable<T> ( #13871 )
...
* Enable CA1067: Override Object.Equals(object) when implementing IEquatable<T>
* Group Equals methods
* Reformat xml documentation
* Update src/System.Management.Automation/engine/EventManager.cs
Co-authored-by: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com >
Co-authored-by: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com >
2021-08-05 16:32:33 -07:00
dependabot[bot]
ce6f04aa8a
Bump Microsoft.ApplicationInsights from 2.17.0 to 2.18.0 ( #15842 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 15:23:54 -07:00
Ilya
45adfee558
Enhance Remove-Item to work with OneDrive ( #15571 )
2021-08-05 11:41:55 -07:00
Steve Lee
2ae0e4d9dd
Update ServerRemoteHost Version to be same as PSVersion ( #15809 )
2021-08-04 15:01:18 -07:00
Staffan Gustafsson
1bfa1c36a7
Forwarding progress stream changes from Foreach-Object -Parallel runspaces ( #14271 )
2021-07-31 18:51:03 +05:00
xtqqczze
055b7f3003
Fix CA1052 for public API to make classes static when they only have static methods ( #15775 )
2021-07-28 12:28:24 -07:00
xtqqczze
3733a0bb37
Avoid unnecessary StringCollection allocation in formatting code ( #15832 )
2021-07-27 11:18:53 -07:00
Steve Lee
5e15f66f97
Add validation to $PSStyle to reject printable text as ANSI escape sequence ( #15825 )
2021-07-27 17:14:20 +00:00
James Truher [MSFT]
ac762c1cce
Add a Windows mode for native commands that allows some commands to use legacy argument passing ( #15408 )
2021-07-20 23:10:04 +00:00
xtqqczze
71f62c7cf3
Fix IDisposable impl for CommandPathSearch ( #15793 )
2021-07-20 09:30:48 +05:00
Steve Lee
b5efe7bc39
Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output ( #14406 )
2021-07-20 09:02:52 +05:00
Aditya Patwardhan
31a4528302
Update to .NET 6 Preview 6 and use crossgen2 ( #15763 )
2021-07-19 16:06:39 -07:00
xtqqczze
883ca98dd7
Seal private classes ( #15725 )
...
* Seal private classes
* Fix CS0509
* Fix CS0628
2021-07-19 14:09:12 +05:00
Steve Lee
9fb3c2e97c
Highlight using error color the exception Message and underline in PositionMessage for Get-Error ( #15786 )
2021-07-16 15:15:16 +05:00
xtqqczze
4dd25a432c
Enable IDE0029: UseCoalesceExpression ( #15770 )
...
Enable [IDE0029: UseCoalesceExpression](https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0029 )
2021-07-15 09:17:46 +05:00
Ilya
0f3bc73d9a
Implement a completion for View parameter of format cmdlets ( #14513 )
2021-07-13 17:32:48 +00:00
xtqqczze
00bc0f6d29
Enable IDE0030: UseCoalesceExpressionForNullable ( #14289 )
2021-07-13 10:13:49 -07:00
Steve Lee
bfb4a818bf
Add support to colorize FileInfo file names ( #14403 )
2021-07-12 11:07:29 -07:00
Aditya Patwardhan
6d09c6e40a
Fix CA1846 and CA1845 for using AsSpan instead of Substring ( #15738 )
2021-07-09 10:55:23 -07:00
xtqqczze
6d08db612e
Use List<T>.RemoveAll to avoid creating temporary list ( #15686 )
2021-07-07 20:54:44 -07:00
xtqqczze
acb4c4acff
Fix HyperVSocketEndPoint.ServiceId setter ( #15704 )
2021-07-07 16:52:36 +05:00
xtqqczze
03b07a0062
Enable IDE0044: MakeFieldReadonly ( #13880 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2021-07-07 09:33:19 +05:00
Konstantin Gukov
8dcd5a2e1c
Use nameof to get parameter names when creating ArgumentNullException ( #15604 )
2021-07-05 22:04:13 -07:00
xtqqczze
4c2d6dcfca
Make classes sealed ( #15675 )
...
Fix [RCS1225](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1225.md )
2021-07-04 16:49:52 +05:00
Dongbo Wang
14f25c92e7
Test if a command is 'Out-Default' more thoroughly for transcribing scenarios ( #15653 )
2021-06-28 11:26:14 -07:00
xtqqczze
1e992c5e53
Replace Single with First when we know the element count is 1 ( #15676 )
2021-06-25 17:19:05 -07:00
Jason Helmick
170a226689
Add Microsoft.PowerShell.Crescendo to telemetry allow list ( #15372 )
2021-06-24 12:30:40 -07:00
Steve Lee
375be2e705
Add DetailedView to $ErrorView ( #15609 )
2021-06-22 13:35:38 -07:00
MartinGC94
77054ff586
Fix splatting being treated as positional parameter ( #14623 )
2021-06-15 16:56:14 -07:00