Commit graph

5797 commits

Author SHA1 Message Date
Steve Lee 2b7c22335f Remove unncessary check for Paths.count > 0 as there is code later to use the current (#5596)
Remove unnecessary check for Paths.count > 0 as there is code later to use the current working directory since -Path is not a mandatory parameter.
Updated ShouldProcess to output the internal action on adding paths rather than the user action (which is the cmdlet name).

Updated tests to not specify -Path

Fix #5594
2017-12-01 17:34:30 -08:00
Travis Plunk 0dfc1f4257 Remove exclusion for hang and add context exception for remaining instances (#5595) 2017-12-01 17:34:30 -08:00
Dongbo Wang 308d03e7a7 Update PowerShell executable name in using-vscode.md (#5593) 2017-12-01 17:34:30 -08:00
Dongbo Wang 130ec8bb81 Skip null-element check for collections with a value-type element type (#5432)
* Fix NotNullOrEmpty check logic

* Fix a test issue on Unix
2017-12-01 17:34:30 -08:00
Chunqing Chen 22abe98c05 Fix xunnit test for PS (#4780)
* Initial work to enable xunit

* Moved AssemblyOriginatorKeyFile to csharp.tests.csproj

* Native binary has dylib extension on macOS
2017-12-01 17:34:30 -08:00
Dan Travison fef44277ee Use explicit libpsl-native binary name for dllimport. (#5580) 2017-12-01 17:34:30 -08:00
Steve Lee b69ff717ab Remove unncessary check for Paths.count > 0 as there is code later to use the current (#5596)
Remove unnecessary check for Paths.count > 0 as there is code later to use the current working directory since -Path is not a mandatory parameter.
Updated ShouldProcess to output the internal action on adding paths rather than the user action (which is the cmdlet name).

Updated tests to not specify -Path

Fix #5594
2017-12-01 10:57:00 -08:00
Travis Plunk baa0a28a21 Remove exclusion for hang and add context exception for remaining instances (#5595) 2017-12-01 09:47:18 -08:00
Dongbo Wang ff8679b344
Update PowerShell executable name in using-vscode.md (#5593) 2017-11-30 20:34:00 -08:00
Dongbo Wang b5f84c2b39 Skip null-element check for collections with a value-type element type (#5432)
* Fix NotNullOrEmpty check logic

* Fix a test issue on Unix
2017-11-30 14:46:09 -08:00
Chunqing Chen 52df947080 Fix xunnit test for PS (#4780)
* Initial work to enable xunit

* Moved AssemblyOriginatorKeyFile to csharp.tests.csproj

* Native binary has dylib extension on macOS
2017-11-30 14:44:41 -08:00
Dan Travison 47f8467e49 Use explicit libpsl-native binary name for dllimport. (#5580) 2017-11-30 08:17:16 -08:00
Steve Lee 38e22bb177 output url so when test fails you can more easily troubleshoot (#5570) 2017-11-29 17:27:47 -08:00
Jonathan Muller a12bd1768e Clean up use of 'Runspaceconfiguration' from comments and xunit test code (#5569) 2017-11-29 17:27:47 -08:00
Travis Plunk 3f9ff3f06d Make 'AllSigned' execution policy require modules under $PSHome to be signed (#5511) 2017-11-29 17:27:47 -08:00
Steve Lee 7dce4116c7 output url so when test fails you can more easily troubleshoot 2017-11-29 13:00:36 -08:00
Jonathan Muller ad17640d48 Clean up use of 'Runspaceconfiguration' from comments and xunit test code (#5569) 2017-11-29 09:38:04 -08:00
Travis Plunk 8ec31afe80 Update docker file for windows build (#5459)
reducing the base image size should make the build a little faster
Also, remove the duplicate upload of a file
2017-11-28 17:53:57 -08:00
Chris 724095e39f Remove PerformWSManPluginReportCompletion from pwrshplugin.dll (#5498)
This resolves issue #5391, which is tagged with 6.0.0-GA, therefore this should help with getting pwsh out of the door in January.

It removes PerformWSManPluginReportCompletion as stated in the issue and its associated class member g_pPluginContext, which is now unused as well.

The best reviewer is probably @mirichmo , who raised the initial issue with very helpful descriptions or @dantraMSFT who is currently assigned to the issue.
2017-11-28 17:53:57 -08:00
Chris 5650ce2d90 Add PowerShell VSCode style settings (#5529) 2017-11-28 17:53:57 -08:00
Chris b0996e728f XML documentation fix for CompletionResult (#5550)
* XML documentation fix for CompletionResult: 1 typo, make text start with upper case and add periods at the end.
This typo showed up on the official docs site: https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.completionresult.-ctor?view=powershellsdk-1.1.0#System_Management_Automation_CompletionResult__ctor_System_String_

* Add periods to private members as well as suggested in PR.
2017-11-28 17:53:57 -08:00
Troy Lindsay ada9bd4289 Add Travis CI matrix for improved job tagging (#5547) 2017-11-28 17:53:57 -08:00
Steve Lee aae076e046 remove signed folder in zip during packaging (#5527) 2017-11-28 17:53:57 -08:00
Steve Lee e55814aca7 updated install link and instructions for R-Pi (#5495)
* updated install link and instructions for R-Pi
* remove libicu57 as it's not needed
2017-11-28 17:53:57 -08:00
PRASOON KARUNAN V 6d72ec300a Added more helpful message for AmbiguousParameterSet exception (#5537) 2017-11-28 17:53:57 -08:00
Ilya f2f0bcf8ff Fix the path to 'powershell_xxx.inc' in Start-Build (#5538) 2017-11-28 17:53:57 -08:00
bergmeister ee8b039ed1 Disambiguate icon for daily builds on Windows (#5467)
* Disambiguate icon for daily builds on Windows.
Some code had to be borrowed from build.psm1 because this script has to be self contained in case it gets executed by only downloading this file via the published download link https://twitter.com/Steve_MSFT/status/930585082451992576
2017-11-28 17:53:57 -08:00
Mark Kraus 2689338617 Fix Import-CliXml Tests (#5521)
Add checks that ProcessName is not null or empty.
2017-11-28 17:53:57 -08:00
Travis Plunk 827f154bf5 Replace strlen with strnlen in native code (#5510)
* fix expected vs actual for easier troubleshooting
* replace strlen calls with strnlen
2017-11-28 17:53:57 -08:00
Travis Plunk f67844e4cd Make 'AllSigned' execution policy require modules under $PSHome to be signed (#5511) 2017-11-28 17:34:37 -08:00
Travis Plunk 9bedef0c62
Update docker file for windows build (#5459)
reducing the base image size should make the build a little faster
Also, remove the duplicate upload of a file
2017-11-28 15:36:25 -08:00
Ilya 910c5a4780 Fix PSVersion in PSSessionConfiguration tests (#5554)
* Fix PSVersion in PSSessionConfiguration tests by getting the expected value from PSVersionTable instead of hardcoded string.
2017-11-28 12:00:49 -08:00
Chris cc0e74a7ae Remove PerformWSManPluginReportCompletion from pwrshplugin.dll (#5498)
This resolves issue #5391, which is tagged with 6.0.0-GA, therefore this should help with getting pwsh out of the door in January.

It removes PerformWSManPluginReportCompletion as stated in the issue and its associated class member g_pPluginContext, which is now unused as well.

The best reviewer is probably @mirichmo , who raised the initial issue with very helpful descriptions or @dantraMSFT who is currently assigned to the issue.
2017-11-28 11:34:42 -08:00
Chris f5b9942b0d Add PowerShell VSCode style settings (#5529) 2017-11-28 09:09:32 -08:00
Chris 2c4257eeb6 XML documentation fix for CompletionResult (#5550)
* XML documentation fix for CompletionResult: 1 typo, make text start with upper case and add periods at the end.
This typo showed up on the official docs site: https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.completionresult.-ctor?view=powershellsdk-1.1.0#System_Management_Automation_CompletionResult__ctor_System_String_

* Add periods to private members as well as suggested in PR.
2017-11-28 09:53:46 +04:00
Troy Lindsay 9b49570e6c Add Travis CI matrix for improved job tagging (#5547) 2017-11-27 17:29:04 -08:00
Steve Lee db0498da6b remove signed folder in zip during packaging (#5527) 2017-11-27 17:26:51 -08:00
Steve Lee d8eb4c5601 updated install link and instructions for R-Pi (#5495)
* updated install link and instructions for R-Pi
* remove libicu57 as it's not needed
2017-11-27 10:52:25 -08:00
PRASOON KARUNAN V 32286ed22a Added more helpful message for AmbiguousParameterSet exception (#5537) 2017-11-24 18:37:20 +04:00
Ilya d8e1f8dff3 Fix the path to 'powershell_xxx.inc' in Start-Build (#5538) 2017-11-24 02:42:41 -08:00
bergmeister 71e588d223 Disambiguate icon for daily builds on Windows (#5467)
* Disambiguate icon for daily builds on Windows.
Some code had to be borrowed from build.psm1 because this script has to be self contained in case it gets executed by only downloading this file via the published download link https://twitter.com/Steve_MSFT/status/930585082451992576
2017-11-22 14:14:32 +04:00
Mark Kraus 7778941b40 Fix Import-CliXml Tests (#5521)
Add checks that ProcessName is not null or empty.
2017-11-22 13:34:05 +04:00
Travis Plunk 9559694191
Replace strlen with strnlen in native code (#5510)
* fix expected vs actual for easier troubleshooting
* replace strlen calls with strnlen
2017-11-21 16:20:25 -08:00
Travis Plunk 4adaf731a4 Fix docker tests (#5508)
* update expected version
* update container list
2017-11-21 15:57:34 -08:00
Mark Kraus 28fa53a77c [Feature] Fix AppVeyor Fails (#5520) 2017-11-21 15:57:34 -08:00
bergmeister cc942a222b Change synopsis of install-powershell.ps1 to reflect that it works cross-platform (#5465) 2017-11-21 15:57:34 -08:00
Travis Plunk 227da48490
Fix docker tests (#5508)
* update expected version
* update container list
2017-11-21 13:52:10 -08:00
Travis Plunk e1a57e5194
Update target tag for master CI to 6.1.0-preview.1 (#5513)
* use metadata JSON to create release tag in CI
2017-11-21 13:51:10 -08:00
Mark Kraus 3ff495dc0b [Feature] Fix AppVeyor Fails (#5520) 2017-11-21 13:09:27 -08:00
Travis Plunk cc24b88a1e Fix mac packaging (#5496) 2017-11-20 16:00:22 -08:00