Commit Graph
83 Commits
Author SHA1 Message Date
xtqqczze f51860c1d1 Remove unused timeout variable from RemoteHyperVTests class (#26297) 2025-10-25 15:58:16 +00:00
xtqqczze a10ff105c9 Fix SA1028: Code should not contain trailing whitespace. Part 1. (#26203) 2025-10-16 12:58:28 +05:00
xtqqczze d2d0defd5f Fix CA1852: Seal internal types. Part 1 (#26205) 2025-10-16 05:23:32 +00:00
Travis Plunk 2376e28482 Ensure that socket timeouts are set only during the token validation (#26066)
The main goal is to ensure that socket timeouts are set only during the token validation phase and are properly reset afterward, improving reliability and preventing unintended blocking or premature timeouts in subsequent operations.
2025-09-22 10:56:19 -07:00
Travis Plunk 42e86f6c5f Fix race condition in RemoteHyperVSocket (#26057) 2025-09-15 11:37:04 -07:00
Armaan Mcleod 92c6f7a632 Add single/double quote support for Join-String Argument Completer (#25283) 2025-04-21 09:48:33 +05:00
Armaan Mcleod e308222e19 Fix WildcardPattern.Escape to escape lone backticks correctly (#25211) 2025-03-25 09:05:42 +05:00
Armaan Mcleod 94d0361d59 Add QuoteCompletionText method to CompletionHelpers class (#25180)
Unifies how quoting a given completion text works.
2025-03-22 18:04:54 +05:00
Dongbo Wang 48b25da147 Remove the old fuzzy suggestion and fix the local script file name suggestion (#25177) 2025-03-17 10:19:15 -07:00
Armaan Mcleod e8bf560787 Add XUnit test for HandleDoubleAndSingleQuote in CompletionHelpers class (#25181) 2025-03-17 09:53:01 +00:00
Matěj Kafka 9071eac574 Stringify ErrorRecord with empty exception message to empty string (#24949) 2025-02-10 11:43:10 +05: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