Commit Graph
1856 Commits
Author SHA1 Message Date
Staffan Gustafsson 94aa68d30f Enable nullable: System.Management.Automation.Provider.ICmdletProviderSupportsHelp (#14150) 2021-05-18 21:09:00 +05:00
Staffan Gustafsson 77f25bf2a7 Enable nullable: System.Management.Automation.IDynamicParameters (#14153) 2021-05-18 20:58:39 +05:00
Staffan Gustafsson c547ccd478 Enable nullable: System.Management.Automation.Interpreter.ILightCallSiteBinder (#14156) 2021-05-18 20:57:27 +05:00
Staffan Gustafsson e2364b78b5 Enable nullable: System.Management.Automation.Language.IScriptPosition (#14161) 2021-05-18 20:55:29 +05:00
Staffan Gustafsson 64fb8c2311 Enable nullable: System.Management.Automation.IInspectable (#14155) 2021-05-18 19:53:21 +05:00
xtqqczze 5abb90f21a Avoid allocation in LanguagePrimitives.UpdateTypeConvertFromTypeTable (#15168) 2021-05-17 11:01:07 -07:00
Steve Lee 38d582f038 Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed (#15380) 2021-05-14 11:05:49 -07:00
Andrew ae772462a5 Fix NullReferenceException in DSC ClearCache() (#15373) 2021-05-12 13:30:43 -07:00
Dongbo Wang b16dac7ecb Avoid collecting logs in buffer if a pipeline execution event is not going to be logged (#15350) 2021-05-10 13:10:25 -07:00
Staffan Gustafsson efdc500ba5 Annotate ThrowTerminatingError with DoesNotReturn attribute (#15352) 2021-05-06 09:23:34 -07:00
PRASOON KARUNAN V 15bb767a74 Remove alias d for the -Directory parameter from Get-ChildItem (#15171) 2021-05-05 17:23:09 -07:00
Staffan Gustafsson f38c97e4f4 Enable nullable for System.Management.Automation.Language.IAssignableValue (#14163) 2021-05-05 11:28:32 -07:00
MartinGC94 5d8336adf5 Fix tab completion for un-localized about topics (#15265) 2021-05-05 11:24:40 -07:00
Paul Higinbotham a95b2cb17f Remove unneeded SSH standard handle workaround (#15308) 2021-04-30 09:35:55 -07:00
Dongbo Wang a62c9d9443 Add the performance benchmark project for PowerShell performance testing (#15242) 2021-04-30 09:34:26 -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
Ilya 08e731398c Enhance Remove-Item to work with OneDrive (Second) (#15260) 2021-04-27 12:31:12 -07:00
Steve Lee 1df4236e6c Kill native processes in pipeline when pipeline is disposed on Unix (#15287) 2021-04-26 15:10:35 -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
Staffan Gustafsson b5e41e2587 Enable nullable for System.Management.Automation.Language.ITypeName (#14181) 2021-04-20 09:42:03 -04:00
Brandon Wood 4d702e010d Use GetValueOrDefault() for nullable PSLanguageMode (#13849) 2021-04-19 08:41:39 -04:00
Travis Plunk 720c615d04 Revert "Enhance Remove-Item to work with OneDrive (#14902)" (#15253)
This reverts commit fafc38fe5c.
2021-04-16 13:43:11 -07:00
xtqqczze a562fa6bd8 Enable SA1008 Opening parenthesis should be spaced correctly (#14242) 2021-04-16 13:33:02 -04:00
Staffan Gustafsson 1feed0671a Enable nullable for System.Management.Automation.Tracing.IMethodInvoker (#14157) 2021-04-16 13:25:15 -04:00
Staffan Gustafsson b2d2541d87 Enable nullablE for System.Management.Automation.Provider.IContentReader (#14151) 2021-04-16 13:23:49 -04:00
xtqqczze 4e073fdd3f Avoid array allocations from GetDirectories/GetFiles. (#15167) 2021-04-15 08:16:26 +05:00
MartinGC94 55d12ee76c Add completion for Requires statements (#14596) 2021-04-14 10:26:48 -07:00
Aditya Patwardhan 4a7bea0082 Update .NET to 6.0.0-preview.3 (#15221) 2021-04-13 15:45:15 -07:00
Paul Higinbotham 046e0fea03 Fix SSH remoting connection hang with misconfigured endpoint (#15175) 2021-04-13 15:36:36 -07:00
xtqqczze a6abf16941 Add SecureStringHelper.FromPlainTextString (#14124) 2021-04-12 14:05:20 -07:00
Ilya 91e7298fd8 Use static lambda keyword (#15154) 2021-04-12 12:44:05 -07:00
Steve 8f5ae72f5d Fix redundant iteration while splitting lines (#14851) 2021-04-12 10:23:12 -07:00
Ilya fafc38fe5c Enhance Remove-Item to work with OneDrive (#14902) 2021-04-12 09:36:16 -07:00
ZhiZe-ZG a8a7e045d8 Unified comment format (#15114) 2021-04-05 14:11:25 -07:00
James Truher [MSFT]andIlya a520e2c982 Native invocation using ArgumentList (#14692)
Co-authored-by: Ilya <darpa@yandex.ru>
2021-04-01 14:54:10 -07:00
xtqqczze e92201779d Enable SA1001: Commas should be spaced correctly (#14171) 2021-03-30 15:17:17 -07:00
Staffan Gustafsson be7d36603d Adding IArgumentCompleterFactory for parameterized ArgumentCompleters (#12605) 2021-03-25 17:06:40 -07:00
Steve Lee 5d0dadf19d Fallback to CopyAndDelete() when MoveTo() fails due to an IOException (#15077) 2021-03-25 15:11:17 -07:00
dependabot[bot] d90b979534 Bump Newtonsoft.Json from 12.0.3 to 13.0.1 (#15084)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 10:25:14 -07:00
Travis Plunk f1b8798264 Move bypass execution policy check after AppLocker Deny check (#15035) 2021-03-22 11:25:01 -07:00
Aditya Patwardhan 4c40ab1140 Bump Microsoft.PowerShell.Native to 7.2.0-preview.1 (#15030) 2021-03-15 11:34:02 -07:00
Aditya Patwardhan 5c4a80e2e2 Update .NET to version 6.0.100-preview.2.21155.3 (#15007) 2021-03-15 11:22:40 -07:00
Steve Lee c9d65061af Add UseOSCIndicator setting to enable progress indicator in terminal (#14927) 2021-03-11 17:29:17 -08:00
Steve Lee 22b3653bf4 Fix Move-Item for FileSystemProvider to use copy-delete instead of move for DFS paths (#14913) 2021-03-08 15:01:31 -08:00
Steve Lee d9da234cdf Fix PromptForCredential() to add targetName as domain (#14504) 2021-03-08 10:52:02 -08:00
Mariano Alipi ae5a84ea05 Move misplaced test file to tests directory (#14908) 2021-03-08 23:51:38 +05:00
Steve Lee 597bfc9696 Update Concise ErrorView to not show line information for errors from script module functions (#14912) 2021-03-08 23:37:11 +05:00
dependabot-preview[bot] 3ded3198c9 Bump Microsoft.ApplicationInsights from 2.16.0 to 2.17.0 (#14847)
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/Microsoft/ApplicationInsights-dotnet/releases)
- [Changelog](https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/ApplicationInsights-dotnet/compare/2.16.0...2.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 14:48:21 -08:00
James Truher [MSFT] 907746cb2e Change signature validation logic to call first without the file content (#14849) 2021-02-23 12:23:16 -08:00
xtqqczze 778cff0292 Avoid array allocations from GetDirectories and GetFiles (#14327)
Contributes to PowerShell#14318.
2021-02-16 10:31:02 -08:00