Commit Graph
5209 Commits
Author SHA1 Message Date
MartinGC94 502653d2c5 Enable completion of scoped variables without specifying scope (#20340) 2025-02-25 22:40:36 +05:00
MartinGC94 d6b5e5e13c Fix share completion with provider and spaces (#19440) 2025-02-25 12:02:56 +05:00
MartinGC94 a23e30bed3 Fix issue with incomplete results when completing paths with wildcards in non-filesystem providers (#24757) 2025-02-25 08:04:56 +05:00
PowerShell Team Bot 563892f673 Update outdated package references (#25026) 2025-02-25 00:00:56 +00:00
Bob D c3fbd2c293 Allow DSC parsing through OS architecture translation layers (#24852) 2025-02-24 13:50:42 -08:00
MartinGC94 f47b14e7ff Improve the type inference for binary expressions (#25030) 2025-02-20 10:39:29 +05:00
Dongbo Wang 1b03005d1a Never load a module targeting the PSReadLine module's SessionState (#24909) 2025-02-18 10:18:30 -08:00
Dongbo Wang 4d174fcbb7 Filter out the nested modules of PSReadLine from module name tab completion (#24910) 2025-02-18 10:13:35 -08:00
MartinGC94 b565679961 Fix completion of variables with an attribute in the assignment (#25016) 2025-02-18 09:57:58 +00:00
MartinGC94 fd85f6c35a Use types from both sides of the pipeline chain for the type inference (#25031) 2025-02-18 05:44:28 +00:00
Armaan Mcleod d95d96ac85 Add experimental feature completion single/double quote support for -Name parameter (#25014) 2025-02-15 23:14:32 +05:00
PowerShell Team BotandTravis Plunk 848dccf63d Update security extensions (#25021)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-15 00:42:28 +00:00
crazyjncsu 14fb6f2618 Fix PSMethodInvocationConstraints.GetHashCode method (#24965)
There is a difference between GetHashCode for array object itself and cumulative GetHashCode based on hashes of the array members.
2025-02-13 09:31:05 +05:00
PowerShell Team BotandTravis Plunk 6d6515b7e4 Update branch for release - Transitive - false - none (#24995)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-12 12:21:42 -06:00
Armaan Mcleod 0f7ba437eb Add completion single/double quote support for -Noun parameter (#24977) 2025-02-11 14:20:19 +05:00
MartinGC94 9941e38c19 Remove trailing space from event source name (#24192) 2025-02-11 09:24:36 +05:00
Matěj Kafka 9071eac574 Stringify ErrorRecord with empty exception message to empty string (#24949) 2025-02-10 11:43:10 +05:00
xtqqczze 57bdd9c686 Fix RunspacePool, RunspacePoolInternal and RemoteRunspacePoolInternal IDisposable implementation (#24720) 2025-02-10 10:34:41 +05:00
Armaan Mcleod b385e5406c Add completion single/double quote support for -PSEdition parameter (#24971) 2025-02-08 18:29:15 +05:00
Kris Borowinski 8854c00ec2 Fix New-Item -Force to error on invalid directory name (#24936) 2025-02-07 22:32:23 +05:00
Kris Borowinski 0beb24e10f Fix Start-Transcript error when $Transcript is a PSObject wrapped string (#24963) 2025-02-07 22:23:05 +05:00
xtqqczze 1790f3a3e9 Remove redundant Attribute suffix (#24940) 2025-02-07 22:18:29 +05:00
Sean Wheeler f84c777b72 Fix formatting of the XML comment for SteppablePipeline.Clean() (#24941) 2025-02-04 09:37:22 -08:00
Flavien MICHALECZEK 141da816ab Use Environment.ProcessId in SpecialVariables.PID (#24926) 2025-02-04 17:07:01 +05:00
Armaan Mcleod ed982b4338 Replace char[] array in CompletionRequiresQuotes with cached SearchValues<char> (#24907) 2025-02-01 21:17:42 +05:00
Armaan Mcleod 459fc8d285 Add quote handling in Verb, StrictModeVersion, Scope & PropertyType Argument Completers with single helper method (#24839) 2025-02-01 14:52:52 +05:00
Armaan Mcleod 2a1d17eda6 Update IndexOfAny calls with invalid path/filename to SearchValues<char> for more efficient char searching (#24896) 2025-01-30 17:42:57 +05:00
Jordan Borean 4e7942135f Fix Start-Process -Wait polling (#24711) 2025-01-28 13:52:48 +05:00
Armaan Mcleod bca20334c7 Convert InvalidCommandNameCharacters in AnalysisCache to SearchValues<char> for more efficient char searching (#24880) 2025-01-28 10:33:26 +05:00
Armaan Mcleod c1abc73def Convert s_charactersRequiringQuotes in Completion Completers to SearchValues<char> for more efficient char searching (#24879) 2025-01-28 10:29:29 +05:00
xtqqczze 2e97dd4d5a Seal internal types in PlatformInvokes (#24826) 2025-01-20 10:27:21 +05:00
PowerShell Team BotandAditya Patwardhan 9935033b0f Update outdated package references (#24758)
* Update package references

* Update cgmanifest

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2025-01-16 20:55:30 +00:00
Anam Navied af55292ca7 Update Microsoft.PowerShell.PSResourceGet to 1.1.0 (#24767) 2025-01-13 16:13:45 -08:00
Steven Bucher 16e81a60b1 Add the AIShell module to telemetry collection list (#24747) 2025-01-07 10:50:31 -08:00
PowerShell Team Bot e7311eb08c Update outdated package references (#24580) 2025-01-06 14:03:20 -08:00
Frode Flaten c0d7fb787f Add helper in EnumSingleTypeConverter to get enum names as array (#17785) 2025-01-03 01:08:23 +05:00
Ryan Yates 61e9f5dcc2 Return correct FileName property for Get-Item when listing alternate data streams (#18019) 2025-01-02 16:45:57 +05:00
MartinGC94 c066cd85aa Add ExcludeModule parameter to Get-Command (#18955) 2024-12-31 00:06:28 +05:00
MartinGC94 57dbde625f Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output (#21137) 2024-12-29 17:29:03 +05:00
Armaan Mcleod 10d1785030 Update DnsNameList for X509Certificate2 to use X509SubjectAlternativeNameExtension.EnumerateDnsNames Method (#24714) 2024-12-29 15:21:50 +05:00
MartinGC94 8cdb728b6b Add completion of modules by their shortname (#20330) 2024-12-28 13:20:26 +05:00
xtqqczze b74e708cb5 Seal ClientRemoteSessionDSHandlerImpl (#21218)
The motivation of this PR is this comment by @PaulHigin https://github.com/PowerShell/PowerShell/pull/11820#discussion_r452405592_.

_Contributes to #15110._
2024-12-28 08:25:21 +05:00
Armaan Mcleod b5fbe9e613 Fix Get-ItemProperty to report non-terminating error for cast exception (#21115) 2024-12-27 09:09:32 +05:00
Armaan Mcleod e127345820 Add -PropertyType argument completer for New-ItemProperty (#21117) 2024-12-25 17:27:44 +05:00
xtqqczze 8017195541 Seal internal type ClientRemoteSessionDSHandlerImpl (#24705)
* Seal internal type `ClientRemoteSessionDSHandlerImpl`

* Fix `CS0628: new protected member declared in sealed type`
2024-12-25 09:08:51 +05:00
xtqqczze b0fbfb74ce Seal classes in RemotingProtocol2 (#21164) 2024-12-24 11:25:08 +05:00
Brendan Burns 90b0149805 Fix a bug in how Write-Host handles XmlNode object (#24669) 2024-12-13 10:24:02 -08:00
MartinGC94 e489cec604 Remove Regex use 2024-12-12 11:17:44 -05:00
MartinGC94 1452374fbf Improve cim ETS member inference completion 2024-12-12 11:17:44 -05:00
Jordan Borean 7cc8a9ad32 Emit ProgressRecord in CLIXML minishell output
Instead of never emitting a ProgressRecord if stdout is redirected, continue to emit the CLIXML serialized record when pwsh was started with -OutputFormat xml regardless of redirection. This allows calling processes to receive the progress record from the spawned process when it captures the output.
2024-12-11 20:22:43 -05:00