Commit Graph
10046 Commits
Author SHA1 Message Date
Ikko Eltociear Ashimine 5d7b3fc453 Fix a typo in serialization.cs (#19598) 2023-05-02 09:41:27 -07:00
Olivia 05fbceb48c Fix New-Item to re-create Junction when -Force is specified (#18311) 2023-05-02 09:36:33 -07:00
xtqqczze c77c286d7a Remove PSv2CompletionCompleter as part of the PowerShell v2 code cleanup (#18337) 2023-05-01 22:00:07 -07:00
MartinGC94 5605b24b08 Improve Hashtable key completion for type constrained variable assignments, nested Hashtables and more (#17660) 2023-05-01 16:26:41 -07:00
Dominik Kaszewski ea68edc686 Set-Clipboard -AsOSC52 (#18222)
* Set remote clipboard using OSC52

* Fix codefactor comment

* Rename parameter from Using to As

* Rename alias
2023-05-01 14:53:31 -07:00
Jack CaseyandTravis Plunk 698742ea9f Test-Connection: Increase output detail when performing a tcp test (#11452)
* Added verbose TCP test logic

* Cleaned up output, removed source IP address

* Consolidated detailed output logic into ProcessConnectionByTCPPort()

* Updated existing tests with -Quiet switch

* Improved output formatting, changed logic to match

* Error handling and logic improvements

* Updated tests to match new output

* Updated logic, tcp tests now run once by default

* Moved TcpConnectionTestResult enum into TcpTestStatus class

* Removed unnecessary whitespace

* Wrapped TcpClient() in Using statement

* Appended missing period on comments

* Change TcpTestStatus to TcpPortStatus for better clarity

* Set default count back to 4

* Move stopwatch reset into finally block

* Change TcpConnectionTestResult.New to TcpConnectionTestResult.None

* Formatting fixes

* Increase column size for Result output

* Update logic for -quiet option

* Change "TestNum" property to "Id"

* Change Destination and DestinationAddress to Target and TargetAddress in TcpPortStatus

* Implement new form of using declaration

* Fix indentation

* Update output, improve logic and update tests

* Add CancellationToken to allow cancel before timeout

* Assign testResult.Connected to client.Connected

* Move TcpPortStatus object creation to after connection test

* Remove delay from final connection test in loop

* Move Count logic from ProcessConnectionByTCPPort into own function

* Fix small formatting error

* Add handling for TaskCanceledException

* Remove redundant CancellationToken getter

* Clean up handling of SocketException

* Increase readability of final loop check

* Remove unnecessary TimeSpan invocation

* Rename cancellationTokenSource to match convention

* Move SetCountForTcpTest() into BeginProcessing()

* Added nameof to Count check

* Removed explicit type declaration for TcpClient

* Move delay and timeout evaluation out of the cycle

* Remove redundant CancellationTokenSource

* Initialize detailed SwitchParameter

* Add check for Detailed parameter

* Remove redundant tests for non-detailed output

* Add return after first boolean output

* Update tests with new detailed parameter set

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2023-05-01 14:16:11 -07:00
Travis PlunkandDongbo Wang a63487950f Add prompt to fix conflict during backport (#19583)
* Add prompt to fix conflicts

* Add function to backport all approved PRs

* Update tools/releaseTools.psm1

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>

* Update tools/releaseTools.psm1

---------

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2023-05-01 12:14:23 -07:00
xtqqczze 31bc65ef65 Refactor MUIFileSearcher.AddFiles in the help related code (#18825) 2023-05-01 11:43:04 -07:00
Aditya Patwardhan 72c81b820a Set SetLastError to true for symbolic and hard link native APIs (#19566) 2023-05-01 10:56:16 -07:00
PowerShell Team Bot 561365e67c Update the experimental-feature JSON files (#19588) 2023-05-01 10:53:28 -07:00
Patrick Meinecke 2424ad83aa Support byte stream piping between native commands and file redirection (#17857) 2023-04-27 17:17:32 -07:00
Andy Jordan 6e34b1b7ac Add Git mailmap for Andy Jordan (#19469)
This makes Git transparently remap commits under my prior name and email
to my new name and Microsoft email.
2023-04-26 11:33:28 -07:00
Travis Plunk cbe18db47b Add backport function to release tools (#19568)
* Add backport function

* delete backport action
2023-04-26 09:47:53 -07:00
Jordan Borean 93e9c63331 Fix Get-AuthenticodeSignature -Content to not roundtrip the bytes to a Unicode string and then back to bytes (#18774) 2023-04-25 12:11:04 -07:00
Aditya Patwardhan cf6fc53c9f Fix test failures on Windows for time zone and remoting (#19466) 2023-04-25 11:06:34 -07:00
CarloToso 543b20b4ed Enable more nullable annotations in WebCmdlets (#19359) 2023-04-24 08:38:30 +05:00
Steve Lee 3547acaa1c Add comment in wix detailing use of UseMU (#19371)
* remove `UseMU` reg value on uninstall of MSI

* change to a comment
2023-04-21 11:54:20 -07:00
Travis Plunk 232b6b1273 Verify that packages have license data (#19543) 2023-04-21 11:50:49 -07:00
Dongbo Wang b4f2e3ad8c Add an explicit manual stage for changelog update (#19551) 2023-04-20 17:34:32 -07:00
James Truher [MSFT] a7898d2886 Harden 'All approved Cmdlets present' test (#19530) 2023-04-20 16:14:09 -07:00
Dongbo Wang dadcf06565 Update the team member list in releaseTools.psm1 (#19544) 2023-04-20 15:56:31 -07:00
PowerShell Team Bot 4141592e4f Update to the latest NOTICES file (#19546) 2023-04-20 14:19:00 -07:00
Dongbo Wang 4064754008 Merge the release branch of the pre-release v7.4.0-preview.3 to master 2023-04-20 11:54:22 -07:00
Dongbo Wang 72e4732874 Update README.md and metadata.json for release v7.4.0-preview.3 (#19542) 2023-04-20 11:28:19 -07:00
stevenebutler 319c9faf57 Improve reliability of the Ctrl+c tests for WebCmdlets (#19532) 2023-04-20 09:40:01 -07:00
Dongbo Wang 2f8b74c45b Merged PR 25453: Update changelog for the v7.4.0-preview.3 release
Update changelog for the v7.4.0-preview.3 release
v7.4.0-preview.3
2023-04-19 23:39:32 +00:00
PowerShell Team Bot e0eb5ca407 Update to the latest NOTICES file (#19537) 2023-04-19 22:24:11 +00:00
Steve Lee 5e96ed3822 Change the arrow used in feedback suggestion to a more common Unicode character (#19534) 2023-04-18 17:15:51 -07:00
Dongbo Wang 457606af94 Support trigger registration in feedback provider (#19525) 2023-04-18 17:15:09 -07:00
PowerShell Team Bot d028da3e03 Update the cgmanifest (#19465) 2023-04-18 15:40:13 -07:00
PowerShell Team Bot e1b392b6ff Update .NET SDK version from 8.0.100-preview.2.23157.25 to 8.0.100-preview.3.23178.7 (#19381) 2023-04-18 15:24:51 -07:00
Travis Plunk e05a09734f Force updating the transitive dependency on Microsoft.CSharp (#19514) 2023-04-18 12:07:46 -07:00
Dongbo Wang 236c652162 Update DotnetRuntimeMetadata.json to consume the .NET 8.0.0-preview.3 release (#19529) 2023-04-18 10:58:49 -07:00
Travis Plunk 6e7c29a104 Move PSGallery sync to a pool (#19523) 2023-04-17 10:45:00 -07:00
Dongbo Wang 420c29d12c Fix the regex used for package name check in vPack build (#19511) 2023-04-14 10:45:10 -07:00
Travis Plunk bce0ccb070 Make the vPack PAT library more obvious (#19505) 2023-04-14 09:50:15 -07:00
Dongbo Wang 8d4cc7b984 Update changelogs for the v7.2.11 and v7.3.4 releases (#19504) 2023-04-13 14:27:15 -07:00
Dongbo Wang a8f20a36e0 Update README.md and metadata.json for release v7.2.11 and v7.3.4 (#19497) 2023-04-13 14:26:25 -07:00
Dongbo Wang 8ed8b52700 Fix a race condition in Add-Type (#19471) 2023-04-12 21:41:43 -07:00
Ikko Eltociear Ashimine af2f2f454e Fix typo in Compiler.cs (#19491)
inital -> initial
2023-04-12 09:51:22 +05:00
CarloToso 3dd943d212 Detect insecure https-to-http redirect only if both URIs are absolute (#19468) 2023-04-12 00:56:24 +00:00
Darren Kattan 9d036c4876 Revert "Bump Microsoft.CodeAnalysis.CSharp from 4.5.0 to 4.6.0-2.23152.6" (#19464) 2023-04-11 00:24:42 +00:00
James Truher [MSFT] 059b9524aa WIP: Harden default command test. (#19416) 2023-04-06 23:24:44 +00:00
PowerShell Team Bot 0ddb187e61 Update the cgmanifest (#19459) 2023-04-05 14:40:57 -07:00
PowerShell Team Bot 6530133c27 Update to the latest NOTICES file (#19332) 2023-04-05 14:06:07 -07:00
stevenebutler 17fb783736 Support CTRL-C when reading data and connection hangs for Invoke-RestMethod and Invoke-WebRequest (#19330) 2023-04-03 23:08:35 +00:00
Steve Lee 7c0fe762a9 Remove code related to #requires -pssnapin (#19320) 2023-04-03 14:56:40 -07:00
Steve Lee 04b93af4ae Enable type conversion of AutomationNull to $null for assignment (#19415) 2023-04-03 09:36:36 -07:00
Dongbo Wang 51f55f716e Update the ICommandPredictor interface to reduce boilerplate code from predictor implementation (#19414) 2023-03-29 11:27:04 -07:00
Aditya Patwardhan 5a22587792 Skip VT100 tests on Windows Server 2012R2 as console does not support it (#19413) 2023-03-27 17:36:41 -07:00