Steve Lee
a162856af5
Change default to OutputRendering.Host and remove OutputRendering.Automatic ( #15882 )
2021-08-16 14:17:07 -07:00
Dongbo Wang
eeb0407377
Add more tests to validate the current command error handling behaviors ( #15919 )
2021-08-14 14:31:49 -07:00
Dongbo Wang
286f12a37c
Update .NET adapter to handle interface static members properly ( #15908 )
2021-08-14 07:56:14 -07:00
Steve Lee
cced56d75a
Make PS-Committee reviewed experimental features stable ( #15864 )
2021-08-09 14:01:57 -07:00
James Truher [MSFT]
ac762c1cce
Add a Windows mode for native commands that allows some commands to use legacy argument passing ( #15408 )
2021-07-20 23:10:04 +00:00
Steve Lee
b5efe7bc39
Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output ( #14406 )
2021-07-20 09:02:52 +05:00
Aditya Patwardhan
31a4528302
Update to .NET 6 Preview 6 and use crossgen2 ( #15763 )
2021-07-19 16:06:39 -07:00
Steve Lee
1df4236e6c
Kill native processes in pipeline when pipeline is disposed on Unix ( #15287 )
2021-04-26 15:10:35 -07:00
James Truher [MSFT] and Ilya
a520e2c982
Native invocation using ArgumentList ( #14692 )
...
Co-authored-by: Ilya <darpa@yandex.ru >
2021-04-01 14:54:10 -07:00
Staffan Gustafsson
be7d36603d
Adding IArgumentCompleterFactory for parameterized ArgumentCompleters ( #12605 )
2021-03-25 17:06:40 -07:00
Ilya
ba49eb225f
Optimize IEnumerable variant of replace operator ( #14221 )
2020-12-09 11:46:27 -08:00
Aditya Patwardhan
a22e7ec2f3
Update README and metadata json for upcoming release ( #14026 )
2020-11-11 12:03:18 -08:00
Steve Lee
16cc9aaaf8
Fix blocking wait when starting file associated with a Windows application ( #13750 )
...
* Fix blocking wait when starting file associated with a Windows application in elevated process
* refactor check if app is WindowsApp
2020-10-07 12:58:24 +05:00
Steve Lee
fc8ca61b3d
Revert "Change PSNativePSPathResolution to not be Experimental" ( #13734 )
...
* Revert "Change `PSNativePSPathResolution` to not be Experimental (#13522 )"
This reverts commit 74c743d279 .
2020-10-03 21:20:24 +05:00
Aditya Patwardhan
cb8165eeef
Move PSNullConditionalOperators feature out of experimental ( #13529 )
2020-08-27 10:11:01 -07:00
Steve Lee
74c743d279
Change PSNativePSPathResolution to not be Experimental ( #13522 )
2020-08-27 12:08:52 +05:00
Steve Lee
d67649c300
Fix $? to not be $false when native command writes to stderr ( #13395 )
2020-08-19 09:31:38 -07:00
Thomas Nieto
46efd38ef5
Fix Get-Help not properly displaying if parameter supports wildcards ( #13353 )
2020-08-11 10:20:45 -07:00
Steve Lee
511858a267
Make $ErrorActionPreference not affect stderr output of native commands ( #13361 )
2020-08-07 14:19:17 -07:00
Joel Sallow (/u/ta11ow)
6aa08f9559
Improve BigInteger casting behaviours ( #12629 )
2020-08-04 10:45:36 +05:00
Carl Morris
2ea18ee6c9
Flag default switch statement condition clause as keyword ( #10487 )
2020-06-09 10:22:37 -07:00
xtqqczze
1f252f8bba
Wrap tests in pester blocks ( #12700 )
...
# PR Summary
Wrap tests in pester blocks to prepare for pesterv5
## PR Context
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )**
- [x] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md )
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [x] N/A or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices ) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell ) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer ) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax ) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
2020-05-23 13:24:53 +00:00
Robert Holt
3dfd95a09f
Ensure null-coalescing LHS is evaluated only once ( #12667 )
2020-05-16 21:36:15 +05:00
xtqqczze
98b95e77ea
Replace Unicode nbsp with space in source ( #12576 )
...
```
-replace [char]0xA0, [char]0x20
```
2020-05-13 08:45:26 +05:00
Joel Sallow (/u/ta11ow)
7bc2617fe3
Fix string parameter binding for BigInteger numeric literals ( #11634 )
2020-05-12 16:31:37 -07:00
xtqqczze
f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files ( #12584 )
2020-05-07 17:00:30 +05:00
Joshua Cotton
c19a417321
Allow / in relative paths for using module ( #7424 ) ( #12492 )
2020-04-30 11:20:53 -07:00
Steve Lee
23b1dd46ae
Support passing PSPath to native commands ( #12386 )
2020-04-27 14:14:57 -07:00
Joel Sallow (/u/ta11ow)
ba53621894
Allow shorter signed hex literals with appropriate type suffixes ( #11844 )
2020-04-20 16:51:40 -07:00
Bryan Berns
5f89a10f5b
Added Support For Big Endian UTF-32 ( #11947 )
2020-04-07 14:33:15 -07:00
Aditya Patwardhan and Travis Plunk
5b390f1507
Update README.md and metadata.json for 7.1.0-preview.1 ( #12211 )
...
* Update `README.md` and `metadata.json` for `7.1.0-preview.1` release
* Add missing version updates
* fix test failure
* fix test failure
Co-authored-by: Travis Plunk <github@ez13.net >
2020-03-26 12:30:05 -07:00
Steve Lee
f23be437af
Fix terms checker issues ( #12189 )
2020-03-24 11:38:45 -07:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
Steve Lee
495dea0783
Move to .NET 5 preview.1 ( #12140 )
2020-03-19 11:27:13 -07:00
Dongbo Wang
c737f3162c
Fix NullReferenceException when binding common parameters of type 'ActionPreference' ( #12124 )
2020-03-18 23:18:21 +05:00
Tyler James Leonhardt
ac1b83f152
Use Environment.NewLine instead of hard-coded linefeed in ParseError.ToString ( #11746 )
2020-02-03 14:03:12 -08:00
xtqqczze
2014ce66c1
Set StrictMode version 3.0 ( #11563 )
2020-02-03 09:44:10 -08:00
Dongbo Wang
a4c32bc337
Revert the PRs that made DBNull.Value and NullString.Value treated as $null ( #11648 )
2020-01-29 14:13:05 -08:00
xtqqczze
920b671fb4
Unify pester test syntax for the arguments of -BeOfType ( #11558 )
2020-01-24 11:00:37 -08:00
xtqqczze
a454352f32
Fix false positives
2020-01-13 19:39:58 +00:00
xtqqczze
e0d2e2aade
Correct case of $PSHOME special variable
2020-01-13 19:35:33 +00:00
xtqqczze
2782b73e37
Correct case of $PSCulture special variable
2020-01-13 19:35:06 +00:00
xtqqczze
225164037f
Correct case of $PID special variable
2020-01-13 19:34:38 +00:00
xtqqczze
b5326a8488
Correct case of $Host special variable
2020-01-13 19:34:10 +00:00
xtqqczze
d0f28128f5
Correct case of $ExecutionContext special variable
2020-01-13 19:33:14 +00:00
xtqqczze
bb58e2aab6
Correct case of $false special variable
2020-01-13 19:25:35 +00:00
xtqqczze
47a3b4e293
Correct case of $true special variable
2020-01-13 19:25:09 +00:00
xtqqczze
6014f4bac3
Correct case of $null special variable
2020-01-13 19:24:42 +00:00
xtqqczze
4a9d70fdcd
Correct case of $PWD special variable
2020-01-13 19:24:10 +00:00
xtqqczze
679702ba05
Correct case of $PSDefaultParameterValues special variable
2020-01-13 19:21:25 +00:00