Jordan Borean
135e94d6cb
Migrate WinTrust functions to a common location ( #17598 )
2022-08-08 15:49:29 -07:00
David Bar-On
55c5e789bd
Fix for deserializing imported ordered dictionary ( #15545 )
2022-08-08 23:29:45 +05:00
Dongbo Wang
e7f90f0aa7
Fix other path constructions using Path.Join ( #17825 )
2022-08-03 11:06:01 +05: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
Steve Lee
51b2ac40d5
Enable searching for assemblies in GAC_Arm64 on Windows ( #17816 )
2022-08-03 08:03:13 +05:00
Steve Lee
9213b77659
Allow commands to still be executed even if the current working directory no longer exists ( #17579 )
2022-08-01 21:43:54 -07:00
Dongbo Wang
2051c5f72b
Stop referencing Microsoft.PowerShell.Security when the core snapin is used ( #17771 )
2022-08-01 10:10:59 -07:00
Ryan Hutchison and Travis Plunk
f2204a08b8
Authenticode https fix issue #12827 ( #16134 )
...
* Added https:// as valid prefix for TSA url
* fixed typo
* Format matching
* Added proper logic
* Appended https to error message
* Update src/System.Management.Automation/security/Authenticode.cs
I agree.
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2022-08-01 09:57:03 -07:00
Frode Flaten
7c624902e1
Use null propagation operator in remoting code ( #17790 )
2022-08-01 09:21:16 -07:00
Frode Flaten
d204d29035
Use null propagation operator in System.Management.Automation ( #17792 )
2022-08-01 09:20:09 -07:00
Frode Flaten
0d52375adc
Add type accelerator ordered for OrderedDictionary ( #17804 )
2022-08-01 09:15:14 -07:00
Dmitry Volodin
7f69d74e4a
Reenable compound assignment preference ( #17784 )
2022-07-31 17:57:49 +05:00
Frode Flaten
5f4e100456
Use null propagation operator for windows build ( #17795 )
...
* Use null propagation in CimCmdlets
* Use null propagation in Diagnostics and Management
* ignore IDE0031 rule in ConsoleHost
* Use null propagation in WSMan.Management
* Use null propagation in SMA
* ignore IDE0031 for securityDescHandle
* cleanup after review
2022-07-29 10:34:09 -07:00
Frode Flaten
4b4f1d144f
Use null propagation operator in /engine ( #17789 )
2022-07-29 09:06:07 +05:00
Dmitry Volodin
1779175935
Use null-coalescing assignment in the rest of /engine ( #17729 )
2022-07-26 12:31:14 -07: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
Dmitry Volodin
9fe96f3c20
Use compound assignment in /interpreter and /runtime ( #17727 )
2022-07-25 16:55:56 -07:00
Steve Lee
d72cedd70b
Fix FileSystemProvider to work with volume and pipe paths ( #15873 )
2022-07-25 22:07:26 +00: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
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
Dmitry Volodin
dc2e682f3a
Use null-coalescing assignment in /engine ( #17720 )
2022-07-25 22:11:29 +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
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
MartinGC94
84241c3c59
Fix parser exception in using statements with empty aliases ( #16745 )
2022-07-19 10:42:31 -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
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
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
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
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
MartinGC94
edac193cf0
Use discards for unused variables ( #17620 )
2022-07-05 14:26:51 -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
Ikko Ashimine
3963e5b15b
Fix typo in CommonCommandParameters.cs ( #17524 )
2022-06-14 17:39:07 +00:00
github-actions[bot]
cfc237ac85
Update .NET SDK version from 7.0.100-preview.4.22252.9 to 7.0.100-preview.5.22307.18 ( #17402 )
2022-06-13 13:09:30 -07:00
MartinGC94
4f6e574820
Improve type inference and completions ( #16963 )
2022-06-13 10:04:35 -07:00
MartinGC94
12a2c82d0e
Fix various completion issues inside the param block ( #17489 )
2022-06-09 09:41:52 +05:00