dependabot-preview[bot]
86ea202bae
Bump NJsonSchema from 10.1.7 to 10.1.8 ( #12088 )
...
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema ) from 10.1.7 to 10.1.8.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases )
- [Commits](https://github.com/RicoSuter/NJsonSchema/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 17:35:58 -07:00
dependabot-preview[bot]
ee75eff0e4
Bump Markdig.Signed from 0.18.1 to 0.18.3 ( #12078 )
...
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig ) from 0.18.1 to 0.18.3.
- [Release notes](https://github.com/lunet-io/markdig/releases )
- [Changelog](https://github.com/lunet-io/markdig/blob/master/changelog.md )
- [Commits](https://github.com/lunet-io/markdig/compare/0.18.1...0.18.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 14:59:46 -07:00
dependabot-preview[bot]
74df0f8871
Bump NJsonSchema from 10.1.5 to 10.1.7 ( #12050 )
...
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema ) from 10.1.5 to 10.1.7.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases )
- [Commits](https://github.com/RicoSuter/NJsonSchema/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-07 13:11:40 -08:00
Dongbo Wang
348ca85947
Fix ConciseView to split PositionMessage using [Environment]::NewLine ( #12010 )
2020-03-04 13:03:08 -08:00
Paul Higinbotham
00b60c44fa
Remove hop restriction for interactive sessions ( #11920 )
2020-02-28 12:26:08 -08:00
Aditya Patwardhan
4e896983c7
Enable Ctrl+C to work for global tool ( #11959 )
2020-02-26 15:45:28 -08:00
Steve Lee
2db8516a8c
Fix ConciseView to not show the line information within the error messages ( #11952 )
2020-02-26 21:07:57 +05:00
dependabot-preview[bot]
d87472d368
Bump Microsoft.ApplicationInsights from 2.13.0 to 2.13.1 ( #11925 )
2020-02-25 17:36:39 -08:00
Dongbo Wang
da94afaf5b
Update the map between console color to VT sequences ( #11891 )
2020-02-20 14:28:38 -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
Steve Lee
a09855017f
Generate guid for FormatViewDefinition InstanceId if not provided ( #11896 )
2020-02-20 19:57:26 +05:00
Steve Lee
34f9b43514
Fix ConciseView where error message is wider than window width and doesn't have whitespace ( #11880 )
2020-02-20 08:38:28 +05:00
dependabot-preview[bot]
d1e1ee70db
Bump Microsoft.ApplicationInsights from 2.12.1 to 2.13.0 ( #11894 )
2020-02-19 15:33:15 -08:00
dependabot-preview[bot]
f854f5499c
Bump System.Data.SqlClient from 4.8.0 to 4.8.1 ( #11879 )
2020-02-19 12:32:06 -08:00
John Dennis
895d4b3f3e
Allow cross-platform CAPI-compatible remote key exchange ( #11185 )
2020-02-19 12:28:43 -08:00
Next Turn
8522038cd8
Fix error message ( #11862 )
2020-02-18 13:07:09 -08:00
dependabot-preview[bot]
cec9deb72a
Bump Microsoft.PowerShell.Native from 7.0.0-rc.2 to 7.0.0 ( #11839 )
2020-02-12 15:59:18 -08:00
Robert Holt
2cfe8a4781
Restore the PowerShellStreamType enum with an ObsoleteAttribute ( #11836 )
2020-02-12 14:32:07 -08:00
Steve Lee
5edafb6afd
Fix ConciseView to handle case where there isn't a console to obtain the width ( #11784 )
2020-02-12 11:48:58 +05:00
dependabot-preview[bot]
fbb1559fd3
Bump Microsoft.PowerShell.Archive from 1.2.4.0 to 1.2.5 ( #11833 )
...
Bumps Microsoft.PowerShell.Archive from 1.2.4.0 to 1.2.5.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-11 14:55:47 -08:00
dependabot-preview[bot]
9ffc693b1e
Bump PSReadLine from 2.0.0-rc2 to 2.0.0 ( #11831 )
2020-02-11 12:16:03 -08:00
Andrew
d2cb3c3636
Sync current directory in WinCompat remote session ( #11809 )
2020-02-11 11:44:30 -08:00
James Truher [MSFT]
4a0eda7fa9
Handle cases where CustomEvent was not initially sent ( #11807 )
2020-02-11 11:40:43 -08:00
Dongbo Wang
35c7b7842e
Fix how COM objects are enumerated ( #11795 )
2020-02-10 13:24:50 -08:00
Dongbo Wang
da0695362a
Fix NativeDllHandler to not throw when file is not found ( #11787 )
...
<!-- Anything that looks like this is a comment and can't be seen after the Pull Request is created. -->
# PR Summary
Fix `NativeDllHandler` to not throw when file is not found.
Today, the `NativeDllHandler` calls `NativeLibrary.Load(fullName)` even if the file doesn't exist. This is not right, it should return `IntPtr.Zero` to let the runtime try the next resolution approach, if there is one.
Also, this behavior results in the exception message to be `Unable to load DLL 'F:\win-x64\nativedll.dll' or one of its dependencies: The specified module could not be found`, which is confusing because there was never an explicit loading of a dll with that path.
The real exception generated from runtime should be `Unable to load DLL 'nativedll' or one of its dependencies: The specified module could not be found.`
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )**
- [x] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md )
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [x] N/A or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices ) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell ) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer ) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax ) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
2020-02-07 20:03:16 +00:00
mikeTWC1984
69bf7043c0
Update CmsCommands to use Store vs cert provider ( #11643 )
2020-02-06 15:38:17 -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
db370dcc79
Enable pwsh to work on Windows systems where mpr.dll and STA is not available ( #11748 )
2020-02-04 10:52:19 -08:00
Brendan Burns and Ilya
127fec5eb9
Refactor and implement Restart-Computer for Un*x and macOS ( #11319 )
...
Co-authored-by: Ilya <darpa@yandex.ru >
2020-02-03 14:57:17 -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
Ilya
58d53b53fd
Fix FileSystem provider error message ( #11741 )
2020-02-03 13:13:48 -08:00
xtqqczze
c73a599469
Update PSPath in certificate_format_ps1.xml ( #11603 )
...
`PSPathPath` is an invalid item property name
2020-02-03 13:03:44 -08:00
xtqqczze
2014ce66c1
Set StrictMode version 3.0 ( #11563 )
2020-02-03 09:44:10 -08:00
xtqqczze
a34d0f3e80
Reformat code according to EditorConfig rules ( #11681 )
2020-01-31 14:56:22 -08:00
Roman Marusyk
0eaa41b705
Change regex to match relation-types w/o quotes in Link header ( #11711 )
2020-01-31 14:09:03 -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
xtqqczze
9a7ee0545a
Refactor delegate types to lambda expressions ( #11690 )
2020-01-30 14:50:14 -08:00
Robert Holt
8ad4997f3c
Fix error message during symlink deletion ( #11331 )
2020-01-30 14:46:44 -08: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
Steve Lee
66912b7428
Fix unnecessary trimming of line resulting in incorrect indexi… ( #11670 )
2020-01-30 11:03:39 -08:00
dependabot-preview[bot]
28dc98e3e7
Bump NJsonSchema from 10.1.4 to 10.1.5 ( #11730 )
2020-01-30 10:59:58 -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
dependabot-preview[bot]
67bc71325b
Bump Microsoft.ApplicationInsights from 2.12.0 to 2.12.1 ( #11708 )
2020-01-29 14:10:29 -08:00
dependabot-preview[bot]
7d5c86949f
Bump NJsonSchema from 10.1.3 to 10.1.4 ( #11620 )
2020-01-28 14:04:18 -08:00