Armaan Mcleod
d24285f437
Remove input text from the error message resulted by SecureString and PSCredential conversion failure ( #19977 )
2023-07-17 10:30:10 -07:00
Sean Wheeler
b58ff3b8ea
Fix ///-comments that violate the docs schema ( #19957 )
2023-07-13 08:16:57 +05:00
MartinGC94
a8ec19b4f6
Fix completion regression for filesystem paths with custom PSDrive names ( #19921 )
2023-07-11 12:12:32 -07:00
MartinGC94
ac87d2ae0e
Add completion for variables assigned by the Data statement ( #19831 )
2023-07-10 17:15:05 -07:00
MartinGC94
612857a38c
Remove unused string completion code ( #19879 )
2023-07-10 12:32:21 -07:00
MartinGC94
c5cc8c8bbc
Fix a null reference crash in completion code ( #19916 )
2023-07-10 12:31:27 -07:00
Ikko Eltociear Ashimine
26f6219529
Fix typo in NativeCommandProcessor.cs ( #19846 )
2023-06-23 12:51:55 -07:00
Patrick Meinecke
066d7bff2c
Fix native executables not redirecting to file ( #19842 )
2023-06-23 12:16:18 -07:00
Aditya Patwardhan
ebe0b54340
Update to .NET 8 Preview 4 ( #19696 )
2023-06-21 15:17:22 -07:00
James Truher [MSFT]
5437f387cc
Add a new experimental feature to control native argument passing style on Windows ( #18706 )
2023-06-19 16:31:56 -07:00
MartinGC94
15213d8494
Do not require activity when creating a completed progress record ( #18474 )
2023-06-19 16:20:08 -07:00
MartinGC94
994e43b1bf
Fix TabExpansion2 variable leak when completing variables ( #18763 )
2023-06-19 15:48:59 -07:00
MartinGC94
0cbcf7b4d6
Enable completion of variables across ScriptBlock scopes ( #19819 )
2023-06-19 13:30:39 -07:00
James Truher [MSFT]
b9b5136f0e
Avoid checking screen scraping on non-Windows platforms before launching native app ( #19812 )
2023-06-19 11:26:14 -07:00
MartinGC94
8b2de76eff
Fix completion of the foreach-statement variable ( #19814 )
2023-06-19 10:20:13 -07:00
Berkan Diler
0f53e80335
Make use of the new Random.Shared property ( #18417 )
2023-06-12 17:31:04 -07:00
MartinGC94
f093f538fa
Fix variable type inference precedence ( #18691 )
2023-06-12 10:38:17 -07:00
MartinGC94
79d99b501b
Fix member completion for PowerShell Enum class ( #19740 )
2023-06-05 17:04:19 -07:00
MartinGC94
6520c05949
Fix parsing for array literals in index expressions in method calls ( #19224 )
2023-06-05 14:10:03 -07:00
MartinGC94
31dd6483b2
Fix incorrect string to type conversion ( #19560 )
...
Fixes incorrect string to type conversions like: [Type] 'int]whatever' so they are no longer parsed as types.
This was fixed by adding a check for ScanType to also check that the parsed type name matches the input type name.
2023-05-31 09:39:38 +05:00
CarloToso
0b42d92d4d
six files ( #19695 )
2023-05-25 10:12:42 -07:00
Jakub Jareš
d8decdc194
Fix slow execution when many breakpoints are used ( #14953 )
2023-05-22 17:11:53 -07:00
James Truher [MSFT]
d9697f07ba
Add a public API for getting locations of PSModulePath elements ( #19422 )
2023-05-22 17:02:31 -07:00
Paul Higinbotham
e5728b63bf
Add WDAC Audit logging ( #19641 )
2023-05-22 16:40:55 -07:00
Frode Flaten
c57ada217d
Filter completion for enum parameter against ValidateRange attributes ( #17750 )
2023-05-22 14:25:00 -07:00
06ab3b189d
Improve path completion ( #19489 )
...
* Improve path completion
* Update src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs
Co-authored-by: Steve Lee <slee@microsoft.com >
* Address initial feedback from Steve and Paul
* Apply suggestions from code review
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com >
* Apply suggestions from code review
Co-authored-by: Ilya <darpa@yandex.ru >
* Apply suggestions from iSazonov.
* Add missing period to comment.
* Add comment explaining limitations of current approach.
* Correct some escaping issues and add tests
---------
Co-authored-by: Steve Lee <slee@microsoft.com >
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com >
Co-authored-by: Ilya <darpa@yandex.ru >
2023-05-22 11:10:59 -07:00
MartinGC94
2e2b7db092
Fix wildcard globing in root of device paths ( #19442 )
2023-05-15 10:15:05 -07:00
MartinGC94
bb3c8a2819
Fix an indexing out of bound error in CompleteInput for empty script input ( #19501 )
2023-05-10 13:56:33 -07:00
MartinGC94
dc81491870
Improve variable completion performance ( #19595 )
2023-05-09 15:04:44 -07:00
Dominik Kaszewski
270f8f1be7
Allow partial culture matching in Update-Help ( #18037 )
2023-05-09 09:46:59 -07:00
MartinGC94
1c8b58c0b4
Fix array type parsing in generic types ( #19205 )
2023-05-08 16:21:51 -07:00
xtqqczze
19623357ad
Remove minor versions from PSCompatibleVersions ( #18635 )
2023-05-08 12:37:42 -07:00
Patrick Meinecke
16c6030f06
Fix the check when reading input in NativeCommandProcessor ( #19614 )
2023-05-04 12:00:18 -07:00
Steve Lee
bfa6883f2a
Add support of respecting $PSStyle.OutputRendering on the remote host ( #19601 )
2023-05-04 09:50:04 -07:00
Steve Lee
8135167827
Fix constructing PSModulePath if a sub-path has trailing separator ( #13147 )
...
* Fix constructing PSModulePath if a sub-path has trailing separator
* skip test on Linux
* Removed test as the system env var needs to be modified to repro
* Add test
* Fix test by comparing against incorrectly created path
* Update test to be cross platform
2023-05-02 13:04:30 -07:00
Ikko Eltociear Ashimine
5d7b3fc453
Fix a typo in serialization.cs ( #19598 )
2023-05-02 09:41:27 -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
Aditya Patwardhan
72c81b820a
Set SetLastError to true for symbolic and hard link native APIs ( #19566 )
2023-05-01 10:56:16 -07:00
Patrick Meinecke
2424ad83aa
Support byte stream piping between native commands and file redirection ( #17857 )
2023-04-27 17:17:32 -07: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
Ikko Eltociear Ashimine
af2f2f454e
Fix typo in Compiler.cs ( #19491 )
...
inital -> initial
2023-04-12 09:51:22 +05: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
MartinGC94
25651ef6e9
Fix a crash in the type inference code ( #19400 )
2023-03-23 14:40:50 -07:00
MartinGC94
18f0c5ad4b
Exclude redundant parameter aliases from completion results ( #19382 )
2023-03-22 08:58:15 +05: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