Ilya
09f5471346
Use params in ImportPSModule ( #7933 )
2018-10-05 09:31:32 +05:00
Topping
20b2e3df37
No longer skips a column without name if double quote delimiter is used in Import-Csv ( #7899 )
2018-10-05 09:15:56 +05:00
Christoph Bergmeister [MVP]
49826a7a29
Specify verb, pwsh
, for shell context menu to avoid overriding the default verb ( #7932 )
2018-10-04 11:08:15 -07:00
Vijayakrishna Pondala
97bcd8c88e
Remove unused commented out code ( #7935 )
2018-10-04 15:17:38 +05:00
tommymaynard
b941e62def
Update governance.md ( #7927 )
...
Removed plural and added comma where necessary.
2018-10-03 15:21:32 -07:00
Ilya
371d25a74b
Update to .NET Core 2.1.5 with SDK 2.1.403 ( #7936 )
2018-10-03 13:31:56 -07:00
Steve Lee
abaf18680a
Change default of Start-PSBuild
to include -PSModuleRestore
( #7881 )
2018-10-03 12:49:24 -07:00
Jellyfrog
8f6bbdf11e
Add dependencies for SUSE ( #7938 )
2018-10-03 12:29:13 -07:00
Ilya
8655576b58
Remove last hang term ( #7931 )
2018-10-03 10:45:36 -07:00
Stephen Owen
0789fb123a
Updating incorrect example of PowerShell.Create() ( #7926 )
2018-10-03 20:20:38 +05:00
Ilya
450d884668
Add test for $error[0] tab completion ( #7924 )
2018-10-03 12:34:21 +05:00
Mathias R. Jessen
5e525ded8e
Make Add-Type open source files with FileAccess.Read and FileShare.Read explicitly ( #7915 )
2018-10-03 08:36:11 +05:00
Felix Becker
97daeb59fb
Add XSDs for Format and Types.ps1xml files ( #7832 )
...
These can be used for autocompletion and validation in editors
2018-10-02 16:13:45 -07:00
Aditya Patwardhan
b42c001700
Cleanup all native code from repository ( #7892 )
...
Native code for PowerShell has been moved to repository PowerShell/PowerShell-Native.
Hence, removing all the native code and related build components.
2018-10-02 12:48:42 -07:00
Ilya
2ea815756d
Update package minor versions ( #7922 )
2018-10-02 11:17:39 -07:00
Ilya
d862d4075f
Add EscapeHandling parameter in ConvertTo-Json cmdlet ( #7775 )
...
Add EscapeHandling parameter in ConvertTo-Json cmdlet to allow escape the HTML (<, >, &, ', ") and control characters (e.g. newline).
2018-10-02 10:54:33 +05:00
Ilya
d946121d7e
Use nameof() in bound parameters.contains key() ( #7908 )
...
Replace code like BoundParameters.ContainsKey("Delimiter") with BoundParameters.ContainsKey(nameof(Delimiter)). Old pattern come from old C# (<6.0) without nameof().
2018-10-02 08:23:10 +05:00
Ilya
0727f96d97
Replace hang term ( #7902 )
2018-10-02 08:11:38 +05:00
Travis Plunk
cd18af03bc
Revert "install-powershell.sh: Adding autodetection of curl / wget" due to regression from PR #7893 ( #7918 )
...
This reverts commit 4831a9fd63
.
2018-10-01 18:52:27 -07:00
Darwin
4831a9fd63
install-powershell.sh: Adding autodetection of curl / wget ( #7893 )
...
install-powershell.sh now autodetects whether curl or wget is installed to download secondary script when it is not found locally.
2018-10-01 16:36:46 -07:00
Robert Holt
649d342a07
Replace test certificates with self-signed certificate generating command ( #7875 )
2018-10-01 14:40:48 -07:00
Ilya
3b9f75865e
Add .editorconfig ( #7357 )
...
Related #4708 .
The .editorconfig file can be used by various editors and tools like Visual Studio and CodeFormatter.
The .editorconfig comes from Roslyn and CoreFX repositories:
https://github.com/dotnet/corefx/blob/master/.editorconfig
https://github.com/dotnet/roslyn/blob/master/.editorconfig
Description http://EditorConfig.org
Options https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
2018-10-01 13:40:21 -07:00
Travis Plunk
549939d968
Remove unused stopwatch ( #7878 )
2018-10-01 13:16:15 -07:00
RDIL
bc4575f55a
Optimize Images! ( #7874 )
...
My pal @ImgBotApp optimized all the images present in the repository.
2018-10-01 13:15:37 -07:00
Darwin
4dae2825e1
Ffixing syntax error in installpwsh-amazonlinux.sh ( #7905 )
...
* Fix syntax error for issue 7903. Typo come from #6849
* Add identation after copyright message
2018-10-01 14:58:14 +05:00
Benjamin P. McKenna
39252b4938
Add '%F' case to Get-Date -UFormat ( #7630 )
2018-10-01 08:39:14 +05:00
James Truher [MSFT]
98cf44cdec
Test changes needed for running in a container ( #7869 )
2018-09-28 13:49:31 -07:00
Steve Lee
cc44781b5b
Ensure NestedModules property gets populated by Test-ModuleManifest ( #7859 )
2018-09-28 13:28:08 -07:00
Joel Sallow
8f4b66af29
Add C#-style type accelerators and suffixes for ushort, uint, ulong, and short literals ( #7813 )
...
[breaking change]
Add the following type accelerators: [short], [ushort], [uint], [ulong].
Add the following numeric literal suffixes:
- 'u' suffix (uint/ulong)
- 's' suffix (short)
- 'ul' suffix (ulong)
- 'us' suffix (ushort)
2018-09-28 13:27:32 -07:00
PRASOON KARUNAN V
e6702fe780
Get/Add-Content throws improved error when targeting a container ( #7823 )
2018-09-28 20:36:13 +05:00
Robert Holt
bd5f7719bc
Add version checking tests for Import-Module ( #7499 )
2018-09-27 17:08:54 -07:00
Andrew
bc5fe72096
Updating test gallery URL in PackageManagement tests ( #7879 )
2018-09-27 14:23:10 -07:00
Sergey Vasin
2291a898c3
Add 'TimeToLive' and 'Hops' aliases to MaxHops parameter of Test-Connection cmdlet. ( #7850 )
...
Add the following aliases to MaxHops parameter of Test-Connection cmdlet:
- TimeToLive
It is the similar parameter's name from Windows PowerShell Test-Connection cmdlet .
- Hops
Similar parameter's name from Test-NetConnection cmdlet.
2018-09-27 15:59:10 +05:00
Dongbo Wang
0cce2ae44e
Clean up MshObject.cs and MshMemberInfo.cs ( #7446 )
...
Clean up style issues.
2018-09-26 09:27:43 +05:00
Travis Plunk
b5c39c1a36
Bump Microsoft.PowerShell.Native from 6.1.0-rc.1 to 6.1.0 ( #7861 )
2018-09-25 17:53:13 -07:00
Dongbo Wang
4926e15984
Make Start-PSPackage give better message about how to fix 'files.wxs' ( #7841 )
2018-09-25 09:53:42 -07:00
Steve Lee
769ba7b95c
Update PowerShellGet to 2.0.0 ( #7831 )
2018-09-24 14:58:13 -07:00
Travis Plunk
8a0abf459c
update markdown tests ( #7838 )
...
update markdown tests
- explicitly use gulp 4.0 beta because 3.9 depends on a vulnerable package
2018-09-24 10:14:43 -07:00
Frank Behrens
84634445ce
Improve markdown Formatting of beginners guide ( #7684 )
2018-09-24 09:57:53 -07:00
Dongbo Wang
0f0c46dfe5
Update to .NET Core 2.1.4 with SDK 2.1.402 ( #7834 )
2018-09-21 13:25:03 -07:00
Dongbo Wang
b6d12a35ed
[Feature] Fix .NET adapter to be able to get members from System.IntPtr ( #7808 )
...
The type System.IntPtr has an explicit cast operator defined that takes a pointer type System.void* parameter. Now we handle that type properly in GetPSMethodProjectedType.
2018-09-20 08:15:42 +05:00
Staffan Gustafsson
eb286332cf
Create inferred types for Select-Object
, Group-Object
, PSObject
and Hashtable
( #7231 )
...
Fixes #7230 .
Adding the concept of a PSSyntheticTypeName, derived from PSTypeName,
that extends it with a list of synthetic members.
This allows us to express the inferred type of
```
[pscustomobject] @{
A = 1
B = "2"
}
```
as a "PSObject#A:B" and with information about the types of A and B.
This is also used to annotate the output of
```
Select-Object -Property
Select-Object -ExcludeProperty
Select-Object -ExpandProperty
```
Finally, it adds information about the types of the
`Group` and `Value` properties of the output of `Group-Object`
2018-09-19 15:43:22 -07:00
Ilya
985928be7b
Remove extra space in LastWriteTime format ( #7810 )
2018-09-19 19:11:05 +05:00
Ilya
cc5f36c67a
Allow numeric Ids and name of registered code pages in '-Encoding' parameters ( #7636 )
...
Enhance the encoding transformation attribute:
- to allow numeric Ids of registered code pages (like -Encoding 1251)
- to allow string names of registered code pages (like -Encoding "windows-1251")
2018-09-19 18:53:03 +05:00
Christoph Bergmeister [MVP]
4bc22d92df
Add support for 'cd +' ( #7206 )
...
'cd +' adds the ability to revert 'cd -' by having another bounded stack with the same limit for 'redo' actions.
Behaviour is similar to back/forward navigation in explorer.exe
When the location is set to a path and the redo stack is non-empty then the redo stack gets flushed.
When cd + happens, then the redo stack is pushed to as well for a more intuitive way of navigating backwards and forwards.
All the work is done of course on the Set-location cmdlet, which is aliased to cd on all platforms.
2018-09-19 12:50:30 +05:00
Robert Holt
3c67fa3411
Add tests for Import-Module -Force ( #7491 )
2018-09-19 09:32:35 +05:00
Steve Lee
985c238aaf
Remove badges for master build as it reflects last PR which is not actionable from the README file ( #7816 )
2018-09-18 17:59:20 -07:00
Travis Plunk
ea83aea39e
Wait for package manager not to be locked ( #7817 )
2018-09-18 16:47:52 -07:00
Aditya Patwardhan
8d4dd1e58f
Remove packaging, building and installation scripts for Ubuntu 17.10 ( #7773 )
2018-09-17 14:48:23 -07:00
Travis Plunk
2d4906c794
update build badges ( #7792 )
2018-09-17 14:26:27 -07:00