Joel Sallow (/u/ta11ow)
631833cd50
Cleanup Format-Hex ( #8683 )
2019-01-19 00:33:36 +05:00
Michael Klement
20919ee793
Allow 'name' as an alias key for 'label' in ConvertTo-Html, allow the 'width' entry to be an integer ( #8426 )
2019-01-18 11:02:22 -08:00
Mathias R. Jessen
59a3696f70
Allow user-specified underlying type for enums ( #8329 )
...
Fix #8028
This change adds support for specifying the underlying type for an enum:
```powershell
enum MyEnum : long
{
A = 0x0FFFFFFFFFFFFFFF
B
}
# or
enum MyByte : byte
{
A = 0x01
B = 0x02
C = 0x03
D
}
```
2019-01-17 14:22:10 -08:00
dependabot[bot]
f49af36670
Build(deps): Bump NJsonSchema from 9.13.14 to 9.13.15 ( #8671 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 9.13.14 to 9.13.15.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases )
- [Commits](https://github.com/rsuter/NJsonSchema/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-17 21:49:19 +05:00
pougetat
4858afb613
Resolve :PAGER' if its path contains spaces ( #8571 )
2019-01-16 15:14:44 -08:00
Steve Lee
a04f6940dd
Handle case where applocker test script fails to delete ( #8627 )
...
One reported case where during applocker policy check, the test script that is created cannot be deleted because something else (malware scanner?) has a lock on the file. This results in an exception being thrown in finally block which ultimately causes PowerShell to crash due to the unhandled exception. Fix is to wrap the deletion in the finally block with try..catch and ignore any exceptions and leave the temp file.
TFS:20156282
2019-01-16 15:00:37 -08:00
Ilya
782ef99465
Add support enum and char types in Format-Hex cmdlet ( #8191 )
2019-01-16 16:58:22 +05:00
Kirk Munro
41d9667307
Add -Stable to Sort-Object and related tests ( #7862 )
2019-01-15 17:14:39 -08:00
Aditya Patwardhan
be4b82c730
Add function to create a framework dependent package dotnet-sdk containers ( #8644 )
2019-01-15 16:28:52 -08:00
Sergey Vasin
279993bf39
Change Get-Help cmdlet -Parameter parameter so it accepts string arrays. ( #8454 )
2019-01-15 16:25:49 -08:00
Dongbo Wang
c2dfae8ccb
Fix 'FixupFileName' to not load resolved assembly during module discovery ( #8634 )
2019-01-15 16:22:25 -08:00
dependabot[bot]
cd75f18b67
Build(deps): Bump NJsonSchema from 9.13.13 to 9.13.14 ( #8648 )
2019-01-15 14:47:14 -08:00
dependabot[bot]
bcae2d7713
Build(deps): Bump PowerShellGet from 2.0.3 to 2.0.4 ( #8649 )
2019-01-15 14:46:30 -08:00
dependabot[bot]
bfb219c747
Build(deps): Bump Markdig.Signed from 0.15.6 to 0.15.7 ( #8637 )
...
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig ) from 0.15.6 to 0.15.7.
- [Release notes](https://github.com/lunet-io/markdig/releases )
- [Changelog](https://github.com/lunet-io/markdig/blob/master/changelog.md )
- [Commits](https://github.com/lunet-io/markdig/compare/v0.15.6...v0.15.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 17:19:02 -08:00
Steve Lee
c3cb6df809
Update 'CommandNotFound' fuzzy suggestion to only return unique results ( #8640 )
2019-01-14 14:28:15 -08:00
Jani
812456f84c
Improve Start-Sleep cmdlet to accept fractional seconds ( #8537 )
2019-01-14 10:04:44 -08:00
Steve Lee
71e58f9439
Add the experimental feature 'PSUseAbbreviationExpansion' to support tab completion on abbreviated command names ( #8109 )
2019-01-10 16:11:43 -08:00
Steve Lee
b87cd1c0a3
Add support to show suggestions on CommandNotFound exception ( #8458 )
...
* support fuzzy matching with get-command and on CommandNotFound exception, show suggestion
* fix CodeFactor issues
* change algorithm to use Damerau-Levenshtein Distance which is more useful in finding close matches
2019-01-10 13:35:30 -08:00
Steve Lee
66c72c4366
Change Clear-Host back to using $RAWUI and clear to work over remoting ( #8609 )
2019-01-10 10:02:59 -08:00
Steve Lee
9793ed2c68
Change hashtable to use OrdinalIgnoreCase to be case-insensitive in all Cultures ( #8566 )
...
Ubuntu18.04 seems to default to C.UTF-8 for LANG (representing InvariantCulture) which results in a case-sensitive hashtable since CurrentCultureIgnoreCase doesn't work for that culture. Fix is to use OrdinalIgnoreCase instead.
2019-01-10 09:11:43 +05:00
Kirk Munro
1729a682ee
Make S.M.A.PowerShell.GetSteppablePipeline method public ( #8055 )
...
* make GetSteppablePipeline method public
* updated PowerShell member count
2019-01-09 15:31:09 -08:00
Ilya
d80154430d
Style: Change first char to upper in summary comments ( #8597 )
2019-01-09 13:07:40 -08:00
dependabot[bot]
8fad8c9dd8
Build(deps): Bump System.Security.Cryptography.Pkcs from 4.5.1 to 4.5.2 ( #8614 )
...
Bumps [System.Security.Cryptography.Pkcs](https://github.com/dotnet/corefx ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-09 22:07:03 +05:00
dependabot[bot]
16fbecd7bd
Build(deps): Bump System.Net.Http.WinHttpHandler from 4.5.1 to 4.5.2 ( #8615 )
...
Bumps [System.Net.Http.WinHttpHandler](https://github.com/dotnet/corefx ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-09 18:54:30 +05:00
dependabot[bot]
8175047ae8
Build(deps): Bump NJsonSchema from 9.13.11 to 9.13.13 ( #8616 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 9.13.11 to 9.13.13.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases )
- [Commits](https://github.com/rsuter/NJsonSchema/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-09 18:52:28 +05:00
dependabot[bot]
cc3c3f618e
Build(deps): Bump System.Text.Encoding.CodePages from 4.5.0 to 4.5.1 ( #8613 )
...
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/corefx ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-09 18:51:32 +05:00
Ilya
6647b29f41
Fix LiteralPath in Import-Csv to bind to Get-ChildItem output ( #8277 )
...
Added new tests.
2019-01-09 18:49:15 +05:00
Michael Klement
73716e9792
Make scriptblock-based calculated properties work again in ConvertTo-Html ( #8427 )
2019-01-09 13:55:03 +05:00
Sergey Vasin
6f071f0ba5
Fix Join-String cmdlet FormatString parameter logic ( #8449 )
2019-01-09 11:06:20 +05:00
Steve Lee
d6000fdea8
Allow Windows users in developer mode to create symlinks without elevation ( #8534 )
2019-01-08 10:43:24 -08:00
Steve Lee
64fcddcb53
Help function should only pass content to pager if content was found (#8528 )
2019-01-08 09:56:56 -08:00
Steve Lee
031cbf0f16
Change clear-host to simply called [console]::clear and remove clear alias from Unix ( #8603 )
...
Based on @PowerShell/powershell-committee decision, standardizing on [Console]::Clear() on all platforms and removing clear alias on non-Windows.
2019-01-08 22:38:56 +05:00
Steve Lee
d51b5fdc30
help function shouldn't use pager for AliasHelpInfo (#8552 )
2019-01-07 13:39:57 -08:00
Ilya
f95dae55f7
Style: Use the type aliases 'char' and 'bool' instead of 'Char' and 'Boolean' ( #8572 )
2019-01-07 11:40:07 -08:00
Kirk Munro
23f6e8ff40
Add S.M.A.PowerShell.Create method overload with Runspace argument ( #8057 )
2019-01-07 11:04:42 -08:00
Ilya
b8f9532b41
Style: Use the type alias 'string' instead of 'String' in places that are appropriate ( #8573 )
2019-01-07 10:46:00 -08:00
Steve Lee
21fcf070fb
Remove unnecessary trim of passed-in command line in interactive debugging ( #8594 )
2019-01-05 18:47:34 -08:00
Ilya
233b54ed65
Style: Add a space after "//" in comments and remove unneeded comments after "}" ( #8576 )
2019-01-05 17:51:20 -08:00
Ilya
1be3f4cc0e
Style: Add the ending period to the XML document texts ( #8577 )
2019-01-05 15:40:24 -08:00
xtqqczze
f0f301bc5e
Avoid use of mkdir alias in *.ps1 and *.psm1 ( #8582 )
2019-01-04 14:31:24 +05:00
dependabot[bot]
c44044d855
Build(deps): Bump Markdig.Signed from 0.15.5 to 0.15.6 ( #8558 )
2019-01-01 02:16:51 +05:00
dependabot[bot]
9cfab9d58f
Build(deps): Bump NJsonSchema from 9.13.10 to 9.13.11 ( #8569 )
2019-01-01 02:16:09 +05:00
Ilya
dfd2f69369
Style: Change 'String.' to 'string.' ( #8568 )
2018-12-31 20:44:16 +05:00
Ilya
56569b9315
Style: Replace String.IsNullOrEmpty with string.IsNullOrEmpty ( #8557 )
2018-12-31 15:10:15 +05:00
Ilya
7207db6360
Style: Convert to upper first char in <param> and <exception> doc tags ( #8556 )
2018-12-29 08:25:49 +05:00
Ilya
479fc64aff
Style: Add period before </param> and </exception> doc tags ( #8553 )
2018-12-28 16:39:06 +05:00
Ilya
767c13fca1
Style: Remove extra spaces after <para> and before </para> docs tags ( #8547 )
2018-12-28 11:05:14 +05:00
Steve Lee
9f8d643f70
Fix mistake on deserialization ( #8502 )
...
Replace this.hideHeader with this.repeatHeader
2018-12-27 12:10:59 +05:00
xtqqczze
b850d57c78
Style: Remove preceding spaces from C# preprocessor-type keywords ( #8540 )
2018-12-26 11:59:10 +05:00
Ilya
399574430e
Style: remove '<remarks> </remarks>' ( #8538 )
2018-12-26 08:03:57 +05:00