Commit Graph
7779 Commits
Author SHA1 Message Date
Aditya Patwardhan 2a11d5256b Merged PR 10976: Change log for 7.0.0-rc.3 release
Change log for 7.0.0-rc.3 release
v7.0.0-rc.3
2020-02-21 21:03:55 +00:00
Aditya Patwardhan b7ad255fe9 Merged PR 10978: Remove markdown link tests for release branch
Remove markdown link tests for release branch
2020-02-21 20:58:13 +00:00
xtqqczze 56310014e6 Add links to diffs on Github in changelog (#11652)
* Use consistent date format in markdown files

Change to international date format to match date format in `CHANGELOG/6.1.md` etc.

* Add links to compare views on Github
2020-02-21 11:21:27 -08:00
Dongbo Wang e0c56328b4 Update the map between console color to VT sequences (#11891) 2020-02-20 14:32:25 -08:00
Paul Higinbotham 09d376ec9a Fix SSH remoting error on Windows platform (#11907) 2020-02-20 14:32:25 -08:00
Aditya Patwardhan e2c05a7470 Add LTSRelease value from metadata.json to release.json (#11897) 2020-02-19 15:40:14 -08:00
dependabot-preview[bot] a76a1a169d Bump Microsoft.ApplicationInsights from 2.12.1 to 2.13.0 (#11894) 2020-02-19 15:40:14 -08:00
Dongbo Wang 5e3ae6c982 Make LTS package always not a preview (#11895) 2020-02-19 15:40:14 -08:00
James Truher [MSFT] 4b152d15d1 Make sure to test whether we skip a test using consistent logic (#11892) 2020-02-19 15:40:14 -08:00
dependabot-preview[bot] 79857968a8 Bump System.Data.SqlClient from 4.8.0 to 4.8.1 (#11879) 2020-02-19 15:40:14 -08:00
Aditya Patwardhan 64b0145a98 Merged PR 10960: Change LTSRelease value in metadata.json to true for RC.3 release
Change LTSRelease value in metadata.json to true for RC.3 release
2020-02-19 01:12:04 +00:00
Aditya Patwardhan b899cd1a6d Update LTS logic to depend on metadata.json (#11877) 2020-02-18 16:16:44 -08:00
Aditya Patwardhan d538c4c2f1 Set default value of LTSRelease to false (#11874) 2020-02-18 16:16:25 -08:00
Aditya Patwardhan 652fb1eb89 Skip directory creation at root test on macOS (#11878) 2020-02-18 16:15:21 -08:00
fcc03c952d Refactor packaging pipeline (#11852)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2020-02-14 08:48:56 -08:00
Travis Plunk d3ece89bda Make sure LTS packages have symlink for pwsh and pwsh-lts (#11843) 2020-02-13 18:54:32 -08:00
Aditya Patwardhan fb3ac87850 Update Get-PlatformInfo helper and tests for Debian 10, 11 and CentOS 8 (#11842)
# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1
#	test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1
2020-02-13 18:54:19 -08:00
dependabot-preview[bot] 1e2d28fd88 Bump Microsoft.PowerShell.Native from 7.0.0-rc.2 to 7.0.0 (#11839) 2020-02-12 18:15:08 -08:00
Robert Holt 983a2cafe6 Restore the PowerShellStreamType enum with an ObsoleteAttribute (#11836) 2020-02-12 15:28:22 -08:00
Dongbo Wang 3fe59463cf Update the NuGet package generation to include cimcmdlet.dll and most of the built-in modules (#11832) 2020-02-12 15:28:21 -08:00
dependabot-preview[bot] c01589f15d 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-12 15:28:21 -08:00
dependabot-preview[bot] 6fec5ee195 Bump PSReadLine from 2.0.0-rc2 to 2.0.0 (#11831) 2020-02-11 13:48:57 -08:00
Andrew 7aaa54fd7c Sync current directory in WinCompat remote session (#11809)
# Conflicts:
#	src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs
2020-02-11 13:48:31 -08:00
James Truher [MSFT] 600f058080 Handle cases where CustomEvent was not initially sent (#11807) 2020-02-11 13:46:08 -08:00
Dongbo Wang 16bfd1e5d7 Fix how COM objects are enumerated (#11795) 2020-02-11 13:46:08 -08:00
Dongbo Wang 563f1e68cf 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-11 13:46:08 -08:00
Paul Higinbotham a04276af61 Fix Invoke-Command missing error on session termination. (#11586) 2020-02-11 13:46:08 -08:00
Travis Plunk df5d7b1235 Merged PR 10911: Add tracesource and serialization primitives to the allowed assembly list 2020-02-10 22:58:28 +00:00
xtqqczze 33802b7459 Fix markdown-link test failure (#11653) 2020-02-10 13:56:08 -08:00
Dongbo Wang f9ff64cccd Update the NextReleaseTag to be v7.0.0-preview.7 (#11372) 2020-02-10 13:21:04 -08:00
Andrew 038adccddb Add WinCompat deny list support using a setting in powershell.… (#11726)
# Conflicts:
#	build.psm1
#	src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs
2020-02-10 13:19:08 -08:00
Ilya ebf6abe294 Correct pwsh run (#11486)
# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Core/CompatiblePSEditions.Module.Tests.ps1
2020-02-10 13:16:15 -08:00
Aditya Patwardhan 4ec5837e6a Change packaging to produce LTS packages (#11772) 2020-02-10 13:12:09 -08:00
xtqqczze f9e0ccc9ff Update changelog generation script (#11736)
# Conflicts:
#	CHANGELOG/6.2.md
2020-02-10 13:12:09 -08:00
Travis Plunk 380cd15eed Update to CredScan v2 (#11765) 2020-02-10 13:12:09 -08:00
Aditya Patwardhan 3161a27b4d Build tar packages only when building on Ubuntu (#11766) 2020-02-10 13:12:09 -08:00
Robert Holt ff0aaec90d 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

# Conflicts:
#	test/powershell/SDK/Breakpoint.Tests.ps1
2020-02-10 13:12:09 -08:00
Steve Lee fe4e9f0141 Fix unnecessary trimming of line resulting in incorrect indexi… (#11670) 2020-02-10 13:12:08 -08:00
dependabot-preview[bot] adae1d2dd4 Bump NJsonSchema from 10.1.4 to 10.1.5 (#11730) 2020-02-10 13:12:08 -08:00
Luca Filipozzi 754fbed651 Do not needlessly pass -l login_name or -p port to ssh (#11518) 2020-02-10 13:12:08 -08:00
Travis Plunk fc536a5ce4 Fix Symlink creation in packaging.psm1 (#11723) 2020-02-10 13:12:08 -08:00
dependabot-preview[bot] 9b3711e9b8 Bump Microsoft.ApplicationInsights from 2.12.0 to 2.12.1 (#11708) 2020-02-10 13:12:08 -08:00
dependabot-preview[bot] 428858e6a4 Bump NJsonSchema from 10.1.3 to 10.1.4 (#11620) 2020-02-10 13:12:08 -08:00
Travis Plunk f564282e7c Move to latest Azure DevOps agent images (#11704) 2020-02-10 13:12:08 -08:00
dependabot-preview[bot] 359eac6d47 Bump Markdig.Signed from 0.18.0 to 0.18.1 (#11641) 2020-02-10 13:12:08 -08:00
Paul Higinbotham cd8fc6c88d Fix for JEA user role in virtual account (#11668) 2020-02-07 16:16:33 -08:00
Robert Holt 801a45cfd1 Change name of ClrVersion parameter back (#11623) 2020-02-07 16:16:33 -08:00
Dongbo Wang 75cbd314b1 Do not resolve types from assemblies that are loaded in separate AssemblyLoadContext (#11088) 2020-02-07 16:16:33 -08:00
Dongbo Wang a51789aea0 Merged PR 10774: Update the change log in preview.md for 7.0.0-rc.2 release
Update the change log in preview.md for 7.0.0-rc.2 release
v7.0.0-rc.2
2020-01-16 22:02:52 +00:00
Dongbo Wang d99b325861 Revert the PRs that made DBNull.Value and NullString.Value treated as $null (#11584) 2020-01-14 16:47:34 -08:00