Commit Graph
2607 Commits
Author SHA1 Message Date
CarloToso 282fc5fc08 Fix bug with managing redirection and keepAuthorization in Web cmdlets (#18902) 2023-01-13 18:31:03 +05:00
Steve Lee 2baeb1a7f0 Fix Get-Error to work with strict mode (#18895) 2023-01-13 18:00:20 +05:00
CarloToso f018beedff Add tests for Allowinsecureredirect parameter in Web cmdlets (#18939) 2023-01-13 17:37:55 +05:00
CarloToso 465165fd97 Invoke-RestMethod -FollowRelLink fix links containing commas (#18829) 2023-01-11 21:39:04 +05:00
xtqqczze 8e14d2d7aa Enable get-help pattern tests on Unix (#18855) 2023-01-10 08:10:03 +05:00
CarloToso 31af38c22a Create test to check if WebCmdlets decompress brotli-encoded data (#18905) 2023-01-10 08:07:00 +05:00
MartinGC94 232384ce7f Prioritize the default parameter set when completing positional arguments (#18755) 2023-01-09 10:30:42 -08:00
Steve Lee 27b5a0632d Add -ProgressAction common parameter (#18887) 2023-01-09 09:40:40 -08:00
Steve LeeandIlya 9ea887f626 Add -CommandWithArgs parameter to pwsh (#18726)
* Add `-CommandWithArgs` parameter to pwsh

* Update src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs

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

* address Ilya and Mikey's comments

* reset i

Co-authored-by: Ilya <darpa@yandex.ru>
2023-01-05 15:21:35 -08:00
Dongbo Wang eb31d32724 Enable creating composite subsystem implementation in modules (#18888) 2023-01-05 09:51:45 -08:00
Steve Lee f04940b76c Fix Format-Table -RepeatHeader for property derived tables (#18870) 2022-12-31 12:00:00 +05:00
MartinGC94 8f7c980ca3 Fix type inference for all scope vars (#18758) 2022-12-20 15:38:25 +05:00
MartinGC94 9a7db33ee0 Add completion for Using keywords (#16514) 2022-12-20 13:26:43 +05:00
Aditya Patwardhan 2b38f80855 Update the release tag in metadata.json for next preview (#18799) 2022-12-15 10:43:55 -08:00
Aditya Patwardhan de416dc831 Bump .NET SDK to version 7.0.101 (#18786) 2022-12-14 10:55:17 -08:00
Steve Lee eb9ca7c351 Fix New-Item -ItemType Hardlink to resolve target to absolute path and not allow link to itself (#18634) 2022-12-13 22:09:28 +05:00
Ilya e7c68af8bb Enable pending test for Start-Process (#18724) 2022-12-12 11:26:27 -08:00
Dongbo Wang 061947969d Allow non-default encodings to be used in user's script/code (#18605) 2022-12-07 10:16:06 +05:00
Dongbo Wang bd6edfdd9c Add testexe.exe -echocmdline to output raw command line received by the process on Windows (#18591) 2022-12-06 10:31:54 -08:00
dependabot[bot] 4c580f7330 Bump decode-uri-component from 0.2.0 to 0.2.2 (#18712) 2022-12-02 10:44:29 -08:00
Jordan Borean 6fa7260db9 Fix the process CommandLine on Linux (#18710) 2022-12-02 10:23:00 -08:00
Dongbo Wang ae3c3169ee Fix SuspiciousContentChecker.Match to detect a pre-defined string when the text starts with it (#18693) 2022-12-01 22:26:43 -08:00
Steve Lee 8ff6a06f97 Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled (#18695) 2022-12-01 16:13:42 -08:00
Steve Lee 52ea419662 Add Dim and DimOff to $PSStyle (#18653) 2022-11-29 16:13:59 -08:00
Dongbo Wang d03a5553c2 Fix Start-Job to check the existence of working directory using the PowerShell way (#18675)
* Fix `Start-Job` to check the existence of working directory using the PowerShell way

* Add a test

* Update

* Fix the test
2022-11-29 08:41:12 -08:00
Ilya 8bc9fdb2a1 Replace DllImport with LibraryImport in SMA 2 (#18543) 2022-11-22 22:22:14 +05:00
Steve Lee 9ae18ab0d1 Change exec from alias to function to handle arbitrary arguments (#18567) 2022-11-17 12:14:27 -08:00
Steve Lee 4f19c05547 Ensure HelpInfo.Category is consistently a string (#18254) 2022-11-15 17:57:03 -08:00
dependabot[bot] d32de82c32 Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 (#18487) 2022-11-14 11:26:31 -08:00
dependabot[bot] 2494fe881b Bump minimatch from 3.0.4 to 3.1.2 (#18514) 2022-11-14 11:21:33 -08:00
Travis Plunk 9c55989a2e Mark charset test as pending (#18511) 2022-11-09 23:04:21 +00:00
Travis Plunk 665bf21fcb Bump to use internal .NET 7 GA build (#18508) 2022-11-09 22:51:24 +00:00
MartinGC94 0a6de4672a Fix issue when completing the first command in a script with an empty array expression (#18355) 2022-11-07 17:14:49 -08:00
MartinGC94 b5ffd043c5 Improve type inference of hashtable keys (#17907) 2022-11-07 17:10:03 -08:00
Steve Lee 0ddf89e5a8 Fix Switch-Process to copy the current env to the new process (#18452) 2022-11-07 11:03:37 -08:00
Steve Lee 52a62e9ef2 Fix Switch-Process error to include the command that is not found (#18443) 2022-11-03 07:54:11 +05:00
CarloToso 489e316151 Webcmdlets set default charset encoding to UTF8 (#18219) 2022-11-02 22:34:09 +05:00
Aditya Patwardhan f4e68ad875 Skip output rendering tests on Windows Server 2012 R2 (#18382) 2022-10-29 21:10:03 +05:00
Dongbo Wang 4936a566b0 Increase timeout to make subsystem tests more reliable (#18380) 2022-10-25 16:01:30 -07:00
Olivia eef7c4526e Add the function cd~ (#18308) 2022-10-24 21:58:54 -07:00
MartinGC94 ab7f206271 Fix type inference error for empty return statements (#18351) 2022-10-24 14:39:34 -07:00
xtqqczze effa29aae4 Implement IDisposable in NamedPipeClient (#18341) 2022-10-24 12:14:05 -07:00
Dongbo Wang 53c3690c2a Replace command-error suggestion with new implementation based on subsystem plugin (#18252) 2022-10-24 11:59:32 -07:00
Aditya Patwardhan 028eeb0457 Bump to .NET 7 to version 7.0.100-rc.2.22477.20 (#18286) 2022-10-18 16:49:18 -07:00
Aditya Patwardhan 813d38875d Revert "Replace win7 runtime with win8 and remove APISets (#18304)" (#18322) 2022-10-18 16:48:07 -07:00
Dongbo Wang 01948aedb6 Remove the ProcessorArchitecture portion from the full name as it's obsolete (#18320) 2022-10-18 11:52:06 -07:00
Aditya Patwardhan cc86f9ffd1 Replace win7 runtime with win8 and remove APISets (#18304) 2022-10-18 11:07:22 -07:00
James Truher [MSFT] 074aad6ea9 Add missing -Tag 'CI' to describe blocks. (#18316) 2022-10-17 15:27:24 -07:00
Steve Lee 19ea81f6be Use shortpath instead of multiple quotes in Get-Item test relying on node (#18250) 2022-10-14 08:10:52 +05:00
Steve Lee 8a45d14fad Add -FuzzyMinimumDistance parameter to Get-Command (#18261) 2022-10-12 16:08:20 -07:00