Andrew Schwartzmeyer
b745d75f1b
Test PSReadLine's DefaultEditMode and bindings
2016-07-15 13:43:29 -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
Andy Schwartzmeyer
cec82d3cd6
Merge pull request #1384 from PowerShell/andschwa/platform-cleanup
...
Platform cleanup
2016-07-15 11:17:15 -07:00
Jianyun
7e8e8592e3
Merge pull request #1381 from PowerShell/jianyun/docs
...
Removed Get-Help, -ls from the example in the beginner's guide.
2016-07-15 10:12:21 -07:00
Sergei Vorobev
24b78df64a
Merge pull request #1385 from alexandair/aleksandar
...
Update to basics.md
2016-07-15 10:09:46 -07:00
James Truher [MSFT]
ca96173307
Merge pull request #1320 from PowerShell/ParserPesterTest
...
Add Parser Pester Test Part 1
2016-07-15 10:07:26 -07:00
Aleksandar Nikolic
c37da8b50f
Update to basics.md
...
Fixing typos.
2016-07-15 18:19:47 +02:00
hiteshraigandhi
2157d89ad4
Merge pull request #1376 from PowerShell/vors/full-clr-doc
...
Vors/full clr doc
2016-07-14 23:05:51 -07:00
JumpingYang001
f2f9becbba
Fix comments for Parser Pester Test Part 2
2016-07-14 19:48:53 -07:00
JumpingYang001
98d9599b57
Fix comments and add Parser Pester Test Part 2
2016-07-14 19:48:52 -07:00
JumpingYang001
368b6a5c6c
Add Parser Pester Test Part 1
2016-07-14 19:48:52 -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
Jianyun Tao
da28473dd6
Removed ls alias as an example because it does not exist on Linux.
2016-07-14 18:06:50 -07:00
Jianyun Tao
eb517bea41
Removed Get-Help example. Fixed typos.
2016-07-14 17:50:56 -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
32e0a7dcaa
Format New-Item.Tests.ps1
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