75 Commits
Author SHA1 Message Date
PowerShell Team Bot ce08de8051 [release/v7.5] Ensure that socket timeouts are set only during the token validation (#26079) 2025-10-09 13:14:23 -07:00
Travis Plunk (HE/HIM) bcd6bc473f Fix race condition in RemoteHyperVSocket 2025-09-05 14:20:32 -07:00
PowerShell Team BotandDongbo Wang 3ad624280b [release/v7.5] Remove the old fuzzy suggestion and fix the local script file name suggestion (#25330)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-06-03 13:05:54 -07:00
Armaan Mcleod b39b5f4252 Add ConvertTo-CliXml and ConvertFrom-CliXml cmdlets (#21063) 2024-07-26 22:12:44 +05:00
Steve Lee a0e6807bb2 Add error if invalid -ExecutionPolicy is passed to pwsh (#20460) 2023-10-16 15:14:11 -07:00
Dongbo Wang 457606af94 Support trigger registration in feedback provider (#19525) 2023-04-18 17:15:09 -07:00
Dongbo Wang 51f55f716e Update the ICommandPredictor interface to reduce boilerplate code from predictor implementation (#19414) 2023-03-29 11:27:04 -07:00
CarloToso c48e5cbcca Use ArgumentException.ThrowIfNullOrEmpty() in more places (#19213) 2023-02-27 14:42:07 -08:00
Dongbo Wang 79b4b5c33f Update the FeedbackProvider interface to return structured data (#19133) 2023-02-22 16:01:18 -08:00
Steve Lee 1c27a0ceac Add progress to Copy-Item (#18735) 2023-01-25 16:34:44 +05:00
Dongbo Wang eb31d32724 Enable creating composite subsystem implementation in modules (#18888) 2023-01-05 09:51:45 -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
Dongbo Wang 4936a566b0 Increase timeout to make subsystem tests more reliable (#18380) 2022-10-25 16:01:30 -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
Dongbo Wang 01948aedb6 Remove the ProcessorArchitecture portion from the full name as it's obsolete (#18320) 2022-10-18 11:52:06 -07:00
Christoph Bergmeister d3d81c3e44 Display download progress in human readable format for Invoke-WebRequest (#14611) 2022-09-19 11:16:21 -07:00
Steve Lee da7fa3f771 Make pwsh server modes implicitly not show banner (#17921) 2022-08-23 10:47:01 -07:00
Dongbo Wang 38bf778b37 Re-enable the test TestLoadNativeInMemoryAssembly (#17738) 2022-07-21 14:51:22 -07:00
Paul Higinbotham a8d55851e0 Add the -ConfigurationFile command line parameter to pwsh to support local session configuration (#17447) 2022-06-06 12:12:53 -07:00
Aditya Patwardhan 1268a0a04f Update .NET to 7.0.0-preview.2 build (#16930) 2022-03-18 09:10:53 -07:00
Maksim Ivanyuk 674ef888a2 Add -HttpVersion parameter to web cmdlets (#15853) 2021-11-02 16:53:36 -07:00
6933c5b473 Only allow -File to accept .ps1 scripts on Windows (#15859)
Co-authored-by: Ilya <darpa@yandex.ru>
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>
2021-08-03 13:43:00 -07:00
xtqqczze 03b07a0062 Enable IDE0044: MakeFieldReadonly (#13880)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2021-07-07 09:33:19 +05:00
xtqqczze 8337d2afd6 Fix CA1839: Use 'Environment.ProcessPath' (#15650) 2021-06-25 08:56:55 +05:00
Andrew 8d017d8a75 Move cross platform DSC code to a subsystem (#15127) 2021-05-20 17:06:59 -07:00
Dongbo Wang 5febcad3db Update prediction interface to provide additional feedback to a predictor plugin (#15421) 2021-05-20 15:52:13 -07:00
Marc-André Moreau 8f8ddc3fb7 Add LoadAssemblyFromNativeMemory function to load assemblies from memory in a native PowerShell host (#14652) 2021-04-28 14:28:41 -07:00
Steve Lee fc1d5ef096 Default to MTA on Windows platforms where STA is not supported (#15106) 2021-04-22 08:38:13 -07:00
David Bar-On 20d917c086 Fix issue #12013 - not allow mixed dash and slash in command line parameter prefix (#15142) 2021-04-13 13:20:28 -07:00
Dongbo Wang e803d3bc8d Update the ICommandPredictor to provide more feedback and also make feedback easier to be corelated (#14649) 2021-02-04 15:34:17 -08:00
xtqqczze aecada3e67 Enable CA1822: Mark private members as static (#13897) 2020-12-09 11:04:23 -08:00
xtqqczze c7bdb24ff3 Mark local variable as const (#13217)
RCS1118: Mark local variable as const https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1118.md
2020-11-24 20:06:16 +05:00
xtqqczze 358db74479 Enable CA1816: Dispose methods should call SuppressFinalize (#14074)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816
2020-11-24 09:29:15 +05:00
xtqqczze f14c76aab9 Enable SA1516: Elements should be separated by blank line (#14137)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md
2020-11-20 16:11:36 +05:00
xtqqczze 006fe4d2dd Enable IDE0082: ConvertTypeOfToNameOf (#14042)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0082
2020-11-16 19:56:07 +05:00
xtqqczze e7232b89c9 Fix PriorityAttribute name (#14094)
Fix regression after #13496
2020-11-15 16:31:50 +05:00
Ilya d9090b4a49 Write better error message if config file is broken (#13496) 2020-11-13 17:22:26 -08:00
xtqqczze 47c92090db Enable CA1068: CancellationToken parameters must come last (#13867)
* Enable CA1068: CancellationToken parameters must come last
2020-11-05 09:08:28 +05:00
xtqqczze 1d7a93c2e0 Enable CA1825: Avoid zero-length array allocations (#13961) 2020-11-04 08:56:26 +05:00
xtqqczze a2a938e964 Fix IDE0044: MakeFieldReadonly part 10 (#13893)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-30 12:20:06 +05:00
xtqqczze 9932560841 Enable CA1050: Declare types in namespaces (#13872) 2020-10-26 22:34:26 +05:00
Ilya 3b83a686a1 Add null check for args in CommandLineParser (#13451) 2020-08-28 12:03:30 -07:00
Dongbo Wang 6615fa3df6 Fix test hooks for CommandLineParameterParser (#13459) 2020-08-21 11:59:30 -07:00
Dongbo Wang fc4c9cbfd7 Initial work of the subsystem plugin model (for minimal powershell) (#13186) 2020-08-20 17:41:44 -07:00
Ilya 68d46c1792 Refactor command line parser to do early parsing (#11482) 2020-08-12 09:58:46 -07:00
Dongbo Wang 4464d1b414 Add DefaultVisit method to the visitor interface and class (#13258) 2020-07-31 10:16:59 -07:00
Dongbo Wang 4b9b0788ed Revert "Use is null syntax (#13277)" (#13322)
This reverts commit 6c03776d74.
2020-07-30 16:06:38 -07:00
xtqqczze 7beec89f50 Add copyright header to .editorconfig and update files (#13306) 2020-07-30 09:47:21 -07:00
xtqqczze 6c03776d74 Use is null syntax (#13277)
Replace `== null` with `is null`
2020-07-30 18:04:03 +05:00
xtqqczze 8901d2a509 Cleanup: use int instead of uint in places where it's more appropriate (#13141) 2020-07-13 07:10:57 -07:00