Paul Higinbotham
668d72c4af
Clean up the IPC named pipe on PowerShell exit ( #12187 )
2020-03-26 09:47:33 -07:00
Shayde Nofziger
238cb5c8dc
Fix erroneous comment in tokenizer.cs ( #12206 )
...
The BigInteger NumberSuffixFlags enum is 'N', not 'I'. Fix the comment to indicate it as such.
2020-03-26 13:18:33 +05:00
Aditya Patwardhan
7193800bc2
Allow case insensitive paths for determining PSModulePath ( #12192 )
...
* Allow case insensitive comparison of paths for determining PSModulePath
* Address codefactor issue
2020-03-25 12:11:06 -07:00
Steve Lee
f23be437af
Fix terms checker issues ( #12189 )
2020-03-24 11:38:45 -07:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
Aditya Patwardhan
3c81de6d26
Add PowerShell version 7.0 to compatible version list ( #12184 )
2020-03-24 10:49:54 -07:00
Paul Higinbotham
cce214e884
Implement ForEach-Object -Parallel runspace reuse ( #12122 )
...
* Implement foreach parallel runspace reuse
* Change runspace dispose
* Refactor runspace reset check
* Fix race condition.
* Fix CodFactor issues
* Implement -UseNewRunspace parameter switch, add tests
* Fix Codacy error
2020-03-23 14:00:43 -07:00
Damir Ainullin
5da06978b1
Set correct priority for ?: operator ( #12075 )
2020-03-19 08:54:39 +05:00
Dongbo Wang
c737f3162c
Fix NullReferenceException when binding common parameters of type 'ActionPreference' ( #12124 )
2020-03-18 23:18:21 +05:00
Ilya
b5d4739b2a
Use span-based overloads ( #11884 )
2020-03-18 18:38:55 +05:00
Ilya
2e8ced4856
Use new string.Split() overloads ( #11867 )
2020-03-13 17:46:05 +05:00
Ilya
12bf5f4a0c
Bring back MainWindowTitle in PSHostProcessInfo ( #11885 )
...
* Bring back MainWindowTitle in PSHostProcessInfo
* Add test
2020-03-10 09:30:53 -07:00
Andrew
704b0e74ed
Miscellaneous minor updates to WinCompat ( #11980 )
...
* Filter PSModulePath when starting PS 5.1. Removing PS-Core-specific paths from PSModulePath of WinCompat process (Windows PS).
* Make implicit WinCompat respect NoClobber and Scope parameters
* Add ErrorAction.Ignore when searching for WinPSCompatSession
2020-03-10 11:31:44 +05:00
Paul Higinbotham
00b60c44fa
Remove hop restriction for interactive sessions ( #11920 )
2020-02-28 12:26:08 -08:00
Paul Higinbotham
d3ad083833
Fix SSH remoting error on Windows platform ( #11907 )
2020-02-20 14:10:58 -08:00
Ilya
45bc965af8
Fix NREs in SuspendStoppingPipeline() and RestoreStoppingPipeline() ( #11870 )
2020-02-20 11:57:00 -08:00
Ilya
59ad53181e
Remove old dead code from FullCLR ( #11886 )
2020-02-20 11:39:15 -08:00
John Dennis
895d4b3f3e
Allow cross-platform CAPI-compatible remote key exchange ( #11185 )
2020-02-19 12:28:43 -08:00
Robert Holt
2cfe8a4781
Restore the PowerShellStreamType enum with an ObsoleteAttribute ( #11836 )
2020-02-12 14:32:07 -08:00
Andrew
d2cb3c3636
Sync current directory in WinCompat remote session ( #11809 )
2020-02-11 11:44:30 -08:00
Dongbo Wang
35c7b7842e
Fix how COM objects are enumerated ( #11795 )
2020-02-10 13:24:50 -08:00
Ilya
60387f1ad3
Use Dictionary.TryAdd() where possible ( #11767 )
2020-02-06 12:49:45 -08:00
Paul Higinbotham
a5a97a5939
Fix Invoke-Command missing error on session termination. ( #11586 )
2020-02-05 15:27:57 -08:00
Andrew
43c88a4ff1
Add WinCompat deny list support using a setting in powershell.… ( #11726 )
2020-02-04 16:33:26 -08:00
Steve Lee
6c6c9cc41e
Fix help function to check if less is available before usi… ( #11737 )
2020-02-03 14:38:11 -08:00
Tyler James Leonhardt
ac1b83f152
Use Environment.NewLine instead of hard-coded linefeed in ParseError.ToString ( #11746 )
2020-02-03 14:03:12 -08:00
xtqqczze
a34d0f3e80
Reformat code according to EditorConfig rules ( #11681 )
2020-01-31 14:56:22 -08:00
xtqqczze
c4e144b13e
Replace use of throw GetExceptionForHR with ThrowExceptionForHR ( #11640 )
...
`System.Runtime.InteropServices.Marshall.GetExceptionForHR` may not return an exception. Instead of `throw GetExceptionForHR` we can use `ThrowExceptionForHR`.
Fix warnings `CS8597:Thrown value may be null.`
2020-01-31 10:13:12 +05:00
Robert Holt
f0fe356553
Restore SetBreakpoints API ( #11622 )
...
* Restore SetBreakpoints API
* Remove default values in API methods
* Fix inheriting APIs
* Correct further comments
* Fix breakpoint API use issues
* Fix breakpoint API tests
2020-01-30 11:27:57 -08:00
Luca Filipozzi
6c792d7a4c
Do not needlessly pass -l login_name or -p port to ssh ( #11518 )
2020-01-29 14:40:08 -08:00
Dongbo Wang
a4c32bc337
Revert the PRs that made DBNull.Value and NullString.Value treated as $null ( #11648 )
2020-01-29 14:13:05 -08:00
Paul Higinbotham
a7a2b12336
Fix for JEA user role in virtual account ( #11668 )
2020-01-24 09:54:07 -08:00
Robert Holt
caa50510c2
Change name of ClrVersion parameter back ( #11623 )
2020-01-23 22:21:06 +05:00
Steve Lee
de2d34b2ad
Support expanding ~ in $env:PATH when doing command discovery ( #11552 )
2020-01-14 10:24:26 -08:00
Ilya
0dfeeb5203
Port GetProcessorArchitecture() ( #11046 )
2020-01-14 08:41:19 +05:00
Ilya
397756a26f
Skip null data in output data received handler to fix a NullReferenceException ( #11448 )
2020-01-09 16:08:09 -08:00
Thomas Nieto
b25e67e607
Remove RequireLicenseAcceptance default value ( #11512 )
2020-01-07 11:43:58 -08:00
Tyler James Leonhardt
68b6b1a006
Add ssh parameter sets for JobName ( #11444 )
2020-01-07 10:21:44 -08:00
Andrew
ea48e07c48
Added setting to disable implicit WinPS module loading ( #11332 )
2020-01-03 10:32:00 -08:00
Dongbo Wang
19960a7333
Mark InitialSessionState.ImportPSSnapIn as Obsolete ( #11399 )
2019-12-20 15:10:36 -08:00
Paul Higinbotham
e58ebfa6b4
Fix race condition exception on recent change to OutOfProc transport ( #11406 )
2019-12-20 13:20:10 -08:00
Paul Higinbotham
e81bd1dfda
Re-add check for Invoke-Command job dispose. ( #11388 )
2019-12-20 12:13:34 -08:00
Ilya
54e6199bbb
Use invariant culture string conversion for -replace operator ( #10954 )
2019-12-19 09:50:46 -08:00
Paul Higinbotham
76a009ed58
Fix key exchange hang for outofproc transports ( #11380 )
2019-12-18 14:07:00 -08:00
Tyler James Leonhardt
ca202da643
Improvements in breakpoint APIs for remote scenarios ( #11312 )
2019-12-12 17:23:12 -08:00
Dongbo Wang
55b572be7b
Fix PowerShell class definition leaking into another Runspace ( #11273 )
2019-12-11 15:41:39 -08:00
Dongbo Wang
5605bf4195
Fix a regression in formatting caused by the FirstOrDefault primitive added in 7.0.0-Preview1 ( #11258 )
2019-12-11 15:37:18 -08:00
Steve Lee
ed1f6e3144
Make approved features non-experimental ( #11303 )
2019-12-10 15:41:43 -08:00
Andrew
0c46e3e71d
Added WindowsPS version check for WinCompat ( #11148 )
2019-12-10 10:40:13 -08:00
Dongbo Wang
9649a85ce9
Make update notification support LTS and default channels ( #11132 )
2019-12-10 09:57:00 -08:00