Commit Graph
100 Commits
Author SHA1 Message Date
Dongbo Wang bd2f47c1ee Merge the v7.4.0-preview.2 release branch to master 2023-03-15 14:26:41 -07:00
Dongbo Wang 5acc664666 Increase the timeout for creating the WebListener (#19268) 2023-03-03 09:40:34 -08:00
Dongbo Wang 87078a7c77 Remove the 'Code Coverage Status' badge (#19265) 2023-03-02 13:23:26 -08:00
Dongbo Wang a26a8d97c1 Increase the timeout when waiting for the event log (#19264) 2023-03-02 12:54:13 -08:00
Dongbo Wang 3cdd1fa6ef Revert "Use ArgumentNullException.ThrowIfNull part 2 (#19258)" (#19263)
This reverts commit 8d8f45e3df.
2023-03-02 12:00:23 -08:00
Dongbo Wang 25f7bbc9c2 Add '-Force' to Move-Item to fix the GitHub workflow (#19262) 2023-03-02 19:58:42 +00:00
Dongbo Wang 118db90626 Update and remove outdated docs to fix the URL link checks (#19261) 2023-03-02 18:56:24 +00:00
Dongbo Wang 79b4b5c33f Update the FeedbackProvider interface to return structured data (#19133) 2023-02-22 16:01:18 -08:00
Dongbo Wang 77fcd471bb Revert a few change to not use 'ArgumentNullException.ThrowIfNull' (#19151) 2023-02-22 13:31:14 -08:00
Dongbo Wang a66a812ca8 Fix a typo in pwsh help content (#19153) 2023-02-14 16:42:51 -08:00
Dongbo Wang ef0af95845 Make the exception error in PowerShell able to associate with the right history entry (#19095) 2023-02-08 10:18:32 -08:00
Dongbo Wang 4756506d22 Fix error formatting to remove the unneeded leading newline for concise view (#19080) 2023-02-08 09:54:08 -08:00
Dongbo Wang bfef3a4814 Update CodeQL build agent (#19113) 2023-02-07 20:13:54 +00:00
Dongbo Wang 3a17d0230f Update additional interpolated string changes (#19029) 2023-01-25 13:39:21 -08:00
Dongbo Wang b195088c5a Revert some of the interpolated string changes (#19018) 2023-01-25 09:46:47 -08:00
Dongbo Wang eb31d32724 Enable creating composite subsystem implementation in modules (#18888) 2023-01-05 09:51:45 -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
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
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
Dongbo Wang c0da3c42f2 Build COM adapter only on Windows (#18590) 2022-11-18 13:00:07 +05:00
Dongbo Wang b3a9ae371c Remove gcloud from the legacy list because it's resolved to a .ps1 script (#18575) 2022-11-15 17:53:01 -08:00
Dongbo Wang 18093283ed Avoid depending on the pre-generated experimental feature list in private and CI builds (#18484) 2022-11-09 17:26:53 -08:00
Dongbo Wang db21524d23 Add missing XML doc elements for methods in RunspaceFactory (#18450) 2022-11-03 11:44:46 -07:00
Dongbo Wang f2e0640dd7 Update Out-Printer to remove all decorating ANSI escape sequences from PowerShell formatting (#18425) 2022-11-02 15:42:45 -07:00
Dongbo Wang 8b82fa3597 Avoid using regex when unnecessary in ScriptWriter (#18348) 2022-10-26 09:50:26 -07:00
Dongbo Wang 4936a566b0 Increase timeout to make subsystem tests more reliable (#18380) 2022-10-25 16:01:30 -07:00
Dongbo Wang 53c3690c2a Replace command-error suggestion with new implementation based on subsystem plugin (#18252) 2022-10-24 11:59:32 -07:00
Dongbo Wang 01948aedb6 Remove the ProcessorArchitecture portion from the full name as it's obsolete (#18320) 2022-10-18 11:52:06 -07:00
Dongbo Wang bc1f3691f2 Make the fuzzy searching flexible by passing in the fuzzy matcher (#18270) 2022-10-17 16:40:54 -07:00
Dongbo Wang dd40b59f14 Remove ETW trace collection and uploading for CLR CAP (#18253) 2022-10-11 10:24:58 -07:00
Dongbo Wang 80d2fb7e47 Some more code cleanup related to the use of PSVersionInfo (#18231) 2022-10-11 10:24:31 -07:00
Dongbo Wang bcde806724 Skip evaluating suggestions at startup (#18232) 2022-10-07 23:07:56 +05:00
Dongbo Wang 7073525059 Avoid using Regex when not necessary (#18210) 2022-10-06 15:26:22 -07:00
Dongbo Wang 67a3830fec Remove XML files for min-size package (#18189) 2022-10-04 10:17:48 -07:00
Dongbo Wang 0e4358cf93 Improve startup time by triggering initialization of additional types on background thread (#18195) 2022-10-04 10:17:09 -07:00
Dongbo Wang a7a49290a8 Remove the extra new line form List formatting (#18185) 2022-09-30 15:47:51 -07:00
Dongbo Wang 618d1a7c78 Minor update to the FileInfo table formatting on Unix to make it more concise (#18183) 2022-09-29 16:22:53 -07:00
Dongbo Wang 6e00e8a356 Fix the verbose message when using dotnet-install.sh (#18184) 2022-09-28 21:30:43 -07:00
Dongbo Wang 79b8140199 Make PowerShell class not affiliate with Runspace when declaring the NoRunspaceAffinity attribute (#18138) 2022-09-22 10:49:08 -07:00
Dongbo Wang c978d467ab Complete the progress bar rendering in Invoke-WebRequest when downloading is complete or cancelled (#18130) 2022-09-21 10:42:39 -07:00
Dongbo Wang 3b51fe4587 Update the change log for v7.3.0-preview.8 (#18136) 2022-09-20 14:11:29 -07:00
Dongbo Wang 100e374c71 Update metadata.json and README.md for v7.3.0-preview.8 release (#18128) 2022-09-20 12:57:11 -07:00
Dongbo Wang 1847e86b9a Update WriteConsole to not use stackalloc for buffer with too large size (#18084) 2022-09-16 22:11:54 +05:00
Dongbo Wang 1a82574743 Treat [NullString]::Value as the string type when resolving methods (#18080) 2022-09-15 17:35:56 -07:00
Dongbo Wang f56c4ea9ef Re-enable building with Ready-to-Run (#18105) 2022-09-15 16:17:23 -07:00
Dongbo Wang d0a91470c9 Filter out compiler generated types for Add-Type -PassThru (#18095) 2022-09-15 13:34:09 -07:00
Dongbo Wang 3fbd90a4b0 Handle PSObject argument specially in method invocation logging (#18060) 2022-09-12 09:15:14 -07:00
Dongbo Wang 647f40bb4a Fix error formatting to use color defined in $PSStyle.Formatting (#17987) 2022-08-31 09:36:14 -07:00
Dongbo Wang 543f5209c0 Support mapping foreground/background ConsoleColor values to VT escape sequences (#17938) 2022-08-24 23:11:18 +05:00
Dongbo Wang d02c59addc Update help content about the PowerShell flag -NonInteractive (#17952) 2022-08-23 10:48:04 -07:00
Dongbo Wang 158d3a64e9 Make sure Security.types.ps1xml gets signed in release build (#17916) 2022-08-18 11:12:58 -07:00
Dongbo Wang 2c9c97ac86 Do not preserve temporary results when no need to do so (#17856) 2022-08-10 09:36:33 -07:00
Dongbo Wang 78757fa7fd Update the comment about why R2R is disabled (#17850) 2022-08-04 11:26:34 -07:00
Dongbo Wang 471d9cda41 Remove unneeded verbose message in build (#17840) 2022-08-03 21:35:18 -07:00
Dongbo Wang c2323db4a0 Re-enable tests because the corresponding dotnet issues were fixed (#17839) 2022-08-03 21:34:03 -07:00
Dongbo Wang e7f90f0aa7 Fix other path constructions using Path.Join (#17825) 2022-08-03 11:06:01 +05:00
Dongbo Wang 2051c5f72b Stop referencing Microsoft.PowerShell.Security when the core snapin is used (#17771) 2022-08-01 10:10:59 -07:00
Dongbo Wang 5f4ac678e3 Updated ADOPTERS.md for Power BI (#17766) 2022-07-25 16:26:14 -07:00
Dongbo Wang 38bf778b37 Re-enable the test TestLoadNativeInMemoryAssembly (#17738) 2022-07-21 14:51:22 -07:00
Dongbo Wang 65b6f1abf0 Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709) 2022-07-20 08:30:38 +05:00
Dongbo Wang f9d424dd86 Fix Export-PSSession to not throw error when a rooted path is specified for -OutputModule (#17671) 2022-07-13 13:31:57 -07:00
Dongbo Wang 3d7f7b586e Update to use PSReadLine v2.2.6 (#17595) 2022-06-28 12:00:11 -07:00
Dongbo Wang 17e4db9b1b Make Out-String and Out-File keep string input unchanged (#17455) 2022-06-08 18:13:40 -07:00
Dongbo Wang 6a522d9c68 Make AnsiRegex able to capture Hyperlink ansi sequences (#17442)
* Add the hyperlink ansi regex

* Add test

* Add comment
2022-06-08 10:35:07 -07:00
Dongbo Wang 12de67ca5d Fix formatting to act appropriately when the style of table header or list label is empty string (#17463) 2022-06-02 09:20:32 -07:00
Dongbo Wang 0882737efb Write out OSC indicator only if the stdout is not redirected (#17419) 2022-05-25 14:29:47 -07:00
Dongbo Wang 736cf3ecbf Remove the assert and use a relatively larger capacity to cover possible increase of .NET reference assemblies (#17423) 2022-05-24 11:14:39 -07:00
Dongbo Wang 8cb7e35ccf Increase reference assembly count to 161 (#17420) 2022-05-23 22:35:27 -07:00
Dongbo Wang f9008245f5 Make sure verbose message is not null (#17363) 2022-05-17 13:43:35 -07:00
Dongbo Wang 391e0806ec Redo the change that was reverted by #15853 (#17357) 2022-05-17 09:51:42 -07:00
Dongbo Wang c40066d5f2 Fix the word wrapping in formatting to handle escape sequences properly (#17316) 2022-05-16 16:10:55 -07:00
Dongbo Wang 41c7cd79da Fix the error message in Hashtable-to-object conversion (#17329) 2022-05-16 14:55:00 -07:00
Dongbo Wang 514d6f62e0 Fix build.psm1 to find the required .NET SDK version when a higher version is installed (#17299) 2022-05-11 09:49:43 -07:00
Dongbo Wang 44098e771a Fix the list view to not leak VT decorations (#17262) 2022-05-10 16:05:14 -07:00
Dongbo Wang ea0ab84eb2 Reduce unneeded verbose message from build.psm1 (#17291) 2022-05-09 17:51:07 -07:00
Dongbo Wang 4c6c4f30af Fix formatting truncation to handle strings with VT sequences (#17251) 2022-05-06 11:40:34 -07:00
Dongbo Wang 8cfb727a0c Update engine working group members (#17271) 2022-05-05 14:58:47 -07:00
Dongbo Wang 36fcec3bdd Fix ForEach method to set property on a scalar object (#17213) 2022-05-02 10:07:12 -07:00
Dongbo Wang b898da8842 Make a variable assignment in a ParenExpression to return the variable value (#17174) 2022-04-22 10:55:38 -07:00
Dongbo Wang 7cc9c87473 Do not generate clean block in proxy function when the feature is disabled (#17112) 2022-04-05 12:00:41 -07:00
Dongbo Wang 93a0f9b8dc Fix the version of the Microsoft.CodeAnalysis.NetAnalyzers package (#17075) 2022-03-28 11:12:21 -07:00
Dongbo Wang fe11ba48b5 Re-enable PowerShellGet tests targeting PowerShell gallery (#17062) 2022-03-25 15:10:43 -07:00
Dongbo Wang 1ff71d1f76 Merge the release branch release/v7.3.0-preview.3 into master 2022-03-21 16:23:20 -07:00
Dongbo Wang 63e8d57a67 Update README.md and metadata.json for v7.3.0-preview.3 release (#17029) 2022-03-21 15:57:29 -07:00
Dongbo Wang 79559df0da Merged PR 19678: Update change log for v7.3.0-preview.3 release
Update change log for v7.3.0-preview.3 release
2022-03-21 21:07:57 +00:00
Dongbo Wang 8ad642013a Remove EventLogLogProvider and its related legacy code (#17027) 2022-03-19 12:04:15 +05:00
Dongbo Wang b46ac16e09 Update docs for the v7.2.2 release (#16979) 2022-03-16 15:57:31 -07:00
Dongbo Wang 8d0830133a Update AzureFileCopy task and fix the syntax for specifying pool (#17013) 2022-03-16 15:55:27 -07:00
Dongbo Wang 25bc64f4b0 Allow a collection that contains Automation.Null elements to be piped to pipeline (#16957) 2022-03-04 16:16:28 -08:00
Dongbo Wang a3c4a163ff Allow the PSGetMemberBinder to get value of ByRef property (#16956) 2022-03-04 15:01:18 -08:00
Dongbo Wang 102782fbb0 Fix the parsing code for method generic arguments (#16937) 2022-03-03 09:21:21 -08:00
Dongbo Wang 9b2d97e3e2 Update a few tests to make them more stable in CI (#16944) 2022-03-02 17:39:30 -08:00
Dongbo Wang e1f52dda77 Refactor module assembly loading logic to allow the whole module to be loaded in a custom ALC (#16889) 2022-02-23 15:01:12 -08:00
Dongbo Wang 102e8285bb Bump PSReadLine from 2.1.0 to 2.2.2 (#16910) 2022-02-23 11:36:46 -08:00
Dongbo Wang 30eac0a11e Update to use windows-latest as the build agent image (#16831) 2022-02-07 17:34:52 -08:00
Dongbo Wang 35ad64e11b Add a couple fixes to generic method invocation (#16822) 2022-02-03 11:58:02 -08:00
Dongbo Wang bbb11dd07a Fix the clean block for generated proxy function (#16827) 2022-02-03 11:39:08 -08:00
Dongbo Wang 47b4aa577c Update markdownlint to the latest version (#16825) 2022-02-01 16:09:58 -08:00
Dongbo Wang ee9097602d Update Engine Working Group members (#16780) 2022-01-20 12:28:41 -08:00