Commit Graph
455 Commits
Author SHA1 Message Date
James Truher [MSFT] 059b9524aa WIP: Harden default command test. (#19416) 2023-04-06 23:24:44 +00: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
MartinGC94 25651ef6e9 Fix a crash in the type inference code (#19400) 2023-03-23 14:40:50 -07:00
CarloToso 69e9b439fd Fix codefactor if part 5 (#19286) 2023-03-16 22:02:42 +05:00
MartinGC94 39d48f9c62 Infer external application output as strings (#19193) 2023-03-14 11:24:43 -07:00
MartinGC94 0ae521b7b5 Improve type inference for Get-Random (#18972) 2023-03-13 15:44:38 -07:00
Aditya Patwardhan e95f7fb50f Test fixes for stabilizing tests (#19068) 2023-03-13 15:40:27 -07:00
Steve Lee 66a89826bb Fix PlainText output to correctly remove Reset VT sequence w/o number (#19283) 2023-03-07 14:18:16 -08:00
Dongbo Wang a26a8d97c1 Increase the timeout when waiting for the event log (#19264) 2023-03-02 12:54:13 -08:00
Steve Lee ec258e210f Fix ConciseView to handle custom ParserError error records (#19239) 2023-03-01 11:18:11 -08:00
Aditya Patwardhan 2d15e0c5b6 Update to .NET 8 preview 1 build (#19194) 2023-02-22 16:12:16 -08:00
Trey 91d8fb0367 Corrected some minor spelling mistakes (#19176) 2023-02-22 22:09:04 +05: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
James Truher [MSFT] 5f3100cd95 Change test so output does not include newline. (#19026) 2023-01-25 18:02:20 -08:00
xtqqczze 8e14d2d7aa Enable get-help pattern tests on Unix (#18855) 2023-01-10 08:10:03 +05:00
Steve Lee 27b5a0632d Add -ProgressAction common parameter (#18887) 2023-01-09 09:40:40 -08:00
MartinGC94 8f7c980ca3 Fix type inference for all scope vars (#18758) 2022-12-20 15:38:25 +05: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 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
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
MartinGC94 b5ffd043c5 Improve type inference of hashtable keys (#17907) 2022-11-07 17:10:03 -08:00
Aditya Patwardhan f4e68ad875 Skip output rendering tests on Windows Server 2012 R2 (#18382) 2022-10-29 21:10:03 +05:00
MartinGC94 ab7f206271 Fix type inference error for empty return statements (#18351) 2022-10-24 14:39:34 -07:00
Aditya Patwardhan 813d38875d Revert "Replace win7 runtime with win8 and remove APISets (#18304)" (#18322) 2022-10-18 16:48:07 -07:00
Aditya Patwardhan cc86f9ffd1 Replace win7 runtime with win8 and remove APISets (#18304) 2022-10-18 11:07:22 -07:00
James Truher [MSFT] 074aad6ea9 Add missing -Tag 'CI' to describe blocks. (#18316) 2022-10-17 15:27:24 -07:00
Steve Lee d5ed53eba2 Add CustomTableHeaderLabel formatting to differentiate table header labels that are not property names (#17346) 2022-10-03 15:05:11 -07:00
Steve Lee 918bb8c952 Make experimental feature PSExec stable (#18045) 2022-09-07 10:28:17 -07:00
Dominik Kaszewski 1ee2f0d7ee Fix Update-Help failing silently with implicit non-US culture. (#17780) 2022-08-09 15:51:32 -07:00
WJKM d75d3b6178 Add the ValidateNotNullOrWhiteSpace attribute (#17191) 2022-08-09 10:48:08 -07:00
MartinGC94 15dcf634e2 Improve enumeration of inferred types in pipeline (#17799) 2022-08-09 10:37:56 -07:00
github-actions[bot] b66a93f74e Update .NET SDK version from 7.0.100-preview.6.22352.1 to 7.0.100-preview.7.22377.5 (#17776) 2022-08-02 22:23:59 -07:00
Frode Flaten c072f5be92 Add test for LanguageMode using remoting (#17803) 2022-08-03 08:35:04 +05:00
Ilya 08e4596463 Move the type data definition of System.Security.AccessControl.ObjectSecurity to the Microsoft.PowerShell.Security module (#16355) 2022-07-25 21:16:52 -07:00
MartinGC94 3d4e294262 Improve type inference for $_ (#17716) 2022-07-25 11:27:23 -07:00
MartinGC94 5ccbb97ae3 Fix type inference for ICollection (#17752) 2022-07-25 11:15:19 -07:00
Frode Flaten 9ccaf107a0 Fix enum-ranges for ValidateRange in proxy commands (#17572) 2022-07-20 08:50:18 +05:00
Steve Lee ff0506d632 Change ConvertFrom-Json -AsHashtable to use ordered hashtable (#17405)
JSON typically has ordering to make it easier to read. Currently, a Hashtable does not preserve ordering so for complex JSON, the members are not where you would expect in terms of order. This change wraps OrderedDictionary into a OrderedHashtable that derives from Hashtable. This preserves existing compatibility with scripts that expect a Hashtable to be returned, but preserves the order of elements.
2022-07-13 09:23:03 +05:00
github-actions[bot] 17b23e3ebc Update .NET SDK version from 7.0.100-preview.5.22307.18 to 7.0.100-preview.6.22352.1 (#17634) 2022-07-06 17:35:59 -07:00
Eugene Samoylov 735096bcc1 Show optional parameters as such when displaying method definition and overloads (#13799)
* Extend `GetMethodInfoOverloadDefinition` to show optional parameters as such (#13728)

* Fix CodeFactor style issue

* Fix review issues

* Add tests for TabExpansion2 `ToolTip`

* Fix tooltip string splitting

* Fix tests

* Bring back the namespace
2022-06-27 12:21:25 -07:00
MartinGC94 4f6e574820 Improve type inference and completions (#16963) 2022-06-13 10:04:35 -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
Travis Plunk 4e6909e7b8 Make Assembly Load Native test work on a FX Dependent Linux Install (#17380)
* Make Assembly Load Native test work on a FX Dependent Linux Install

* Update Assembly.LoadNative.Tests.ps1
2022-06-06 13:06:38 -07:00
Paul Higinbotham a8d55851e0 Add the -ConfigurationFile command line parameter to pwsh to support local session configuration (#17447) 2022-06-06 12:12:53 -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
MartinGC94 e7f705adef Add type inference support for generic methods with type parameters (#16951) 2022-05-27 11:17:53 -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