Commit Graph
9485 Commits
Author SHA1 Message Date
William Easton ec0dba4605 Remove pre-parse for array-based JSON (#15684) 2022-07-25 14:14:56 -07:00
MartinGC94 3d4e294262 Improve type inference for $_ (#17716) 2022-07-25 11:27:23 -07:00
Dmitry Volodin e8c66a3282 Use null-coalescing assignment in /remoting and /hostifaces (#17728) 2022-07-25 11:26:01 -07:00
Frode Flaten f1595c4b31 Fix test perf by stopping ongoing write-progress (#17749) 2022-07-25 11:19:10 -07:00
MartinGC94 8eb37cc44d Prevent braces from being removed when completing variables (#17751) 2022-07-25 11:17:26 -07:00
MartinGC94 5ccbb97ae3 Fix type inference for ICollection (#17752) 2022-07-25 11:15:19 -07:00
Dominik Kaszewski 89cc6d1297 Fix Test-Json not handling non-object types at root (#17741) 2022-07-25 22:43:48 +05:00
Dmitry Volodin dc2e682f3a Use null-coalescing assignment in /engine (#17720) 2022-07-25 22:11:29 +05:00
Dmitry Volodin 7af4679191 Use compound assignment in Microsoft.PowerShell.ConsoleHost/Security (#17723) 2022-07-25 22:08:57 +05:00
Dmitry Volodin 8f6b75826e Use compound assignment in /System.Management.Automation (#17724) 2022-07-25 22:07:33 +05:00
Dmitry Volodin 223c6b8905 Use compound assignment in /parser and /debugger (#17726) 2022-07-25 21:54:36 +05:00
Dmitry Volodin c6e3ba841b Use null-coalescing assignment in /System.Management.Automation.utils (#17725)
* Use compound assignment in /System.Management.Automation.utils

* Move comments to please style analyzer
2022-07-25 09:52:17 -07:00
Dmitry Volodin 8af18fa4ea Use compound assignment in /Microsoft.WSMan (#17721) 2022-07-25 21:37:32 +05:00
Dmitry Volodin a468fb1f49 Use compound assignment in /Microsoft.Management (#17719) 2022-07-22 22:34:27 +05:00
Aditya Patwardhan bff54ba38d Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736) 2022-07-21 14:53:55 -07:00
Dongbo Wang 38bf778b37 Re-enable the test TestLoadNativeInMemoryAssembly (#17738) 2022-07-21 14:51:22 -07:00
Steve Lee 3efa28162e Change Get-ChildItem to treat trailing slash in path as indicating a directory when used with -Recurse (#17704) 2022-07-21 09:39:11 +05:00
James Truher [MSFT] 031fa93b4c Add find.exe to legacy argument binding behavior for Windows (#17715) 2022-07-20 14:47:50 -07:00
Ikko Ashimine 42d0e99286 Fix typo in ModuleCmdletBase.cs (#17714)
explictly -> explicitly
2022-07-20 10:17:53 +05:00
MartinGC94 76c713d7e6 Add completion for index expressions for dictionaries (#17619) 2022-07-20 03:56:35 +00:00
Frode Flaten 9ccaf107a0 Fix enum-ranges for ValidateRange in proxy commands (#17572) 2022-07-20 08:50:18 +05:00
Dongbo Wang 65b6f1abf0 Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709) 2022-07-20 08:30:38 +05:00
MartinGC94 84241c3c59 Fix parser exception in using statements with empty aliases (#16745) 2022-07-19 10:42:31 -07:00
Aditya Patwardhan b130db38dd Exclude ARM images from running in CI (#17713) 2022-07-19 10:35:50 -07:00
MartinGC94 618b348cdb Fix type completion for attribute tokens (#17484) 2022-07-19 09:08:10 -07:00
James Truher [MSFT] bfb59f1acf Do not always collapse space between parameter and value for native arguments. (#17708) 2022-07-18 17:51:51 -07:00
Keith Hill b6a619099b Fix #16929 do not show profile load time msg with new pwsh parameter (#17535)
* Fix #16929 do not show profile load time msg by default

This PR adds a new pwsh command line parameter to enable display of the
profile load time message.

* Switch to an opt-out paramater called -NoProfileLoadTime
2022-07-18 17:33:16 -07:00
Steve Lee b7c875b0f2 Remove PSNativePSPathResolution experimental feature (#17670) 2022-07-18 17:25:46 -07:00
Steve Lee 1437d85a44 Fix legacy ErrorView types to use $host.PrivateData colors (#17705) 2022-07-18 17:07:47 -07:00
MartinGC94 53adf5d5d4 Improve dynamic parameter tab completion (#17661) 2022-07-18 15:32:06 -07:00
Patrick Meinecke 56bab81fc7 Update README and metadata.json for next release (#17676) 2022-07-18 15:13:42 -07:00
MartinGC94 b06bcee10e Avoid binding positional parameters when completing parameter in front of value (#17693) 2022-07-18 14:28:04 -07:00
Steve Lee 08baf27b80 Render decimal numbers in a table using current culture (#17650) 2022-07-18 14:27:06 -07:00
Patrick Meinecke bcafe74c17 Fix SDK tests for release build (#17678) 2022-07-13 14:21:27 -07:00
Aditya Patwardhan 417d9315f9 Create test artifacts for windows arm64 (#17675) 2022-07-13 17:16:08 -04: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
Sergey Vasin 667ea982ce Fix comment in InternalCommands.cs (#17669) 2022-07-13 05:19:29 +00: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
Steve Lee 0295cc6d07 Remove potential ANSI escape sequences in strings before using in Out-GridView (#17664) 2022-07-12 09:41:57 -07:00
Bryan Berns ca0178a802 Add Milliseconds Parameter to New-TimeSpan (#17621) 2022-07-12 11:09:19 +05:00
github-actions[bot] 1ba6454054 Update to the latest NOTICES file (#17607) 2022-07-11 10:55:20 -07:00
Jordan Borean 9a9c7666e7 Set-AuthenticodeSignature hash default to SHA256 (#17560) 2022-07-07 17:33:12 +05:00
MartinGC94 81f492744d Fix tab completion regression (#17628) 2022-07-07 15:45:50 +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
Aditya Patwardhan 21ad3d77a4 Set the compound assignment preference to false (#17632) 2022-07-05 15:38:46 -07:00
MartinGC94 edac193cf0 Use discards for unused variables (#17620) 2022-07-05 14:26:51 -07:00
Aditya Patwardhan 03f3fbfc63 Update DotnetMetadata.json to start consuming .NET 7 Preview 6 builds (#17630) 2022-07-05 13:22:59 -07:00
James Truher [MSFT] c63957de27 Remove katacoda.com from doc as it now returns 404 (#17625) 2022-07-05 09:54:46 -07:00
Aditya Patwardhan b5277c0fb7 Install .NET 3.1 as it is required by the vPack task (#17600) 2022-06-28 12:45:47 -07:00
Dongbo Wang 3d7f7b586e Update to use PSReadLine v2.2.6 (#17595) 2022-06-28 12:00:11 -07:00