Commit Graph
8143 Commits
Author SHA1 Message Date
Aditya Patwardhan d933c01494 Update docs for v7.1.0-preview.4 release (#13028) 2020-06-29 11:09:01 -07:00
Aditya Patwardhan a3101fa35c Fix NuGet package compliance issues (#13045) 2020-06-29 10:57:17 -07:00
dependabot-preview[bot] 766e166f99 Bump xunit.runner.visualstudio from 2.4.1 to 2.4.2 (#12874) 2020-06-29 09:51:58 -07:00
dependabot-preview[bot] 1de5e59e03 Bump NJsonSchema from 10.1.22 to 10.1.23 (#13032)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.1.22 to 10.1.23.
- [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-06-26 08:40:56 +05:00
xtqqczze bd90f1921f Code performance fixes (#12956)
* RCS1080: Use 'Count/Length' property instead of 'Any' method

* RCS1077: Optimize LINQ method call

* RCS1235: Optimize method call
2020-06-25 11:30:40 +05:00
dependabot-preview[bot] bf3b48db13 Bump NJsonSchema from 10.1.21 to 10.1.22 (#13022)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.1.21 to 10.1.22.
- [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-06-25 11:27:39 +05:00
Aditya Patwardhan 8030889b7b Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20318.15 (#13018) 2020-06-23 17:30:31 -07:00
Aditya Patwardhan a9206d546a Remove component ref when regerenating the wix file (#13019) 2020-06-23 16:43:36 -07:00
Paul Higinbotham 7b4e80f07d Fix tests to not write errors to console (#13010) 2020-06-23 14:07:52 -07:00
Aditya Patwardhan 0d75cfdc2d Revert "Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20319.2 (#12992)" (#13017)
This reverts commit ce8dc1e30c.
2020-06-23 11:52:20 -07:00
Travis Plunk 7500513911 Make sure icons are added to MSI staging folder (#12983) 2020-06-22 10:44:04 -07:00
Joel Sallow (/u/ta11ow) 02af121ca2 Fix issue in Select-Object where Hashtable members (e.g., Keys) cannot be used with -Property or -ExpandProperty (#11097) 2020-06-19 15:46:54 -07:00
github-actions[bot] ce8dc1e30c Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20319.2 (#12992) 2020-06-19 11:28:09 -07:00
xtqqczze eb9acbc952 Replace SortedList with Generic.SortedList<TKey,TValue> (#12954) 2020-06-19 14:50:31 +05:00
xtqqczze a15e5090e2 Use HashSet instead of Hashtable with null values (#12958) 2020-06-19 08:31:18 +05:00
Travis PlunkandJames Truher ac2b1cfc27 Use correct isError parameter with Write-Log(#12989)
Co-authored-by: James Truher <jimtru@microsoft.com>
2020-06-18 11:48:06 -07:00
Travis Plunk 3319f4cafc Make sure tabcompletion tests run (#12981) 2020-06-17 10:44:34 -07:00
Bobby Reynolds a3319d7580 Add HoloLens to list of PowerShell adopters (#12940) 2020-06-17 08:35:03 +05:00
Steve Lee 2f1d40c4ec Fix conflicting shorthand switch -w for pwsh (#12945) 2020-06-16 18:36:01 -07:00
Aditya PatwardhanandAditya Patwardhan 4b67d44a12 Update DotnetRutimeMetadata.json to point to preview 6 (#12972)
Co-authored-by: Aditya Patwardhan <Aditya Patwardhan>
2020-06-16 17:10:56 -07:00
Robert Holt a6507093a2 Remove dependency on DNS for Test-Connection tests on macOS (#12943) 2020-06-16 13:17:29 -07:00
Christopher Yeleighton 04b121471a Make the switch parameter -Qualifier not positional for Split-Path (#12960) 2020-06-16 10:28:41 -07:00
Ilya 409bd318f1 Rename the CimCmdlet resource file (#12955) 2020-06-15 11:00:02 -07:00
dependabot-preview[bot]andDongbo Wang ed4cd20d80 Bump PSReadLine from 2.0.1 to 2.0.2 (#12909)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2020-06-12 13:07:41 -07:00
xtqqczze 22aaf9f5f6 Disable NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter rule in StyleCop (#12855) 2020-06-12 11:02:21 -07:00
dependabot-preview[bot] f4b8ae5e04 Bump NJsonSchema from 10.1.18 to 10.1.21 (#12944) 2020-06-12 08:18:55 -07:00
romero126 8d85c14f5b Rename CopyItem.Tests.ps1 to Copy-Item.Tests.ps1 to match other tests (#10701) 2020-06-12 08:16:40 -07:00
Aditya Patwardhan 211fb2a7e1 Update README.md and metadata.json for next releases (#12939) 2020-06-11 14:22:30 -07:00
Steve Lee ec20043a91 Remove use of Test-Path in ConciseView (#12778) 2020-06-11 16:07:18 +05:00
xtqqczze 58c371ca31 Fix RCS1114: Remove redundant delegate creation (#12917) 2020-06-11 14:01:01 +05:00
xtqqczze 0d5d017f0f Code redundancy fixes (#12916)
* Autofix `RCS1036: Remove redundant empty line`

* Autofix `RCS1037: Remove trailing white-space`

* Autofix `RCS1033: Remove redundant boolean literal`

* Autofix: `RCS1038: Remove empty statement`

* Autofix `RCS1041: Remove empty initializer`

* Autofix `RCS1097: Remove redundant 'ToString' call

* Autofix: `RCS1420: Operator is unnecessary`
2020-06-11 11:25:35 +05:00
Aditya Patwardhan eaee9a3f21 Add @TylerLeonhardt to PowerShell team list to correct changelog generation (#12927) 2020-06-09 10:30:46 -07:00
Bryan Berns edf7cc0ead Resolve the working directory as literal path for Start-Process when it's not specified (#11946) 2020-06-09 10:27:53 -07:00
Carl Morris 2ea18ee6c9 Flag default switch statement condition clause as keyword (#10487) 2020-06-09 10:22:37 -07:00
Aditya PatwardhanandAditya Patwardhan 59dff00c0f Check if Azure Blob exists before overwriting (#12921)
Co-authored-by: Aditya Patwardhan <Aditya Patwardhan>
2020-06-08 18:06:48 -07:00
Dongbo Wang 1656f51d5b Enable the upload of ETW traces to CLR CAP in Windows daily build (#12890) 2020-06-08 12:07:10 -07:00
Ilya 80ac3cc735 Enable skipped tests (#12894) 2020-06-05 12:01:53 -07:00
Travis Plunk 5ef69e88bc Fix break in package build by pinning ffi version to 1.12 (#12889) 2020-06-04 13:37:00 -07:00
Aditya Patwardhan 01616df8c1 Upgrade APIScan version (#12876) 2020-06-04 09:57:57 -07:00
xtqqczze cd3ed77e83 Fix broken link in README.md (#12887) 2020-06-04 09:45:35 -07:00
PRASOON KARUNAN V 37c9a76552 Make contributors unique in Release notes (#12878) 2020-06-03 15:14:45 -07:00
beatcracker c22ccbebd2 Add parameter SchemaFile to Test-Json cmdlet (#11934) 2020-06-02 13:51:57 -07:00
xtqqczzeandTravis Plunk b03b968d0a Restore markdownlint tests (#12549)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2020-06-02 12:28:32 -07:00
Aditya Patwardhan 5a42f453c6 Update the PowerShell modules to use the new Help URI (#12686) 2020-06-02 11:46:24 -07:00
Ilya 73e8427586 Bring back Certificate provider parameters (#10622) 2020-06-02 11:44:16 -07:00
Dongbo Wang 8f79ce1d29 Update Linux daily CI to run in a single agent & collect traces (#12866) 2020-06-02 11:33:27 -07:00
xtqqczze c233b30a6a Reorder modifiers according to preferred order (#12864)
# PR Summary

Reformat using `csharp_preferred_modifier_order`.

## PR Context

Split change from #11773

## 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-06-02 16:49:25 +00:00
xtqqczze 8f7d308eaa Expand numberOfPowershellRefAssemblies list capacity (#12840)
# PR Summary

* Increase the list capacity because .NET v5.0.100-preview.5.20278.13 has an extra assembly
* Remove assert added in #12520

## PR Context

HEAD of master has been broken since 99da109 (#12772), when .NET was updated to 5.0.100-preview.5.20278.13

https://github.com/PowerShell/PowerShell/issues/12815#issuecomment-636132717

## 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-06-02 03:57:56 +00:00
Ilya 3de9069ca7 Fix New-Item to create symbolic link to relative path target (#12797) 2020-06-01 13:12:27 -07:00
xtqqczze e93381e73e Add readonly modifier to internal static members (#11777)
# PR Summary

* Add readonly modifier to internal static members.

## PR Context

## 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-05-31 05:10:22 +00:00