Commit graph

3094 commits

Author SHA1 Message Date
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
Sergei Vorobev
2afedf3eea Update documentation about resources 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
Sergei Vorobev
6c087155a7 Update PowerShellGithubDev.Tests.ps1 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
Sergei Vorobev
132d98e3c7 Add project.json files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Sergei Vorobev
5802a02786 Add map.json files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Manikyam Bavandla
6a1ad57e42 Ignoring the errors from Receive-Job cmdlet in Uninstall-module logic, this is a workaround for #1365 2016-07-14 13:37:08 -07:00
Quoc Truong
ac7bed909e Merge pull request #1359 from PowerShell/quoct/onegettest
Enable test for PackageManagement on CorePowerShell
2016-07-14 13:26:01 -07:00
Chunqing Chen
080f029d8a msft:7980238, 7768797 Test-ModuleManifest loads all available modules if a module has the nested module dependencies. Get-Module -List and Test-ModuleManifest import the the nested module dependencies into the current runspace. 2016-07-14 13:21:28 -07:00
Chunqing Chen
bd0ba6771c msft:8027609 Get-Module -List and Test-ModuleManifest import the the nested module dependencies into the current/global runspace. 2016-07-14 12:42:47 -07:00
Andy Schwartzmeyer
34e6240188 Merge pull request #1370 from PowerShell/andschwa/start-pspester
Import Pester from new location
2016-07-14 11:38:34 -07:00
Andrew Schwartzmeyer
a4dec332b4 Import Pester from new location
This is somewhat temporary as we're about to investigate using upstream
Pester without needing to have it as a submodule, and failing that,
moving it to a vendor folder.
2016-07-14 11:14:05 -07:00
Quoc Truong
3af74154af Place #if !LINUX at more appropriate places 2016-07-14 10:24:09 -07:00
Jianyun
bcbb252707 Merge pull request #1366 from PowerShell/jianyun/docs
Updated samples so that they work on Linux
2016-07-14 10:20:25 -07:00
Raghu Shantha [MSFT]
2dad0d4a82 Merge pull request #1351 from PowerShell/RaghuS-AppxProviderBranch
Remove AppxProvider from PowerShell Codebase and builds
2016-07-14 10:05:37 -07:00
Quoc Truong
d7309a2435 Remove test that calls powershell 2016-07-14 09:56:35 -07:00
Sergei Vorobev
7db984a7d0 Merge pull request #1315 from PowerShell/vors/linefeeds
Add note about one sentance per line to CONTRIBUTING.md
2016-07-14 09:34:19 -07:00
Sergei Vorobev
46254de1d2 Merge pull request #1368 from PowerShell/vors/git-katakoda
Add one more interactive tutorial source to git/basics.md
2016-07-14 09:30:04 -07:00
Sergei Vorobev
868dbb13d1 Add one more interactive tutorial source to git/basics.md 2016-07-14 00:38:40 -07:00
Sergei Vorobev
a4a9103c73 Merge pull request #1338 from PowerShell/vors/git-auth
Update auth docs for git
2016-07-14 00:08:01 -07:00
Sergei Vorobev
7aa5304129 Merge pull request #1364 from PowerShell/bingbing8-docUpdate
Bingbing8 doc update
2016-07-14 00:06:23 -07:00
Jianyun Tao
8ce9f2fd71 Updated the examples so that they work on Linux. 2016-07-13 19:18:29 -07:00
Jianyun Tao
ff0b90b574 Merge branch 'master' of https://github.com/PowerShell/PowerShell into jianyun/docs 2016-07-13 17:36:09 -07:00
Andy Schwartzmeyer
d0ad3b719b Merge pull request #1352 from PowerShell/andschwa/username
Implement Get-Process -IncludeUserName for Linux
2016-07-13 17:27:11 -07:00
Yanbing
a26504d1cd Update to point to the github flow. 2016-07-13 16:50:55 -07:00
Yanbing
b3f2dbc12c update some wording 2016-07-13 16:44:40 -07:00
Quoc Truong
24eaf67917 Remove install contoso credential test 2016-07-13 16:36:29 -07:00
Andrew Schwartzmeyer
894f8401a1 Fix CreateSymLink tests for OS X
/tmp is symlinked to /private/tmp and since we're testing symlink
resolution through FollowSymlink, we need to change what we expect to
the realpath.
2016-07-13 16:00:10 -07:00
Indhu Sivaramakrishnan
1dc0b9a813 Merge pull request #1358 from PowerShell/insivara-ps
Updated Microsoft.PowerShell.ScheduledJob to have version 3.0.0.0
2016-07-13 15:59:22 -07:00
Yanbing
9f4dc7081b update some wording 2016-07-13 15:59:08 -07:00
Quoc Truong
6338d8c33a Remove scope test for install-package in nuget.tests.ps1 2016-07-13 15:58:05 -07:00
Andrew Schwartzmeyer
2a790591f0 Clean up CreateSymLink tests 2016-07-13 15:56:12 -07:00
Andrew Schwartzmeyer
85d9370c2f Clean up FollowSymlink 2016-07-13 15:55:15 -07:00