Commit graph

7262 commits

Author SHA1 Message Date
dependabot-preview[bot] 092ab5f6eb Build(deps): Bump NJsonSchema from 10.0.19 to 10.0.20 (#9954)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 10.0.19 to 10.0.20.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 15:44:51 +05:00
Reece Dunham 92f13b9b60 Fix minor CodeFactor style issues in ModuleCmdletBase (#9915) 2019-06-19 10:56:34 -07:00
Steve Lee 4d3f74eddc Update console startup and help url for PowerShell docs (#9775) 2019-06-19 10:45:47 -07:00
Dongbo Wang 94b6b6f4f7 Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost (#9931)
* Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost
* Remove 'pwsh.pdb' from our component file list
2019-06-19 11:34:47 +05:00
dependabot-preview[bot] 7b1f674ac8 Build(deps): Bump PowerShellGet from 2.1.4 to 2.1.5 in /src/Modules (#9933)
Bumps [PowerShellGet](https://github.com/PowerShell/PowerShellGet) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/PowerShell/PowerShellGet/releases)
- [Changelog](https://github.com/PowerShell/PowerShellGet/blob/development/CHANGELOG.md)
- [Commits](https://github.com/PowerShell/PowerShellGet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-19 09:27:40 +05:00
Dongbo Wang c684902fba Use the original precision (prior-dotnet-core-3) for double/fload-to-string conversion (#9893)
.NET Core changes to return "shortest roundtrippable string" by default for the ToString() method of double and float types. This results in ToString() for double/float values sometimes return a string in 17-digit/9-digit precision format. This PR updated the double/float-to-string conversion in PowerShell to continue using the old precision specifier before the change in .NET Core 3.0.
2019-06-19 08:56:43 +05:00
Amit Saraf 0673a481bb Import-DscResource should allow to overwrite DSC built-in resources. (#9879) 2019-06-18 10:07:45 -07:00
dependabot-preview[bot] f101e07681 Build(deps): Bump PackageManagement from 1.4.1 to 1.4.2 in /src/Modules (#9918) 2019-06-17 15:49:51 -07:00
dependabot-preview[bot] ef5b0cd822 Build(deps): Bump PackageManagement from 1.4 to 1.4.1 in /src/Modules (#9820)
Bumps PackageManagement from 1.4 to 1.4.1.
2019-06-17 13:00:40 -07:00
Reece Dunham b17b6bd361 Use yarn to install global tools (#9904) 2019-06-17 12:10:55 -07:00
Travis Plunk f65497711e Update to use TSAv2 (#9914) 2019-06-17 11:57:39 -07:00
Travis Plunk 7e8455b3a2
Fix unix project mappings (#9892) 2019-06-17 11:36:48 -07:00
Dongbo Wang 66c628f1b0 Attempt to work around the zip download issue in Azure DevOps Windows CI (#9911) 2019-06-17 09:05:37 -07:00
Steve Lee 981c990d74 Make UseAbbreviationExpansion and TempDrive official features (#9872) 2019-06-13 13:05:37 -07:00
dependabot-preview[bot] e1793b9eda Build(deps): Bump NJsonSchema from 10.0.18 to 10.0.19 (#9885) 2019-06-13 10:25:03 -07:00
Kirk Munro aac4c6ff21 Add module to support Pester tests for automating debugger commands (stepInto, stepOut, etc.), along with basic tests (#9825) 2019-06-13 07:19:13 -07:00
dependabot-preview[bot] af1de9e88d Build(deps): Bump NJsonSchema from 10.0.17 to 10.0.18 (#9875) 2019-06-11 17:09:15 -07:00
Christoph Bergmeister [MVP] f713e96bb6 Add launchSettings.json for better out of box experience when using Visual Studio (#9818) 2019-06-11 10:49:19 -07:00
dependabot-preview[bot] bdc8548700 Build(deps): Bump NJsonSchema from 10.0.15 to 10.0.17 (#9862) 2019-06-10 15:34:41 -07:00
asrosent 65a3e467cc Add ability to pass InitialSessionState to the ConsoleShell.Start (#9802) 2019-06-10 07:28:01 -07:00
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