Commit Graph
2276 Commits
Author SHA1 Message Date
Aditya Patwardhan bdf1cfd2b1 Fix UNC path completion regression (#20419) (#20541) 2023-10-19 14:41:28 -07:00
Aditya Patwardhan dd1fe759d4 Fix implicit remoting proxy cmdlets to act on common parameters (#20367) (#20530) 2023-10-19 14:35:40 -07:00
Dongbo Wang a092dad7c0 [release/v7.4.0-preview.6] Set experimental features to stable for 7.4 release (#20285) (#20362) 2023-09-25 13:10:28 -07:00
Dongbo Wang d5e2ddb984 [release/v7.4.0-preview.6] Continued improvement to tests for release automation (#20182) (#20259) 2023-09-11 17:22:25 -07:00
Dongbo Wang 67310dfc2a [release/v7.4.0-preview.6] Skip the test on x86 as InstallDate is not visible on Wow64 (#20165) (#20255) 2023-09-11 16:50:09 -07:00
Dongbo Wang 08b6f61798 [release/v7.4.0-preview.6] Harden some problematic release tests (#20155) (#20254) 2023-09-11 16:45:46 -07:00
James Truher [MSFT] 046301b716 Additional test hardening for tests which fail in release pass. (#20093) 2023-08-16 11:28:59 -07:00
James Truher [MSFT] 7b3e5444de Don't use a completion which has a space in it (#20064) 2023-08-01 18:07:37 -07:00
MartinGC94 0502da7109 Fix dynamic parameter completion (#19510) 2023-07-31 17:52:50 -07:00
Frode Flaten ced79cd1a1 Use OrdinalIgnoreCase to lookup script breakpoints (#20046) 2023-07-31 17:45:49 -07:00
stevenebutler 3710671c16 Guard against null or blank path components when adding to module path (#19922) 2023-07-31 11:00:27 -07:00
Ikko Eltociear Ashimine 0beea512eb Fix typo in Logging.Tests.ps1 (#20048) 2023-07-31 10:37:28 -07:00
James Truher [MSFT] 91447e62de Fixes for release tests (#20028) 2023-07-27 15:04:30 -07:00
CarloToso e8ce6a5b1f Support Unix-Socket in WebCmdlets (#19343) 2023-07-24 16:44:32 -07:00
MartinGC94 3f128d680f Change how relative paths in Resolve-Path are handled when using the RelativeBasePath parameter (#19755) 2023-07-24 09:47:24 -07:00
dwtaber 3b9e70cfc8 Wait-Process: add -Any and -PassThru parameters (#19423) 2023-07-24 09:46:16 -07:00
Armaan Mcleod 836c0c580b Added -CaseInsensitive switch parameter to Select-Object & Get-Unique cmdlets (#19683)
* Added Select-Object CaseInsensitive parameter and tests

* Added Get-Unique CaseInsensitive parameter and tests

* Fix codefactor issue

* Add named arguements

* Remove comments
2023-07-24 09:34:42 -07:00
Sean Wheeler 5595072568 Change docs.microsoft.com to learn.microsoft.com (#19994) 2023-07-17 15:54:17 -07:00
Steve Lee 5a6c66be13 Restore-Computer and Stop-Computer should fail with error when not running via sudo on Unix (#19824) 2023-07-17 14:20:06 -07:00
Armaan Mcleod d24285f437 Remove input text from the error message resulted by SecureString and PSCredential conversion failure (#19977) 2023-07-17 10:30:10 -07:00
Travis Plunk 3ce65f39e0 Hide expected error for negative test on windows for script extension (#19929) 2023-07-17 09:32:03 -07:00
MartinGC94 a8ec19b4f6 Fix completion regression for filesystem paths with custom PSDrive names (#19921) 2023-07-11 12:12:32 -07:00
MartinGC94 ac87d2ae0e Add completion for variables assigned by the Data statement (#19831) 2023-07-10 17:15:05 -07:00
MartinGC94 c5cc8c8bbc Fix a null reference crash in completion code (#19916) 2023-07-10 12:31:27 -07:00
James Truher [MSFT] ee13bb9f05 Add more debugging to try to determine why these test fail in release build. (#19829) 2023-07-05 07:40:30 -07:00
Patrick Meinecke 066d7bff2c Fix native executables not redirecting to file (#19842) 2023-06-23 12:16:18 -07:00
Aditya Patwardhan ebe0b54340 Update to .NET 8 Preview 4 (#19696) 2023-06-21 15:17:22 -07:00
CarloToso cb2848c19b Code cleanup for Get-Content to make -Head and -Tail disallow negative values (#19715) 2023-06-21 09:35:18 -07:00
josea 16558c9414 Make Update-Help throw proper error when current culture is not associated with a language (#19765) 2023-06-20 09:49:46 -07:00
James Truher [MSFT] 5437f387cc Add a new experimental feature to control native argument passing style on Windows (#18706) 2023-06-19 16:31:56 -07:00
MartinGC94 15213d8494 Do not require activity when creating a completed progress record (#18474) 2023-06-19 16:20:08 -07:00
MartinGC94 994e43b1bf Fix TabExpansion2 variable leak when completing variables (#18763) 2023-06-19 15:48:59 -07:00
stevenebutler d614858550 WebCmdlets: Rename -TimeoutSec to -ConnectionTimeoutSeconds (with alias) and add -OperationTimeoutSeconds (#19558) 2023-06-19 15:07:16 -07:00
MartinGC94 0cbcf7b4d6 Enable completion of variables across ScriptBlock scopes (#19819) 2023-06-19 13:30:39 -07:00
James Truher [MSFT] b9b5136f0e Avoid checking screen scraping on non-Windows platforms before launching native app (#19812) 2023-06-19 11:26:14 -07:00
James Truher [MSFT] 133acc1961 Fix logic for Import-CliXml test (#19805) 2023-06-19 10:26:38 -07:00
MartinGC94 8b2de76eff Fix completion of the foreach-statement variable (#19814) 2023-06-19 10:20:13 -07:00
alerickson c43beccaa2 Add reference to PSResourceGet (#19597) 2023-06-16 16:16:34 -07:00
James Truher [MSFT] ba0de3b4fe Add some debugging to the transcript test for SilentlyContinue (#19770) 2023-06-12 17:03:53 -07:00
MartinGC94 f093f538fa Fix variable type inference precedence (#18691) 2023-06-12 10:38:17 -07:00
CarloToso 1822ad7373 Add FileNameStar to MultipartFileContent in WebCmdlets (#19467) 2023-06-12 09:55:32 -07:00
MartinGC94 79d99b501b Fix member completion for PowerShell Enum class (#19740) 2023-06-05 17:04:19 -07:00
James Truher [MSFT] 22fdbbda0b Re-enable Get-ComputerInfo pending tests (#19746) 2023-06-05 16:36:59 -07:00
MartinGC94 6520c05949 Fix parsing for array literals in index expressions in method calls (#19224) 2023-06-05 14:10:03 -07:00
MartinGC94 31dd6483b2 Fix incorrect string to type conversion (#19560)
Fixes incorrect string to type conversions like: [Type] 'int]whatever' so they are no longer parsed as types.
This was fixed by adding a check for ScanType to also check that the parsed type name matches the input type name.
2023-05-31 09:39:38 +05:00
James Truher [MSFT] d9697f07ba Add a public API for getting locations of PSModulePath elements (#19422) 2023-05-22 17:02:31 -07:00
Christopher Yeleighton b69cae01f8 Pass -UserScope as required by RunUpdateHelpTests (#13400) 2023-05-22 16:34:53 -07:00
Frode Flaten c57ada217d Filter completion for enum parameter against ValidateRange attributes (#17750) 2023-05-22 14:25:00 -07:00
06ab3b189d Improve path completion (#19489)
* Improve path completion

* Update src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs

Co-authored-by: Steve Lee <slee@microsoft.com>

* Address initial feedback from Steve and Paul

* Apply suggestions from code review

Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Ilya <darpa@yandex.ru>

* Apply suggestions from iSazonov.

* Add missing period to comment.

* Add comment explaining limitations of current approach.

* Correct some escaping issues and add tests

---------

Co-authored-by: Steve Lee <slee@microsoft.com>
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>
Co-authored-by: Ilya <darpa@yandex.ru>
2023-05-22 11:10:59 -07:00
James Truher [MSFT] c444645b09 Change how 'isPreview' is determined for default cmdlets tests (#19650) 2023-05-15 10:25:12 -07:00