Commit graph

8923 commits

Author SHA1 Message Date
xtqqczze 40b2ad59cf
Update Microsoft.CodeAnalysis.NetAnalyzers (#15812) 2021-08-09 16:36:45 +05:00
dependabot[bot] a4181ab57e
Bump NJsonSchema from 10.5.0 to 10.5.1 (#15883)
Bumps NJsonSchema from 10.5.0 to 10.5.1.

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 13:09:51 +05:00
xtqqczze 58483e1366
Replace GetFiles in CompletionCompleters (#14329) 2021-08-05 16:35:38 -07:00
xtqqczze 01a4714b76
Enable CA1067: Override Object.Equals(object) when implementing IEquatable<T> (#13871)
* Enable CA1067: Override Object.Equals(object) when implementing IEquatable<T>

* Group Equals methods

* Reformat xml documentation

* Update src/System.Management.Automation/engine/EventManager.cs

Co-authored-by: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com>

Co-authored-by: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com>
2021-08-05 16:32:33 -07:00
xtqqczze 44595a40ec
Fix CA1052 in TypeCatalogGen (#15840) 2021-08-05 16:21:46 -07:00
dependabot[bot] ce6f04aa8a
Bump Microsoft.ApplicationInsights from 2.17.0 to 2.18.0 (#15842)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 15:23:54 -07:00
Ilya 45adfee558
Enhance Remove-Item to work with OneDrive (#15571) 2021-08-05 11:41:55 -07:00
Robert Holt 920427260c
Make global tool entrypoint class static (#15880) 2021-08-05 17:44:52 +00:00
dependabot[bot] 61af30f3b1
Bump NJsonSchema from 10.4.6 to 10.5.0 (#15874)
Bumps NJsonSchema from 10.4.6 to 10.5.0.

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 13:55:13 +05:00
Steve Lee 2ae0e4d9dd
Update ServerRemoteHost Version to be same as PSVersion (#15809) 2021-08-04 15:01:18 -07:00
Ilya aaaa0f2baa
Thread-safe HttpKnownHeaderNames initialization (#15519) 2021-08-04 15:00:26 -07:00
lselden 3e86f9b287
ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeeded (#15765)
Co-authored-by: Ilya <darpa@yandex.ru>
Co-authored-by: lselden <luke.selden@vbrick.com>
2021-08-04 14:47:57 -07:00
James Truher [MSFT] 5fea4c39fd
Add more information when a syslog parsing error occurs (#15857) 2021-08-04 18:22:22 +00:00
Travis Plunk bf4740dec6
Update CodeQL workflow to use ubuntu-18.04 (#15868) 2021-08-04 11:05:40 -07:00
Steve Lee 6933c5b473
Only allow -File to accept .ps1 scripts on Windows (#15859)
Co-authored-by: Ilya <darpa@yandex.ru>
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>
2021-08-03 13:43:00 -07:00
Steve Lee a6c147c1f8
Update PS-Committee members (#15837) 2021-08-03 12:09:25 -07:00
Aditya Patwardhan d050e67726
Update PowerShell team members in the change log generation script (#15817) 2021-08-03 08:23:40 -07:00
Staffan Gustafsson 1bfa1c36a7
Forwarding progress stream changes from Foreach-Object -Parallel runspaces (#14271) 2021-07-31 18:51:03 +05:00
dependabot[bot] 1a55208590
Bump NJsonSchema from 10.4.5 to 10.4.6 (#15822)
Bumps NJsonSchema from 10.4.5 to 10.4.6.

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 21:18:45 +05:00
James Truher [MSFT] 881f31b4b3
Harden logic when looking for syslog entries to be sure that we select based on PID (#15841) 2021-07-30 10:10:33 +05:00
xtqqczze a77be13227
Partially revert changes to code style src/Microsoft.Management.UI.Internal/ (#15839) 2021-07-29 12:32:21 -07:00
xtqqczze 0f2f23f67a
Enable IDE0049 PreferBuiltInOrFrameworkType (#14491) 2021-07-28 12:39:14 -07:00
xtqqczze 055b7f3003
Fix CA1052 for public API to make classes static when they only have static methods (#15775) 2021-07-28 12:28:24 -07:00
xtqqczze 3733a0bb37
Avoid unnecessary StringCollection allocation in formatting code (#15832) 2021-07-27 11:18:53 -07:00
Steve Lee 5e15f66f97
Add validation to $PSStyle to reject printable text as ANSI escape sequence (#15825) 2021-07-27 17:14:20 +00:00
Robert Holt af19ece88a
Update spelling exceptions for latest changelog (#15829) 2021-07-26 11:35:01 -07:00
xtqqczze 6a21bcc967
Specify api_surface property for all code quality rules (#15778) 2021-07-23 09:07:36 +05:00
Aditya Patwardhan 336bec3569
Changes for v7.2.0-preview.8 release (#15820)
Changelog for `v7.2.0-preview.8` release
2021-07-22 17:18:23 -07:00
Aditya Patwardhan 0d30ebaae9
Update README and metadata files for release v7.2.0-preview.8 (#15819) 2021-07-22 17:02:01 -07:00
Travis Plunk 10dee693e1
Enable /rebase to automatically rebase a PR (#15808) 2021-07-22 10:21:45 -07:00
Thomas Nieto 7777afc005
Add -PassThru parameter to Set-Clipboard (#13713) 2021-07-22 10:17:53 -07:00
Aditya Patwardhan 04d218cf1d Merged PR 16508: Changelog for v7.2.0-preview.8 release
Changelog for `v7.2.0-preview.8` release
2021-07-22 17:12:33 +00:00
Seth Falco 0002f7e8be
EditorConfig: don't replace tabs with spaces in tsv files (#15815) 2021-07-22 10:30:29 +05:00
Peter Schneider de5dc63379
Encoding Parameter for Tee-Object (#12135) 2021-07-22 09:26:07 +05:00
Joel Sallow (/u/ta11ow) efa9b25193
ConvertTo-Csv / Export-Csv - Serialize IDictionary objects with key/value pairs as properties (#11029) 2021-07-22 04:05:17 +00:00
Thomas Nieto 05943c6c48
Add position 0 to Write-Error parameters (#13813) 2021-07-21 18:05:06 -07:00
Aditya Patwardhan f0486128f9
Add new package name for osx-arm64 (#15813) 2021-07-21 11:45:20 -07:00
Aditya Patwardhan 408c4fd9ad
Prefer version when available for dotnet-install (#15810) 2021-07-21 06:34:39 +00:00
James Truher [MSFT] ac762c1cce
Add a Windows mode for native commands that allows some commands to use legacy argument passing (#15408) 2021-07-20 23:10:04 +00:00
Robert Holt 5943bc9905
Fix broken RFC links (#15807) 2021-07-20 15:07:06 -07:00
Travis Plunk 074f0915db
Make warning about MU being required most of the time dynamic (#15776) 2021-07-20 14:54:48 -07:00
Ilya f18a542bf6
Remove consolehost.proto file (#15741) 2021-07-20 14:53:33 -07:00
xtqqczze 9ceed485af
Implement IDisposable for ConvertToJsonCommand (#15787) 2021-07-20 13:26:28 -07:00
Aditya Patwardhan 06f7e1050a
Add Start-PSBootstrap before running tests (#15804) 2021-07-20 10:14:56 -07:00
xtqqczze 71f62c7cf3
Fix IDisposable impl for CommandPathSearch (#15793) 2021-07-20 09:30:48 +05:00
xtqqczze e6d7254356
Delete IDE dispose analyzer rules (#15798)
The IDE dispose analyzer rules have been deleted from Roslyn:

eeba499ecf
ca3b279639
2021-07-20 09:26:48 +05:00
Steve Lee b5efe7bc39
Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406) 2021-07-20 09:02:52 +05:00
Aditya Patwardhan 31a4528302
Update to .NET 6 Preview 6 and use crossgen2 (#15763) 2021-07-19 16:06:39 -07:00
xtqqczze 883ca98dd7
Seal private classes (#15725)
* Seal private classes

* Fix CS0509

* Fix CS0628
2021-07-19 14:09:12 +05:00
William Easton 0e1160d20f
Add more tests for ConvertFrom-Json (#15706) 2021-07-16 16:01:47 -07:00