Commit graph

8516 commits

Author SHA1 Message Date
Dongbo Wang
6615fa3df6
Fix test hooks for CommandLineParameterParser (#13459) 2020-08-21 11:59:30 -07:00
Robert Holt
213e5b7857
Suppress UTF-7 obsolete warnings (#13484) 2020-08-21 10:37:42 -07:00
Dongbo Wang
44bb5861cb
Avoid multiple enumerations of an IEnumerable<Expression> instance in Compiler.cs (#13491) 2020-08-21 10:28:16 -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
Aditya Patwardhan
10fdfc4ac6
Create the folder before copying the global tools (#13476) 2020-08-19 13:12:16 -07:00
Dongbo Wang
98dbaefcd6
Optimize 'GetSystemLockdownPolicy' for non-lockdown scenarios (#13438) 2020-08-19 10:48:14 -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
xtqqczze
1a0a5db069
Remove redundant delegate creation (#13441) 2020-08-19 09:15:07 -07:00
Paul Higinbotham
ac5f5f9f22
Disable WMF link invocation test (#13479) 2020-08-19 09:05:25 -07:00
Aditya Patwardhan
1e940f55b1
A few fixes to the release pipeline (#13473) 2020-08-18 15:47:56 -07:00
dependabot-preview[bot]
904e551178
Bump Markdig.Signed from 0.20.0 to 0.21.1 (#13463)
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig) from 0.20.0 to 0.21.1.
- [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.20.0...0.21.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-18 10:22:42 +05:00
Christopher Yeleighton
6c96f250e6
Add a precheck for git to build.psm1 (#13227) 2020-08-17 22:22:29 -07:00
James Truher [MSFT]
f8b9e8e9db
Create warnings when UTF7 is specified as an encoding (#13430) 2020-08-17 22:19:22 -07:00
Robert Holt
35555f90fc
Merge 7.1.0-preview.6 changes into master (#13466)
Merge 7.1.0-preview.6 changes into master
2020-08-17 16:20:18 -07:00
Robert Holt
f0151d2c98
Update README links and metadata.json for 7.1.0-preview.6 (#13437) 2020-08-17 15:42:17 -07:00
Aditya Patwardhan
dcbcd40787 Merged PR 12339: Change the variable group name
Change the variable group name
2020-08-17 21:42:12 +00:00
Robert Holt
efe1f76e7a Merged PR 12336: Update CHANGELOG for 7.1.0-preview.6 2020-08-17 19:56:56 +00:00
Dongbo Wang
d9c2e0e712
Make the parameter 'args' non-nullable in the public ConsoleHost APIs (#13429) 2020-08-13 17:06:03 -07:00
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