Commit graph

8246 commits

Author SHA1 Message Date
Aditya Patwardhan
622c02078b
Create release pipeline as a yaml pipeline (#13394) 2020-08-13 16:09:50 -07:00
Aditya Patwardhan
c20433a4a9
Update infrastructure to consume private builds from .NET (#13427) 2020-08-13 14:52:00 -07:00
Youssef Victor
112f1b97a3
Add missing dispose for CancellationTokenSource (#13420) 2020-08-13 14:37:47 -07:00
Travis Plunk
53fd453ef9
Fix breaks in packages daily build due to macOS signing changes (#13421) 2020-08-12 15:08:54 -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
Aditya Patwardhan
485ec44005
Add the parameter -Paged to Get-Help to support paging (#13374) 2020-08-11 15:51:00 -07:00
Travis Plunk
a00741e6c7
Sign individual files in pkg (#13392)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-08-11 14:01:47 -07:00
Thomas Nieto
46efd38ef5
Fix Get-Help not properly displaying if parameter supports wildcards (#13353) 2020-08-11 10:20:45 -07:00
xtqqczze
d8f8f0a8bc
Fix comparison of value type object to null (#13285) 2020-08-10 14:56:14 -07:00
Anam Navied
b430303a03
fixed/clarified instructions for running Start-PSPester tests (#13373) 2020-08-10 14:53:05 -07:00
Christopher Yeleighton
16425645ab
Improve inline documentation for VerbInfo (#13265) 2020-08-10 14:43:33 -07:00
Travis Plunk
a89f2611fd
Disable code sign validation on jobs that do not sign (#13389) 2020-08-10 09:07:58 -07:00
Travis Plunk
5492df6cb4
Fix dotnet install errors (#13387) 2020-08-10 09:06:04 -07:00
xtqqczze
dd85bd1178
Use 'is' operator instead of 'as' operator (#13287) 2020-08-10 09:07:31 +05:00
Dongbo Wang
4214800690
Refresh and enable the ComInterop code in PowerShell (#13304) 2020-08-07 16:24:10 -07:00
Steve Lee
511858a267
Make $ErrorActionPreference not affect stderr output of native commands (#13361) 2020-08-07 14:19:17 -07:00
Sergey Vasin
fe2019b054
Update pwsh help for -InputFormat parameter (#13355) 2020-08-07 12:16:02 +05: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
xtqqczze
87b2581dd2
Change SwitchParameters from fields to properties (#13291) 2020-08-06 15:29:17 -07:00
dependabot-preview[bot]
d4e047ce45
Bump PSReadLine from 2.0.2 to 2.0.4 (#13240) 2020-08-06 11:17:30 -07:00
xtqqczze
9df6159192
Update build documentation for Visual Studio 2019 dependency (#13336) 2020-08-06 10:29:05 -07:00
dependabot-preview[bot]
ea966b495e
Bump Microsoft.CodeAnalysis.CSharp from 3.6.0 to 3.7.0 (#13360) 2020-08-06 10:27:10 -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
Thomas Nieto
bedd3bc287
Remove AssemblyInfo property from list views (#13331) 2020-08-05 12:17:09 -07:00
xtqqczze
aa43d867af
Switch to MIT license for files copied from Roslyn (#13305) 2020-08-05 10:51:57 -07: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
Dongbo Wang
ada1b36ab6
Increase the timeout of Windows daily build to 90 minutes (#13354) 2020-08-05 10:39:42 +05:00
Christopher Yeleighton
7ed43d9c16
HelpSystem: Improve the wording of inline comments (#13274) 2020-08-04 15:11:10 -07:00
Joel Sallow (/u/ta11ow)
6aa08f9559
Improve BigInteger casting behaviours (#12629) 2020-08-04 10:45:36 +05:00
Travis Plunk
738496dc72
Use authenticode cert for msix signing (#13330) 2020-08-03 19:23:22 -07: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
xtqqczze
4597b41396
Use is not syntax where appropriate and remove unnecessary parentheses (#13323) 2020-07-31 16:41:59 -07:00
Robert Holt
5abcd5854e
Revert "Add action to label size of PR" (#13325) 2020-07-31 11:06:14 -07:00
Dongbo Wang
4464d1b414
Add DefaultVisit method to the visitor interface and class (#13258) 2020-07-31 10:16:59 -07:00
Ilya
58b91a89b6
Fix conflicting shorthand switch -s (sta) for pwsh (#13262) 2020-07-31 09:40:42 -07:00
Steve Lee
99b3bfaa34
Change Read-Host -MaskInput to use existing SecureString path, but return as plain text (#13256) 2020-07-30 22:16:37 -07:00
xtqqczze
2eade89f25
Remove unreachable code in CustomShellCommands.cs (#13316) 2020-07-30 17:59:11 -07:00
Travis Plunk
2398185447
Add action to label the size of a PR (#13321) 2020-07-30 16:49:38 -07:00
Dongbo Wang
4b9b0788ed
Revert "Use is null syntax (#13277)" (#13322)
This reverts commit 6c03776d74.
2020-07-30 16:06:38 -07:00
Reece Dunham
fd05d1af93
Update the dependabot configuration to version 2 (#13230) 2020-07-30 10:08:18 -07:00
xtqqczze
7beec89f50
Add copyright header to .editorconfig and update files (#13306) 2020-07-30 09:47:21 -07:00
xtqqczze
6c03776d74
Use is null syntax (#13277)
Replace `== null` with `is null`
2020-07-30 18:04:03 +05:00
Dongbo Wang
1f904e47d4
Make the failing test pending to unblock PR CIs (#13310)
* Mark Test-Connection tests as pending
2020-07-30 12:48:53 +05:00
Dave Goldman
49e432db7a
Fixing typo in Out-File.cs and Out-Printer.cs (#13298) 2020-07-29 11:14:16 -07:00
Tasnim Zotder
7f9b118dc0
Grammar correction of Readme.md and other docs (#13269) 2020-07-29 22:23:09 +05:00
Ilya
6dec823077
Fix Test-XUnitTestResults function (#13270) 2020-07-29 22:17:46 +05:00
Dongbo Wang
74ddc3e8a1
Remove ComEnumerator as COM objects using IEnumerator is now supported in dotnet 5.0 (#13259) 2020-07-29 22:12:00 +05:00