Ilya
74c87ab20b
Cleanup: Use EndsWith(char) and StartsWith(char) ( #9994 )
2019-06-25 11:02:31 -07:00
Tyler James Leonhardt
d712d5817b
Add quick steps for adding docs to cmdlets ( #9978 )
2019-06-25 10:55:42 -07:00
Reece Dunham
0f46b25c99
Fix gulp versions ( #9916 )
2019-06-25 10:42:52 -07:00
Ilya
e3d8131390
Remove LCIDToLocaleName P/Invoke from GetComputerInfoCommand ( #9716 )
...
- Remove LCIDToLocaleName P/Invoke with StringBuilder
- Reduce allocations by using GetCultureInfo to get cached CultureInfo
- Use UInt32.TryParse to parse Hex
- Minor cleanups after above changes
2019-06-25 08:22:00 +05:00
Joel Sallow (/u/ta11ow)
17b2cec163
Cleanup Parser tests ( #9792 )
...
Co-Authored-By: Ilya <darpa@yandex.ru>
2019-06-24 11:22:54 -07:00
Ilya
fae03446dc
Fix wrong comparison in CertificateProvider ( #9987 )
2019-06-24 10:24:49 -07:00
Bram Crielaard
4967416067
Fix amazonlinux install script ( #9967 )
2019-06-21 13:36:11 -07:00
Sean Wheeler
825399617b
Sync docs changes into the embedded help for pwsh ( #9952 )
2019-06-21 17:22:10 +05:00
Reece Dunham
c0fd96fe4b
Remove EtwActivity empty constructor and make minor style fixes ( #9958 )
2019-06-21 17:21:06 +05:00
Christoph Bergmeister [MVP]
5d8468c398
Suppress sporadic exceptions from JumpList creation code ( #9928 )
2019-06-21 10:13:43 +05:00
Ilya
099406e065
Fix style issues from last commits ( #9937 )
2019-06-21 09:23:19 +05:00
Dongbo Wang
9dfec6ca84
Remove dead code about 'IsTransparentProxy' ( #9966 )
2019-06-21 09:12:09 +05:00
Keith Hill
482c64b35f
Display Duration when displaying HistoryInfo
( #9751 )
2019-06-20 13:39:41 -07:00
nbkalex
358d12ea93
Display com method signature with argument names ( #9858 )
2019-06-20 13:22:30 -07:00
Reece Dunham
1d2011fc22
Update readme gitter badge ( #9920 )
2019-06-20 13:07:42 -07:00
Reece Dunham
052ee86aa4
Indentation fixes in ci.psm1 ( #9947 )
2019-06-20 13:03:56 -07:00
Reece Dunham
db3c114587
Fix minor typos in code comments ( #9917 )
2019-06-20 12:11:20 -07:00
Reece Dunham
4223bf1f8e
Remove some Travis-CI references ( #9919 )
2019-06-20 11:08:32 -07:00
Reece Dunham
66e571b19f
Improve release testing Docker images ( #9942 )
2019-06-20 10:16:45 -07:00
Reece Dunham
4ae04335a4
Style fixes for CimAsyncOperations ( #9945 )
2019-06-20 16:36:49 +05:00
dependabot-preview[bot]
092ab5f6eb
Build(deps): Bump NJsonSchema from 10.0.19 to 10.0.20 ( #9954 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 10.0.19 to 10.0.20.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases )
- [Commits](https://github.com/rsuter/NJsonSchema/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 15:44:51 +05:00
Reece Dunham
92f13b9b60
Fix minor CodeFactor style issues in ModuleCmdletBase ( #9915 )
2019-06-19 10:56:34 -07:00
Steve Lee
4d3f74eddc
Update console startup and help url for PowerShell docs ( #9775 )
2019-06-19 10:45:47 -07:00
Dongbo Wang
94b6b6f4f7
Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost ( #9931 )
...
* Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost
* Remove 'pwsh.pdb' from our component file list
2019-06-19 11:34:47 +05:00
dependabot-preview[bot]
7b1f674ac8
Build(deps): Bump PowerShellGet from 2.1.4 to 2.1.5 in /src/Modules ( #9933 )
...
Bumps [PowerShellGet](https://github.com/PowerShell/PowerShellGet ) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/PowerShell/PowerShellGet/releases )
- [Changelog](https://github.com/PowerShell/PowerShellGet/blob/development/CHANGELOG.md )
- [Commits](https://github.com/PowerShell/PowerShellGet/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-19 09:27:40 +05:00
Dongbo Wang
c684902fba
Use the original precision (prior-dotnet-core-3) for double/fload-to-string conversion ( #9893 )
...
.NET Core changes to return "shortest roundtrippable string" by default for the ToString() method of double and float types. This results in ToString() for double/float values sometimes return a string in 17-digit/9-digit precision format. This PR updated the double/float-to-string conversion in PowerShell to continue using the old precision specifier before the change in .NET Core 3.0.
2019-06-19 08:56:43 +05:00
Amit Saraf
0673a481bb
Import-DscResource should allow to overwrite DSC built-in resources. ( #9879 )
2019-06-18 10:07:45 -07:00
dependabot-preview[bot]
f101e07681
Build(deps): Bump PackageManagement from 1.4.1 to 1.4.2 in /src/Modules ( #9918 )
2019-06-17 15:49:51 -07:00
dependabot-preview[bot]
ef5b0cd822
Build(deps): Bump PackageManagement from 1.4 to 1.4.1 in /src/Modules ( #9820 )
...
Bumps PackageManagement from 1.4 to 1.4.1.
2019-06-17 13:00:40 -07:00
Reece Dunham
b17b6bd361
Use yarn to install global tools ( #9904 )
2019-06-17 12:10:55 -07:00
Travis Plunk
f65497711e
Update to use TSAv2 ( #9914 )
2019-06-17 11:57:39 -07:00
Travis Plunk
7e8455b3a2
Fix unix project mappings ( #9892 )
2019-06-17 11:36:48 -07:00
Dongbo Wang
66c628f1b0
Attempt to work around the zip download issue in Azure DevOps Windows CI ( #9911 )
2019-06-17 09:05:37 -07:00
Steve Lee
981c990d74
Make UseAbbreviationExpansion
and TempDrive
official features ( #9872 )
2019-06-13 13:05:37 -07:00
dependabot-preview[bot]
e1793b9eda
Build(deps): Bump NJsonSchema from 10.0.18 to 10.0.19 ( #9885 )
2019-06-13 10:25:03 -07:00
Kirk Munro
aac4c6ff21
Add module to support Pester tests for automating debugger commands (stepInto, stepOut, etc.), along with basic tests ( #9825 )
2019-06-13 07:19:13 -07:00
dependabot-preview[bot]
af1de9e88d
Build(deps): Bump NJsonSchema from 10.0.17 to 10.0.18 ( #9875 )
2019-06-11 17:09:15 -07:00
Christoph Bergmeister [MVP]
f713e96bb6
Add launchSettings.json for better out of box experience when using Visual Studio ( #9818 )
2019-06-11 10:49:19 -07:00
dependabot-preview[bot]
bdc8548700
Build(deps): Bump NJsonSchema from 10.0.15 to 10.0.17 ( #9862 )
2019-06-10 15:34:41 -07:00
asrosent
65a3e467cc
Add ability to pass InitialSessionState
to the ConsoleShell.Start
( #9802 )
2019-06-10 07:28:01 -07:00
Steve Lee
89db7505d6
Have console host not enter command prompt mode when using Read-Host -Prompt
( #9743 )
...
`Read-Host` calls into `$Host.UI.Prompt()`. However, this method is also used when the host prompts for mandatory parameters that aren't provided. The method expects to be called when given a `FieldDescription` and if the input starts with `!` it enters `CommandPromptMode`. In this mode, you can type `!?` to request help, for example. However this mode is not something you can use via `Read-Host` (only if calling `$Host.UI.Prompt()` directly passing in a well constructed `FieldDescription`). When using `Read-Host -Prompt`, the cmdlet creates a `FieldDescription` where the name is the prompt and the rest of the properties are empty.
The fix is that if `Label` is empty, we can assume it's being called from `Read-Host` rather than being called to prompt for a mandatory parameter and thus not enter `CommandPromptMode`.
2019-06-09 07:55:11 -07:00
dependabot-preview[bot]
cd63d132f7
Build(deps): Bump NJsonSchema from 10.0.14 to 10.0.15 ( #9854 )
2019-06-07 11:51:35 -07:00
Amit Saraf
689434e535
Support DSC compilation on Linux. ( #9834 )
2019-06-07 11:50:14 -07:00
Ilya
7e423e7451
Fix minor style issues come from last commits ( #9640 )
2019-06-07 08:35:33 +05:00
dependabot-preview[bot]
ed3c832016
Build(deps): Bump NJsonSchema from 10.0.13 to 10.0.14 ( #9843 )
2019-06-06 10:51:03 -07:00
Joel Sallow (/u/ta11ow)
f5e3de036e
Improve whitespace for Parser tests ( #9806 )
2019-06-05 10:09:45 +05:00
Steve Lee
b4e2423fab
Fix use of Start-Process
http://bing.com ( #9793 )
2019-06-04 14:36:12 -07:00
Jacob Scott
f222a686c5
Support negative numbers in -split
operator ( #8960 )
2019-06-03 16:33:54 -07:00
dependabot-preview[bot]
0e89b0f91f
Build(deps): Bump NJsonSchema from 9.14.1 to 10.0.13 ( #9805 )
2019-06-03 14:48:13 -07:00
Ilya
83708a4242
Use new string.ConCat() in Process.cs ( #9720 )
2019-06-01 23:51:25 +05:00