Manikyam Bavandla MSFT
a466d4b351
Merge pull request #1429 from PowerShell/psget
...
[PowerShellGet] Enabling Proxy support on Linux.
2016-07-19 12:08:42 -07:00
Manikyam Bavandla
7c32155421
Enable Check-PSGalleryApiAvailability on Linux
...
Updating Enable Check-PSGalleryApiAvailability on Linux to use
[System.Net.NetworkInformation.NetworkInterface]::GetIsNetworkAvailable()
2016-07-18 19:28:02 -07:00
Andrew Schwartzmeyer
0f04de1e96
Fix some documentation warnings
...
Mostly low-hanging fruit and Linux additions/changes.
2016-07-18 19:08:28 -07:00
Andrew Schwartzmeyer
790a07222e
Disable some XML documentation warnings
...
Some projects have more warnings than I can fix.
2016-07-18 19:07:32 -07:00
Andrew Schwartzmeyer
b6f26ad7cc
Enable XML documentation generation
...
This is enabled for PowerShell projects, but not PackageManagment,
WSMan, Cim, or MMI.
2016-07-18 18:40:42 -07:00
Manikyam Bavandla
258fd792fc
Enabling Proxy support on Linux
...
Enabling Proxy support on Linux
2016-07-18 18:23:22 -07:00
Quoc Truong
28dfca8638
Change variable name to make code more readable
2016-07-18 16:13:22 -07:00
Quoc Truong
e3015e5acf
Improve performance of installing packages with dependencies for nugetprovider and find-package
2016-07-18 14:14:59 -07:00
Jason Shirk
5a1432e234
Merge pull request #1388 from PowerShell/andschwa/default-editmode
...
Use Emacs as DefaultEditMode on Linux / OS X
2016-07-15 15:57:58 -07:00
Andrew Schwartzmeyer
c6758603ae
Set DefaultEditMode to Emacs on Linux / OS X
2016-07-15 13:40:16 -07:00
Andrew Schwartzmeyer
b3ef98036d
Set bindings based on options
...
This is instead of hard-coding a call to SetDefaultWindowsBindings().
2016-07-15 13:39:29 -07:00
Andrew Schwartzmeyer
ab83e00475
Refactor switch into SetDefaultBindings(EditMode)
2016-07-15 13:38:55 -07:00
Sergei Vorobev
736eaade3c
Add CimCmdlets module in the produced package of core modules
2016-07-15 13:25:38 -07:00
Andrew Schwartzmeyer
ed39a00f29
Add GetLStat
...
faccessat() does not support AT_SYMLINK_NOFOLLOW on OS X, so instead,
we use the success of lstat() to determine if the file (not following
symbolic links) exists. Also allowed for some refactoring.
2016-07-14 19:45:14 -07:00
Andrew Schwartzmeyer
70aa6af960
Remove unnecessary indirection from Platform.Unix
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
74c3262f03
Fix failing New-Item tests
...
PowerShell expects the behavior of NativeItemExists to not follow
symbolic links.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
35e24ce6d4
Clean up CreateSymLink()
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
ad94ddb3f1
Guard IsWinPEHost
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
89508ae99d
Revert IsWinPEHost changes
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
a9484e45e9
Remove Platform.SupportsRemoveDrive query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
dbe16ca5d7
Remove Platform.SupportsReparsePoints query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
465e55d32a
Remove Platform.HasNetworkDriveSupport query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
662e390902
Remove Platform.HasGroupPolicySupport query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
ab882cb04d
Remove Platform.UseDotNetToQueryFileAttributes query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
2249afcd0a
Remove Platform.HasUNCSupport query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
58fe228dc0
Remove Platform.HasFileShares query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
527f30a013
Remove Platform.HasSingleRootFilesystem query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
e6c037c666
Remove Platform.HasExecutionPolicy query
...
Also change Get-ExecutionPolicy to not throw, but to return
Unrestricted (which is the effect of the actual policy).
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
73a1a51f69
Remove Platform.HasRegistry query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
c2cd059aa8
Remove Platform.HasDriveAutoMounting query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
c9a4197af1
Remove Platform.HasAmsi query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
46cfa26812
Remove Platform.HasCom query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
5ef851a170
Port NativeItemExists for Linux
...
Without using .NET
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
e89fa7b1dc
Clean up IsExecutable and IsSymLink
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
4e518fe1c7
Remove Platform class override of PlatformNotSupportedException
...
This was confusing and unused in most places, exception itself removed
in cleanup.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
093587fecb
Rename Native so it is Unix.NativeMethods
...
Like the rest of PowerShell.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
6a23655b2f
Rename LinuxPlatform to Unix
...
Since it supports both Linux and OS X. This follows the .NET Core
convention.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
551e2e6fc4
Format CorePsPlatform
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
77a9b4b5d2
Remove unnecessary throws in CorePsPlatform
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
90a5382b30
Add bool IsFile(char*) to libpsl-native
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
3dacf45789
Revert NativeItemExists changes from baseline
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
955d5f8bcb
Add bool IsDirectory(char*) to libpsl-native
2016-07-14 17:34:12 -07:00
Sergei Vorobev
3276846c40
Merge pull request #1367 from PowerShell/vors/3-dlls
...
Bring .cs code for CimCmdlets, WSMan.Management and WSMan.Runtime dlls
2016-07-14 16:17:45 -07:00
Sergei Vorobev
3e105225cf
Merge pull request #1375 from PowerShell/cchen/bugfix
...
msft:8027609 Get-Module -List and Test-ModuleManifest import the the …
2016-07-14 16:08:31 -07:00
Sergei Vorobev
a655c9a27b
Add AssemlbyInfo.cs files
...
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 15:40:56 -07:00
Manikyam Bavandla MSFT
735456a12a
Merge pull request #1378 from PowerShell/psget
...
Ignoring the errors from Receive-Job cmdlet in Uninstall-module logic…
2016-07-14 14:32:43 -07:00
Sergei Vorobev
58de8914b1
Downgrade Microsoft.WSMan.Management dependency so we can use the one from sources
2016-07-14 13:46:29 -07:00
Sergei Vorobev
eb0d6905ab
Fix ResourceManager instantiation in WsManHelper.cs
2016-07-14 13:46:29 -07:00
PowerShell Team
160ab847d5
Convert txt resources into resx for Microsoft.WSMan.Management
2016-07-14 13:46:29 -07:00
PowerShell Team
bc6990f46b
Copy cs files from [SD:717473]
...
commit 96877403a6a2eb9dcbee0f71bbc6dfb6e61dd9a3
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00