Commit graph

7242 commits

Author SHA1 Message Date
Steve Lee
89db7505d6 Have console host not enter command prompt mode when using Read-Host -Prompt (#9743)
`Read-Host` calls into `$Host.UI.Prompt()`.  However, this method is also used when the host prompts for mandatory parameters that aren't provided.  The method expects to be called when given a `FieldDescription` and if the input starts with `!` it enters `CommandPromptMode`.  In this mode, you can type `!?` to request help, for example.  However this mode is not something you can use via `Read-Host` (only if calling `$Host.UI.Prompt()` directly passing in a well constructed `FieldDescription`).  When using `Read-Host -Prompt`, the cmdlet creates a `FieldDescription` where the name is the prompt and the rest of the properties are empty.

The fix is that if `Label` is empty, we can assume it's being called from `Read-Host` rather than being called to prompt for a mandatory parameter and thus not enter `CommandPromptMode`.
2019-06-09 07:55:11 -07:00
dependabot-preview[bot]
cd63d132f7 Build(deps): Bump NJsonSchema from 10.0.14 to 10.0.15 (#9854) 2019-06-07 11:51:35 -07:00
Amit Saraf
689434e535 Support DSC compilation on Linux. (#9834) 2019-06-07 11:50:14 -07:00
Ilya
7e423e7451
Fix minor style issues come from last commits (#9640) 2019-06-07 08:35:33 +05:00
dependabot-preview[bot]
ed3c832016 Build(deps): Bump NJsonSchema from 10.0.13 to 10.0.14 (#9843) 2019-06-06 10:51:03 -07:00
Joel Sallow (/u/ta11ow)
f5e3de036e Improve whitespace for Parser tests (#9806) 2019-06-05 10:09:45 +05:00
Steve Lee
b4e2423fab Fix use of Start-Process http://bing.com (#9793) 2019-06-04 14:36:12 -07:00
Jacob Scott
f222a686c5 Support negative numbers in -split operator (#8960) 2019-06-03 16:33:54 -07:00
dependabot-preview[bot]
0e89b0f91f Build(deps): Bump NJsonSchema from 9.14.1 to 10.0.13 (#9805) 2019-06-03 14:48:13 -07:00
Ilya
83708a4242
Use new string.ConCat() in Process.cs (#9720) 2019-06-01 23:51:25 +05:00
dependabot-preview[bot]
931c438ff1 Build(deps): Bump System.Net.Http.WinHttpHandler from 4.5.3 to 4.5.4 (#9786) 2019-05-31 15:00:34 -07:00
Travis Plunk
45f8abbd12 Disable stale bot in favor of an internal bot that we can customize more (#9785) 2019-05-31 12:42:40 -07:00
dependabot-preview[bot]
c2cedccfbd Build(deps): Bump Microsoft.ApplicationInsights from 2.9.1 to 2.10.0 (#9757) 2019-05-31 11:43:47 -07:00
kwkam
f0133bed8e Fix Get-ChildItem -Path with wildcard char (#9257)
Unescape non-literal, non-glob path before existence checking.
2019-05-31 10:14:39 -07:00
Joel Sallow (/u/ta11ow)
259c4dd3f2 Code Cleanup: Tidy up scriptblock.cs (#9732) 2019-05-31 08:15:40 +05:00
Travis Plunk
943cff95f6
Increase timeout of NuGet job to workaround build timeout (#9772) 2019-05-30 15:25:21 -07:00
Aditya Patwardhan
8b121f5a97
Update README and metadata.json for 7.0.0-preview.1 release (#9767) 2019-05-30 15:24:45 -07:00
Travis Plunk
1ce2de4a15
Merge branch 'release/v7.0.0-preview.1' into master 2019-05-30 14:42:09 -07:00
Travis Plunk
dda78e2777 Merged PR 8542: changelog draft
changelog draft
2019-05-30 21:02:44 +00:00
Aditya Patwardhan
76e632402e Merged PR 8547: Fix the PowerShell version number in MSI packages
Fix the PowerShell version number in MSI packages
2019-05-29 22:37:18 +00:00
Aditya Patwardhan
87e6e74ca9 Change log 6.1.4 (#9759)
* Update change log for 6.1.4

Update change log for 6.1.4

* Resolve conflicts
2019-05-29 10:55:01 -07:00
Aditya Patwardhan
8a981f404a Change log for release 6.2.1 (#9760)
Changelog for 6.2.1 and fix spellings
2019-05-29 10:54:36 -07:00
Aditya Patwardhan
8ea15c9f13 Merged PR 8529: Add cleanup before building test package
Add cleanup before building test package
2019-05-29 00:31:14 +00:00
Aditya Patwardhan
c2ba87d845
Update the target framework for reference assemblies to netcoreapp3.0 (#9747)
Update the target framework for reference assemblies to netcoreapp3.0
2019-05-28 15:09:48 -07:00
Aditya Patwardhan
ead353e5e4 Pin version of netDumbster to 2.0.0.4 (#9748) 2019-05-28 14:40:03 -07:00
Aditya Patwardhan
ed1b991b6f Merged PR 8512: Update version for SDK tests and Microsoft.PowerShell.Native package
Update version for SDK tests and Microsoft.PowerShell.Native package
2019-05-24 20:17:45 +00:00
Aditya Patwardhan
ab7168f62e Merged PR 8510: Update the target framework for reference assemblies to netcoreapp3.0
Update the target framework for reference assemblies to netcoreapp3.0
2019-05-24 20:17:31 +00:00
Steve Lee
61c7b7f120 Fix daily CodeCoverageAndTest build by explicitly calling Start-PSBootStrap (#9724) 2019-05-24 11:13:40 -07:00
Aditya Patwardhan
a1addf8882 Merged PR 8504: Fix syncing modules from powershell gallery by normalizing version numbers
Fix syncing modules from powershell gallery by normalizing version numbers and added additional logging.
2019-05-24 00:07:09 +00:00
Steve Lee
ba94c6cfeb Run Start-PSBootStrap in Code Coverage build to install .NET SDK (#9690) 2019-05-23 11:07:37 -07:00
dependabot[bot]
aa48b8c0e9 Build(deps): Bump PowerShellGet from 2.1.3 to 2.1.4 in /src/Modules (#9691) 2019-05-22 19:24:51 -07:00
Travis Plunk
bb726da6fd
Disable the debugger when in system lock-down mode (#9645)
Disable the debugger when in system lock-down mode

Fixing master for CVE-2019-0733
2019-05-22 15:19:23 -07:00
dependabot[bot]
dbbb5110bf Build(deps): Bump Microsoft.CodeAnalysis.CSharp from 3.0.0 to 3.1.0 (#9653) 2019-05-21 18:12:12 -07:00
Travis Plunk
71a41bcb47
Update vNext release branches in dependabot config (#9658) 2019-05-21 17:38:24 -07:00
dependabot[bot]
9c8cdb50f6 Build(deps): Bump PackageManagement from 1.3.2 to 1.4 in /src/Modules (#9650)
* Build(deps): Bump PackageManagement from 1.3.2 to 1.4 in /src/Modules

Bumps PackageManagement from 1.3.2 to 1.4.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-21 17:36:17 -07:00
Travis Plunk
24c800f07c Update version tests to use NextReleaseVersion from metadata.json (#9646) 2019-05-21 12:19:13 -07:00
Aditya Patwardhan
82478d23e5 Update README and metadata.json (#9624) 2019-05-21 11:16:54 -07:00
Joel Sallow (/u/ta11ow)
6c44ef9d4a Attributes.cs - Style / Formatting Fixes (#9625) 2019-05-21 19:49:01 +05:00
Steve Lee
29e21470d9 Port PowerShell to .NET Core 3.0 (#9597) 2019-05-21 13:43:51 +08:00
Ilya
afa76dec23
Remove Workflow from PSSessionType (#9618)
Remove PSSessionType and IsWorkflowConfigurationType()
2019-05-21 08:38:33 +05:00
Travis Plunk
1d94e8c947 Make sure we always return an object in command searcher (#9623) 2019-05-20 11:22:34 -07:00
Kirk Munro
94c1098e16 Add checkbox to PR checklist for experimental feature use (#9619) 2019-05-17 17:02:31 -07:00
Joey Aiello
0dc216ee7c Switch from BMP to PNG for graphical MSI installer assets (#9606)
This breaks rendering of images for Windows 7 and Server 2008R2,
but it's required for accessibility purposes so that the High
Contrast Black theme renders text correctly for accessibility.
(Unfortunately, BMP does not support transparency.)
2019-05-16 13:24:11 -07:00
Travis Plunk
a39d985118
Convert windows CI to stages (#9607) 2019-05-16 10:30:50 -07:00
dependabot[bot]
a84ea7c710 Build(deps): Bump NJsonSchema from 9.13.37 to 9.14.1 (#9616)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.37 to 9.14.1.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 13:00:17 +05:00
dependabot[bot]
755995b66f Build(deps): Bump Microsoft.Windows.Compatibility from 2.0.1 to 2.1.1 (#9605) 2019-05-14 16:16:49 -07:00
dependabot[bot]
67736aeefd Build(deps): Bump PowerShellGet from 2.1.2 to 2.1.3 in /src/Modules (#9600) 2019-05-14 15:16:43 -07:00
dependabot[bot]
503e3c0c07 Build(deps): Bump System.Data.SqlClient from 4.6.0 to 4.6.1 (#9601) 2019-05-14 15:12:39 -07:00
Hemant Mahawar
171978192f Updating committee membership (#9577) 2019-05-14 13:14:37 -07:00
Steve Lee
68ae58eca3 Fix use of unicode ellipsis in xml (#9589) 2019-05-14 11:58:27 +05:00