Travis Plunk
52e2b58d7f
Fixes to release pipeline for GA release ( #14034 )
2020-11-11 12:04:54 -08:00
Aditya Patwardhan
a22e7ec2f3
Update README and metadata json for upcoming release ( #14026 )
2020-11-11 12:03:18 -08:00
xtqqczze
bac51217d6
Enable CA1829: Use Length/Count property instead of Count() ( #13925 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1829
2020-11-11 11:55:39 +05:00
xtqqczze
23deb41f49
Enable IDE0040: AddAccessibilityModifiers ( #13962 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0040
2020-11-09 09:37:25 +05:00
xtqqczze
47c92090db
Enable CA1068: CancellationToken parameters must come last ( #13867 )
...
* Enable CA1068: CancellationToken parameters must come last
2020-11-05 09:08:28 +05:00
xtqqczze
1d7a93c2e0
Enable CA1825: Avoid zero-length array allocations ( #13961 )
2020-11-04 08:56:26 +05:00
Aditya Patwardhan
e99f055c69
Bump .NET to version 5.0.100-rtm.20526.5
( #13920 )
2020-11-02 16:51:35 -08:00
xtqqczze
ea4cf93749
Enforce code style in build ( #13957 )
...
* Enable EnforceCodeStyleInBuild
* Disable rules breaking build
2020-11-01 12:33:18 +05:00
xtqqczze
a2a938e964
Fix IDE0044: MakeFieldReadonly part 10 ( #13893 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-30 12:20:06 +05:00
xtqqczze
9932560841
Enable CA1050: Declare types in namespaces ( #13872 )
2020-10-26 22:34:26 +05:00
xtqqczze
ebff40244a
Turn on /features:strict
for all projects ( #13383 )
2020-10-23 11:39:06 -07:00
Aditya Patwardhan
49b7faa817
Move PowerShell build to .NET 5 RC.2 ( #13780 )
2020-10-14 11:04:39 -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
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
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
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
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
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
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
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
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
Robert Holt
6a37eb9313
Update to .NET 5 preview 8 ( #13530 )
2020-08-31 10:38:05 -07:00
Ilya
3b83a686a1
Add null check for args in CommandLineParser ( #13451 )
2020-08-28 12:03:30 -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
Dongbo Wang
6615fa3df6
Fix test hooks for CommandLineParameterParser
( #13459 )
2020-08-21 11:59:30 -07:00
dependabot-preview[bot]
ff2143d07b
Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1 ( #13492 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.7.0 to 16.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.0...v16.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-21 08:53:58 -07:00
Dongbo Wang
5f9d2846f7
Change Add-Type -OutputType
to not support ConsoleApplication
and WindowsApplication
( #13440 )
2020-08-21 11:30:42 +05:00
Dongbo Wang
fc4c9cbfd7
Initial work of the subsystem plugin model (for minimal powershell) ( #13186 )
2020-08-20 17:41:44 -07:00
Steve Lee
d67649c300
Fix $?
to not be $false
when native command writes to stderr
( #13395 )
2020-08-19 09:31:38 -07:00
Paul Higinbotham
ac5f5f9f22
Disable WMF link invocation test ( #13479 )
2020-08-19 09:05:25 -07:00
James Truher [MSFT]
f8b9e8e9db
Create warnings when UTF7 is specified as an encoding ( #13430 )
2020-08-17 22:19:22 -07:00
aetos
ede10850cc
Add -UnixTimeSeconds
to Get-Date
to allow Unix time input ( #13084 )
2020-08-12 10:13:59 -07:00
Ilya
68d46c1792
Refactor command line parser to do early parsing ( #11482 )
2020-08-12 09:58:46 -07:00
Thomas Nieto
46efd38ef5
Fix Get-Help
not properly displaying if parameter supports wildcards ( #13353 )
2020-08-11 10:20:45 -07:00
Steve Lee
511858a267
Make $ErrorActionPreference
not affect stderr
output of native commands ( #13361 )
2020-08-07 14:19:17 -07:00
Robert Holt
ef7c7d60a6
Revert "Add password confirmation in Get-Credential ( #12782 )" ( #13372 )
...
This reverts commit a6bd47f031
.
2020-08-07 12:11:16 +05:00
dependabot-preview[bot]
d4e047ce45
Bump PSReadLine
from 2.0.2 to 2.0.4 ( #13240 )
2020-08-06 11:17:30 -07:00
dependabot-preview[bot]
8bbd86ddab
Bump Microsoft.NET.Test.Sdk
from 16.6.1 to 16.7.0 ( #13364 )
2020-08-06 10:26:12 -07:00
Christopher Yeleighton
8626937ac4
Change "operable" to "executable" ( #13281 )
...
* Change "operable" to "executable" in a resource string
2020-08-06 13:02:43 +05:00
dependabot-preview[bot]
2b4d147be7
Bump xunit.runner.visualstudio
from 2.4.2 to 2.4.3 ( #13343 )
2020-08-05 10:09:48 -07:00
Dongbo Wang
63cf0c330c
Allow explicitly specified named parameter to supersede the same one from hashtable splatting ( #13162 )
...
Allow explicitly specified named parameter to supersede the same one from hashtable splatting.
The work is done in parameter binder, so that parameters can be resolved to cover a parameter's official name, alias name, and unambiguous partial prefix name.
The changes covers covers Hashtable splatting in 3 scenarios:
- Cmdlet or advanced script invocation;
- Simple function invocation;
- ScriptBlock.GetPowerShell(...), where the script block contains command invocation only and uses Hashtable splatting.
Some code refactoring is done to ParameterBinderController to avoid redundant code being duplicated in CmdletParameterBinderController and ScriptParameterBinderController.
2020-08-05 10:59:53 +05:00
Joel Sallow (/u/ta11ow)
6aa08f9559
Improve BigInteger casting behaviours ( #12629 )
2020-08-04 10:45:36 +05:00
Shri Ram K S
9ceee3e52f
Fix Get-Acl -LiteralPath "HKLM:Software\Classes\*" behaviour ( #13107 )
...
* Fix #11566 bug
Add pester test for Get-Acl cmdlet
* Replace -pending parameter with -skip
* Fix test failing in Linux and MacOS
2020-07-31 16:44:45 -07:00