Commit Graph
2618 Commits
Author SHA1 Message Date
CarloToso dd406b512a Add ValidateNotNullOrEmpty to OutFile and InFile parameters of WebCmdlets (#19044) 2023-02-01 21:45:09 +05:00
dependabot[bot] 3622ee53b4 Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 (#18823)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.0...v17.4.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  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>
2023-01-31 12:22:48 -08:00
Travis PlunkandAditya Patwardhan b2c4888ebb Add Windows ARM64 CI (#19040)
* Add CI for win-arm64

* Add common function to test for windows arm64

* Update because string where items need investigation

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2023-01-31 12:06:29 -08:00
dependabot[bot] 337c865dd3 Bump XunitXml.TestLogger from 3.0.70 to 3.0.78 (#19066)
Bumps [XunitXml.TestLogger](https://github.com/spekt/xunit.testlogger) from 3.0.70 to 3.0.78.
- [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/v3.0.70...v3.0.78)

---
updated-dependencies:
- dependency-name: XunitXml.TestLogger
  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>
2023-01-31 11:31:44 -08:00
Aditya Patwardhan f8cbf90ccb Fix progress calculation divide by zero in Copy-Item (#19038) 2023-01-27 10:03:19 -08:00
James Truher [MSFT] 5f3100cd95 Change test so output does not include newline. (#19026) 2023-01-25 18:02:20 -08:00
Dongbo Wang b195088c5a Revert some of the interpolated string changes (#19018) 2023-01-25 09:46:47 -08:00
Steve Lee 1c27a0ceac Add progress to Copy-Item (#18735) 2023-01-25 16:34:44 +05:00
spaette 44f2792a36 Fix typo in dotnet-tools/README.md (#19021) 2023-01-25 09:09:54 +05:00
CarloToso 0ee317a157 Use interpolated strings 3 (#18979) 2023-01-21 17:56:57 +05:00
xtqqczze 1d34ad8b65 Bump BenchmarkDotNet to 0.13.3 (#18878) 2023-01-13 16:45:05 -08:00
CarloToso 282fc5fc08 Fix bug with managing redirection and keepAuthorization in Web cmdlets (#18902) 2023-01-13 18:31:03 +05:00
Steve Lee 2baeb1a7f0 Fix Get-Error to work with strict mode (#18895) 2023-01-13 18:00:20 +05:00
CarloToso f018beedff Add tests for Allowinsecureredirect parameter in Web cmdlets (#18939) 2023-01-13 17:37:55 +05:00
CarloToso 465165fd97 Invoke-RestMethod -FollowRelLink fix links containing commas (#18829) 2023-01-11 21:39:04 +05:00
xtqqczze 8e14d2d7aa Enable get-help pattern tests on Unix (#18855) 2023-01-10 08:10:03 +05:00
CarloToso 31af38c22a Create test to check if WebCmdlets decompress brotli-encoded data (#18905) 2023-01-10 08:07:00 +05:00
MartinGC94 232384ce7f Prioritize the default parameter set when completing positional arguments (#18755) 2023-01-09 10:30:42 -08:00
Steve Lee 27b5a0632d Add -ProgressAction common parameter (#18887) 2023-01-09 09:40:40 -08:00
Steve LeeandIlya 9ea887f626 Add -CommandWithArgs parameter to pwsh (#18726)
* Add `-CommandWithArgs` parameter to pwsh

* Update src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs

Co-authored-by: Ilya <darpa@yandex.ru>

* address Ilya and Mikey's comments

* reset i

Co-authored-by: Ilya <darpa@yandex.ru>
2023-01-05 15:21:35 -08:00
Dongbo Wang eb31d32724 Enable creating composite subsystem implementation in modules (#18888) 2023-01-05 09:51:45 -08:00
Steve Lee f04940b76c Fix Format-Table -RepeatHeader for property derived tables (#18870) 2022-12-31 12:00:00 +05:00
MartinGC94 8f7c980ca3 Fix type inference for all scope vars (#18758) 2022-12-20 15:38:25 +05:00
MartinGC94 9a7db33ee0 Add completion for Using keywords (#16514) 2022-12-20 13:26:43 +05:00
Aditya Patwardhan 2b38f80855 Update the release tag in metadata.json for next preview (#18799) 2022-12-15 10:43:55 -08:00
Aditya Patwardhan de416dc831 Bump .NET SDK to version 7.0.101 (#18786) 2022-12-14 10:55:17 -08:00
Steve Lee eb9ca7c351 Fix New-Item -ItemType Hardlink to resolve target to absolute path and not allow link to itself (#18634) 2022-12-13 22:09:28 +05:00
Ilya e7c68af8bb Enable pending test for Start-Process (#18724) 2022-12-12 11:26:27 -08:00
Dongbo Wang 061947969d Allow non-default encodings to be used in user's script/code (#18605) 2022-12-07 10:16:06 +05:00
Dongbo Wang bd6edfdd9c Add testexe.exe -echocmdline to output raw command line received by the process on Windows (#18591) 2022-12-06 10:31:54 -08:00
dependabot[bot] 4c580f7330 Bump decode-uri-component from 0.2.0 to 0.2.2 (#18712) 2022-12-02 10:44:29 -08:00
Jordan Borean 6fa7260db9 Fix the process CommandLine on Linux (#18710) 2022-12-02 10:23:00 -08:00
Dongbo Wang ae3c3169ee Fix SuspiciousContentChecker.Match to detect a pre-defined string when the text starts with it (#18693) 2022-12-01 22:26:43 -08:00
Steve Lee 8ff6a06f97 Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled (#18695) 2022-12-01 16:13:42 -08:00
Steve Lee 52ea419662 Add Dim and DimOff to $PSStyle (#18653) 2022-11-29 16:13:59 -08:00
Dongbo Wang d03a5553c2 Fix Start-Job to check the existence of working directory using the PowerShell way (#18675)
* Fix `Start-Job` to check the existence of working directory using the PowerShell way

* Add a test

* Update

* Fix the test
2022-11-29 08:41:12 -08:00
Ilya 8bc9fdb2a1 Replace DllImport with LibraryImport in SMA 2 (#18543) 2022-11-22 22:22:14 +05:00
Steve Lee 9ae18ab0d1 Change exec from alias to function to handle arbitrary arguments (#18567) 2022-11-17 12:14:27 -08:00
Steve Lee 4f19c05547 Ensure HelpInfo.Category is consistently a string (#18254) 2022-11-15 17:57:03 -08:00
dependabot[bot] d32de82c32 Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 (#18487) 2022-11-14 11:26:31 -08:00
dependabot[bot] 2494fe881b Bump minimatch from 3.0.4 to 3.1.2 (#18514) 2022-11-14 11:21:33 -08:00
Travis Plunk 9c55989a2e Mark charset test as pending (#18511) 2022-11-09 23:04:21 +00:00
Travis Plunk 665bf21fcb Bump to use internal .NET 7 GA build (#18508) 2022-11-09 22:51:24 +00:00
MartinGC94 0a6de4672a Fix issue when completing the first command in a script with an empty array expression (#18355) 2022-11-07 17:14:49 -08:00
MartinGC94 b5ffd043c5 Improve type inference of hashtable keys (#17907) 2022-11-07 17:10:03 -08:00
Steve Lee 0ddf89e5a8 Fix Switch-Process to copy the current env to the new process (#18452) 2022-11-07 11:03:37 -08:00
Steve Lee 52a62e9ef2 Fix Switch-Process error to include the command that is not found (#18443) 2022-11-03 07:54:11 +05:00
CarloToso 489e316151 Webcmdlets set default charset encoding to UTF8 (#18219) 2022-11-02 22:34:09 +05:00
Aditya Patwardhan f4e68ad875 Skip output rendering tests on Windows Server 2012 R2 (#18382) 2022-10-29 21:10:03 +05:00
Dongbo Wang 4936a566b0 Increase timeout to make subsystem tests more reliable (#18380) 2022-10-25 16:01:30 -07:00