Commit Graph
926 Commits
Author SHA1 Message Date
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
Dongbo Wang 25895e34b8 Fix NullReferenceException in CompletionCompleters public methods (#11274) 2019-12-10 09:51:01 +05:00
Paul Higinbotham c232903bc0 Fix apartment thread state check on non-Windows platforms (#11301) 2019-12-09 16:26:46 -08:00
Steve Lee 20a236b228 Update setting PSModulePath to concatenate the process + machine env var (#11276) 2019-12-09 16:25:08 -08:00
Andrew f8a321ae2b Fix error-reporting in some WinCompat scenarios (#11259) 2019-12-09 15:20:40 -08:00
Alvaro Del Valle bcc565603c Fix typo in description for Get-ExperimentalFeature PSWindowsPowerShellCompatibility (#11282) 2019-12-07 14:43:24 +05:00
Ilya 42f21ae6a0 Cleanups in command discovery (#10815)
* Enable nullable, make minor cleanups, add a test
* Reduce allocations in GetAliasTable()
* Remove searching by extensions on Unix
2019-12-03 11:23:36 +05:00
M1kep 570ba43a24 Allow CompleteInput to return results from ArgumentCompleter when AST or Script has matching function definition (#10574) 2019-12-02 10:51:13 -08:00
Ilya 2ee1760342 Fix regression in Get-PSCallStack (#11210) 2019-12-02 10:43:35 -08:00
David Smatlak 3923ca1728 Fixes FWLinks for PS7 online help documents (#11071) 2019-12-02 10:25:56 -08:00
Andrew e487e10356 Disable the autoloading of modules that define JobSourceAdapter (#11194) 2019-11-26 10:43:35 -08:00
Ilya c17d5a7a27 Review currentculture (#11044)
Replace StringComparison.CurrentCulture with StringComparison.Ordinal where it is used without the need.
2019-11-22 08:37:42 +05:00