Commit graph

2271 commits

Author SHA1 Message Date
Steve Lee 6d7fbed02b
Suppress Write-Progress in ConsoleHost if output is redirected and fix tests (#14716) 2021-02-08 09:42:53 -08:00
Steve Lee c3fa70380c
Fix webcmdlets to properly construct URI from body when using -NoProxy (#14673) 2021-02-05 08:06:04 +05:00
dependabot-preview[bot] e3369e4c48
Bump XunitXml.TestLogger from 3.0.56 to 3.0.62 (#14702) 2021-02-04 17:54:18 -08:00
Dongbo Wang e803d3bc8d
Update the ICommandPredictor to provide more feedback and also make feedback easier to be corelated (#14649) 2021-02-04 15:34:17 -08:00
Brian Lalonde 61fea6c342
#4750 Fix Get-Date -UFormat %u behavior (#14549)
Corrects a behavior of %u in Get-Date -UFormat to match ISO 8601.
2021-02-04 08:10:31 +05:00
Steve Lee 8e7780860e
Reset color after writing Verbose, Debug, and Warning message (#14698) 2021-02-03 09:39:54 -08:00
Paul Higinbotham 0039807082
Fix using variable for nested foreach parallel calls (#14548) 2021-02-02 15:34:08 -08:00
Andrew 8e3c3e04f8
Cross-platform updates to DSC code in PowerShell (#13399) 2021-02-02 14:47:53 -08:00
dependabot-preview[bot] 2d2fb8d702
Bump XunitXml.TestLogger from 2.1.45 to 3.0.56 (#14682)
Bumps [XunitXml.TestLogger](https://github.com/spekt/xunit.testlogger) from 2.1.45 to 3.0.56.
- [Release notes](https://github.com/spekt/xunit.testlogger/releases)
- [Changelog](https://github.com/spekt/xunit.testlogger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spekt/xunit.testlogger/compare/v2.1.45...v3.0.56)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-01 15:01:45 -08:00
dependabot-preview[bot] b049017be2
Bump XunitXml.TestLogger from 2.1.26 to 2.1.45 (#14660)
Bumps [XunitXml.TestLogger](https://github.com/spekt/xunit.testlogger) from 2.1.26 to 2.1.45.
- [Release notes](https://github.com/spekt/xunit.testlogger/releases)
- [Commits](https://github.com/spekt/xunit.testlogger/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-25 10:59:48 -08:00
Dongbo Wang de782fdec6
Backport changes from the PowerShell v7.1.1 release (#14621)
* Backport changes from the PowerShell v7.1.1 release

* Update the .spelling file
2021-01-19 17:43:01 +05:00
MartinGC94 e26d7084e2
Improve completion of parameters for attributes (#14525) 2021-01-14 09:30:15 +05:00
Reece Dunham 4a09585fe7
Update markdown test tools (#14325)
* Update markdown test tools

* Update docs, retry flag

* Fix actual dead links

* Update links
2021-01-12 08:58:19 +05:00
Jake d3f7ba9f95
Write proper error messages for Get-Command ' ' (#13564) 2021-01-10 18:03:05 +05:00
Anam Navied f72c7fc948
Update ini component version in test package.json (#14454) 2020-12-28 12:42:02 -08:00
xtqqczze 9d4665f32f
Enable SA1003: Symbols should be spaced correctly (#14476)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1003.md
2020-12-23 21:21:26 +05:00
Steve Lee bc080921bf
Add support to $PSStyle for strikethrough and hyperlinks (#14461) 2020-12-19 11:54:51 +05:00
Ilya 10ef7f5161
Fix PSStyle blink codes (#14447) 2020-12-19 11:51:29 +05:00
Paul Higinbotham caff9011af
Disable libmi dependent tests for macOS. (#14446) 2020-12-16 17:35:35 -08:00
Travis Plunk 7c03ad61c1
Use one feed in each nuget.config in official builds (#14363)
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2020-12-14 14:16:55 -08:00
Francesco Saltori ea2da20a23
Get PowerShell version in PSVersionInfo using assembly attribute instead of FileVersionInfo (#14332) 2020-12-11 17:12:10 -08:00
Steve Lee a99ea2acd2
Enable ANSI formatting via $PSStyle and support suppressing ANSI output (#13758) 2020-12-11 10:33:57 -08:00
Joel Sallow (/u/ta11ow) 16e2b62d78
Ensure -PipelineVariable is set for all output from script cmdlets (#12766) 2020-12-10 12:12:34 -08:00
Ilya ba49eb225f
Optimize IEnumerable variant of replace operator (#14221) 2020-12-09 11:46:27 -08:00
Steve Lee 95ce0643c8
Add -SkipLimitCheck switch to Import-PowerShellDataFile (#13672) 2020-12-09 11:07:07 -08:00
xtqqczze aecada3e67
Enable CA1822: Mark private members as static (#13897) 2020-12-09 11:04:23 -08:00
Kyle H 909ca89be9
The -Stream parameter now works with directories (#13941) 2020-12-07 17:31:55 -08:00
dependabot-preview[bot] 18b50e80ef
Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3 (#14310)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.8.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-12-04 16:42:27 +05:00
xtqqczze db94377b3a
Enable SA1000: Keywords should be spaced correctly (#13973)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1000.md
2020-11-30 22:13:12 +05:00
xtqqczze c7bdb24ff3
Mark local variable as const (#13217)
RCS1118: Mark local variable as const https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1118.md
2020-11-24 20:06:16 +05:00
xtqqczze 358db74479
Enable CA1816: Dispose methods should call SuppressFinalize (#14074)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816
2020-11-24 09:29:15 +05:00
xtqqczze 83688be8a4
Enable SA1002: Semicolons should be spaced correctly (#14197)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1002.md
2020-11-21 19:30:59 +05:00
Travis Plunk 8cbbcb228a
Update markdown test packages with security fixes (#14145) 2020-11-20 12:27:06 -08:00
xtqqczze d92984106a
Enable SA1507: Code should not contain multiple blank lines in a row (#14136)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md
2020-11-20 16:17:45 +05:00
xtqqczze f14c76aab9
Enable SA1516: Elements should be separated by blank line (#14137)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md
2020-11-20 16:11:36 +05:00
xtqqczze 44a701fb51
Add StyleCop.Analyzers package (#13963)
* Add StyleCop.Analyzers with all rules disabled

* Downgrade to 1.2.0-beta.205

* Enable SA1518: Use line endings correctly at end of file

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md
2020-11-18 23:13:09 +05:00
James Truher [MSFT] 9ca6be1d63
Revert "Update hyperlink for DefaultPromptFunctionText (#13176)" (#14107) 2020-11-17 09:50:59 -08:00
xtqqczze 006fe4d2dd
Enable IDE0082: ConvertTypeOfToNameOf (#14042)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0082
2020-11-16 19:56:07 +05:00
xtqqczze e7232b89c9
Fix PriorityAttribute name (#14094)
Fix regression after #13496
2020-11-15 16:31:50 +05:00
Ilya d9090b4a49
Write better error message if config file is broken (#13496) 2020-11-13 17:22:26 -08:00
Christopher Yeleighton f13d27ba3e
Update hyperlink for DefaultPromptFunctionText (#13176) 2020-11-13 17:20:15 -08:00
Robert Holt c7781d157e
Reinstate Test-Connection tests (#13324) 2020-11-13 17:05:09 -08:00
dependabot-preview[bot] f2139dfa3b
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0 (#14020)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-13 08:50:33 +05:00
Aditya Patwardhan f4ac0935c5
Remove workarounds for .NET 5 RTM builds (#14038) 2020-11-11 14:53:33 -08:00
Travis Plunk 52e2b58d7f
Fixes to release pipeline for GA release (#14034) 2020-11-11 12:04:54 -08:00
Aditya Patwardhan a22e7ec2f3
Update README and metadata json for upcoming release (#14026) 2020-11-11 12:03:18 -08:00
xtqqczze bac51217d6
Enable CA1829: Use Length/Count property instead of Count() (#13925)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1829
2020-11-11 11:55:39 +05:00
xtqqczze 23deb41f49
Enable IDE0040: AddAccessibilityModifiers (#13962)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0040
2020-11-09 09:37:25 +05:00
xtqqczze 47c92090db
Enable CA1068: CancellationToken parameters must come last (#13867)
* Enable CA1068: CancellationToken parameters must come last
2020-11-05 09:08:28 +05:00
xtqqczze 1d7a93c2e0
Enable CA1825: Avoid zero-length array allocations (#13961) 2020-11-04 08:56:26 +05:00