James Truher [MSFT]
|
5437f387cc
|
Add a new experimental feature to control native argument passing style on Windows (#18706)
|
2023-06-19 16:31:56 -07:00 |
|
MartinGC94
|
bb3c8a2819
|
Fix an indexing out of bound error in CompleteInput for empty script input (#19501)
|
2023-05-10 13:56:33 -07:00 |
|
CarloToso
|
d00407612c
|
Fix codefactor if part 1 (#19266)
|
2023-03-03 23:51:53 +05:00 |
|
Ikko Eltociear Ashimine
|
5b9a22581e
|
Fix a typo in InitialSessionState.cs (#19177)
|
2023-02-21 10:03:39 -08:00 |
|
spaette
|
ec0eb22062
|
Fix typos in comments (#19064)
|
2023-02-03 10:40:43 +05:00 |
|
Travis Plunk
|
137b4d788b
|
Fix for JEA session leaking functions (#19024)
|
2023-02-01 16:19:51 -08:00 |
|
spaette
|
d29f34b5c2
|
typos (#19058)
|
2023-01-30 09:48:00 -08:00 |
|
CarloToso
|
b48943ce31
|
Replace ArgumentNullException(nameof()) -> ArgumentNullException.ThrowIfNull() 2 (#18792)
|
2022-12-16 16:46:45 +05:00 |
|
CarloToso
|
2ddc63f151
|
Replace ArgumentNullException(nameof()) -> ArgumentNullException.ThrowIfNull() (#18784)
|
2022-12-14 18:30:33 +05:00 |
|
Steve Lee
|
8ff6a06f97
|
Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled (#18695)
|
2022-12-01 16:13:42 -08:00 |
|
Steve Lee
|
9ae18ab0d1
|
Change exec from alias to function to handle arbitrary arguments (#18567)
|
2022-11-17 12:14:27 -08:00 |
|
Ikko Ashimine
|
455d29471c
|
Fix typo in InitialSessionState.cs (#18435)
controling -> controlling
|
2022-11-03 11:01:13 +05:00 |
|
Berkan Diler
|
9016adf1c2
|
Replace some string.Join(string) calls with string.Join(char) (#18411)
|
2022-10-31 09:56:15 -07:00 |
|
Olivia
|
eef7c4526e
|
Add the function cd~ (#18308)
|
2022-10-24 21:58:54 -07:00 |
|
Dongbo Wang
|
80d2fb7e47
|
Some more code cleanup related to the use of PSVersionInfo (#18231)
|
2022-10-11 10:24:31 -07:00 |
|
Dongbo Wang
|
0e4358cf93
|
Improve startup time by triggering initialization of additional types on background thread (#18195)
|
2022-10-04 10:17:09 -07:00 |
|
xtqqczze
|
fd67038ed8
|
Replace UTF8Encoding(false) with Encoding.Default (#18144)
|
2022-09-27 10:47:55 +05:00 |
|
Steve Lee
|
6744ffb826
|
Make experimental feature PSNativeCommandArgumentPassing stable (#18044)
|
2022-09-12 09:48:09 -07:00 |
|
Steve Lee
|
918bb8c952
|
Make experimental feature PSExec stable (#18045)
|
2022-09-07 10:28:17 -07:00 |
|
Dongbo Wang
|
647f40bb4a
|
Fix error formatting to use color defined in $PSStyle.Formatting (#17987)
|
2022-08-31 09:36:14 -07:00 |
|
Dongbo Wang
|
2051c5f72b
|
Stop referencing Microsoft.PowerShell.Security when the core snapin is used (#17771)
|
2022-08-01 10:10:59 -07:00 |
|
MartinGC94
|
edac193cf0
|
Use discards for unused variables (#17620)
|
2022-07-05 14:26:51 -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 |
|
MartinGC94
|
5e6e7ca449
|
Add OutputType attribute to various commands (#16962)
|
2022-03-24 15:54:08 -07:00 |
|
Dongbo Wang
|
e1f52dda77
|
Refactor module assembly loading logic to allow the whole module to be loaded in a custom ALC (#16889)
|
2022-02-23 15:01:12 -08:00 |
|
Dongbo Wang
|
cce64f49de
|
Report error when PowerShell built-in modules are missing (#16628)
|
2022-01-12 10:02:03 -08:00 |
|
Steve Lee
|
a9b14a13fd
|
Add exec cmdlet for bash compatibility (#16462)
|
2022-01-04 14:09:27 -08:00 |
|
Ilya
|
51e11aaedf
|
Remove unnecessary call to ToArray (#16307)
|
2021-10-28 11:22:09 -07:00 |
|
Dongbo Wang
|
403767d7f7
|
Fix a casting error when using $PSNativeCommandUsesErrorActionPreference (#15993)
|
2021-08-25 17:05:54 -07:00 |
|
Robert Holt
|
a4d14576b3
|
Make the native command error handling optionally honor ErrorActionPreference (#15897)
|
2021-08-24 15:27:22 -07:00 |
|
James Truher [MSFT]
|
ac762c1cce
|
Add a Windows mode for native commands that allows some commands to use legacy argument passing (#15408)
|
2021-07-20 23:10:04 +00:00 |
|
Francesco Saltori
|
088eb6d039
|
Replace ProcessModule.FileName with Environment.ProcessPath and remove PSUtils.GetMainModule (#15012)
|
2021-06-03 12:32:55 -07:00 |
|
Ilya
|
91e7298fd8
|
Use static lambda keyword (#15154)
|
2021-04-12 12:44:05 -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 |
|
xtqqczze
|
50fd950920
|
Enable CA1052: Static holder types should be Static or NotInheritable (#14483)
* Enable CA1052: Static holder types should be Static or NotInheritable
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/CA1052
* Fix SA1505
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1505.md
|
2021-01-08 22:53:11 +05:00 |
|
Steve Lee
|
a99ea2acd2
|
Enable ANSI formatting via $PSStyle and support suppressing ANSI output (#13758)
|
2020-12-11 10:33:57 -08:00 |
|
xtqqczze
|
c909541b77
|
Mark private members as static part 9 (#14234)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
|
2020-11-27 13:10:43 +05:00 |
|
xtqqczze
|
0d1ea73e59
|
Enable IDE0074: Use coalesce compound assignment (#13396)
* Autofix IDE0074: Use compound assignment
|
2020-11-25 17:37:01 +05:00 |
|
xtqqczze
|
99a49e0eab
|
Enable SA1131: Use readable conditions (#14132)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1131.md
|
2020-11-20 17:26:46 +05:00 |
|
James Truher [MSFT]
|
9ca6be1d63
|
Revert "Update hyperlink for DefaultPromptFunctionText (#13176)" (#14107)
|
2020-11-17 09:50:59 -08:00 |
|
Christopher Yeleighton
|
f13d27ba3e
|
Update hyperlink for DefaultPromptFunctionText (#13176)
|
2020-11-13 17:20:15 -08:00 |
|
xtqqczze
|
d6727dcf1b
|
Simplify delegate creation (#13578)
* Autofix RCS1048
* Autofix RCS1021
|
2020-11-05 22:25:26 +05:00 |
|
xtqqczze
|
3ba61069b8
|
Enable IDE0054: Use compound assignment (#13546)
* Autofix IDE0054
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0054-ide0074
|
2020-11-05 09:48:13 +05:00 |
|
xtqqczze
|
4ed88dedbc
|
Fix IDE0044: MakeFieldReadonly part 12 (#13967)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
|
2020-11-05 08:36:23 +05:00 |
|
xtqqczze
|
2c1546cd47
|
Enable CA1836: Prefer IsEmpty over Count when available (#13877)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1836
|
2020-10-30 12:15:29 +05:00 |
|
Dongbo Wang
|
2728574df7
|
Rename 'Get-Subsystem' to 'Get-PSSubsystem' and fix two minor issues (#13765)
|
2020-10-14 09:42:37 -07:00 |
|
xtqqczze
|
88e706f3d7
|
Autofix RCS1068: Simplify logical negation (#13555)
|
2020-09-04 08:40:05 +05:00 |
|
Dongbo Wang
|
fc4c9cbfd7
|
Initial work of the subsystem plugin model (for minimal powershell) (#13186)
|
2020-08-20 17:41:44 -07:00 |
|
Dongbo Wang
|
4b9b0788ed
|
Revert "Use is null syntax (#13277)" (#13322)
This reverts commit 6c03776d74.
|
2020-07-30 16:06:38 -07:00 |
|