Commit graph

3728 commits

Author SHA1 Message Date
Mike Richmond fd489544df Revert "Trying an idea to see if this will display the AppVeyor error since I cannot reproduce it locally."
This reverts commit 06c4d7e01f to undo an
appveyor expiriment.
2016-08-09 15:27:39 -07:00
Mike Richmond 063fd9c8f6 Removing directory creation from initialization. 2016-08-09 14:47:04 -07:00
Mike Richmond 06c4d7e01f Trying an idea to see if this will display the AppVeyor error since I cannot reproduce it locally. 2016-08-09 14:47:04 -07:00
Mike Richmond ca307e7c95 Fixing JsonConfigFileAccessor constructor so that it doesn't throw exceptions when run as a regular user. 2016-08-09 14:47:04 -07:00
Dongbo Wang 5e310a7510 Merge pull request #1697 from PowerShell/mirichmo/pwrshplugin-hosting-fixes
PwrshPlugin Fix to List Microsoft.PowerShell.CoreCLR.AssemblyLoadContext Once in the TPA List
2016-08-09 14:14:18 -07:00
Travis Plunk 68f577646a Merge pull request #1699 from andschwa/execution-policy
Fix Execution Policy
2016-08-09 13:31:13 -07:00
Mike Richmond 6f8794d835 Correcting the fix to work with inbox PS 2016-08-09 13:23:33 -07:00
Mike Richmond 0544bc2baf Fixing load of ALC.dll so it is only included in the TPA list once for side-by-side scenarios. 2016-08-09 13:23:33 -07:00
Travis Plunk 640755f7da Merge pull request #1670 from PowerShell/jianyunt/docs
Add Map Book for Experienced Bash users
2016-08-09 12:48:39 -07:00
Andrew Schwartzmeyer 528f255dd8 Fix publishOptions for powershell-unix
While Unix builds were given their own module folder,
it was only being copied for build, not for publish,
thus breaking some builds.
2016-08-09 12:39:19 -07:00
Travis Plunk 3d3e67fd4e Merge pull request #1641 from PowerShell/LanguagePrimitiveTest
Add Language Primitive Test
2016-08-09 12:14:02 -07:00
Andrew Schwartzmeyer 1576172d23 Add Get/Set ExecutionPolicy cmdlets back to module
Without these declared in the Unix module manifest,
the related tests fail as the cmdlets cannot be found.
This is a regression.
2016-08-09 12:06:05 -07:00
Andrew Schwartzmeyer 0fc21db411 Fix Start-PSPester setup
Start-PSPester must ensure that the environment variable `PSMODULEPATH`
is not set before starting the new PowerShell process.
If it is set, then the tests are not guaranteed to be correct,
as they will be operating with the host process's `PSMODULEPATH`,
thus ignoring their own modules.

I also refactored the Start-PSPester command setup code.
2016-08-09 12:03:30 -07:00
TingLiu6 a50114d5da Add Language Primitive Pester Test 2016-08-08 19:39:06 -07:00
Angel Calvo 031ba8795b Merge pull request #1647 from PowerShell/AngelCalvo-patch-3
Update README.md
2016-08-08 17:28:17 -07:00
Andy Schwartzmeyer 9a8b50ddcf Merge pull request #1679 from andschwa/trace-command
Fix missing Trace-Command cmdlets
2016-08-08 14:41:28 -07:00
Andrew Schwartzmeyer 4c830d5e32 Add Trace-Commands back to Utility module
This fixes a regression introduced by 0dd425da1.
2016-08-08 12:14:06 -07:00
Andrew Schwartzmeyer 5bc34eb63c Run Trace-Command tests on CI 2016-08-08 12:11:51 -07:00
Jianyun Tao 167e3b850c Added Map book for bash users 2016-08-08 12:09:51 -07:00
Andy Schwartzmeyer 4d9de62665 Merge pull request #1677 from alexandair/patch-2
Change "Contribute" to "Contributing"
2016-08-08 12:04:22 -07:00
Dongbo Wang ba2cd1d2b7 Merge pull request #1669 from andschwa/safe-hostname
Safe hostname
2016-08-08 11:10:53 -07:00
Andrew Schwartzmeyer 9d164ea972 Move Unix class under Platform
E.g. SMA.Platform.Unix, not just SMA.Unix.
2016-08-08 10:48:59 -07:00
Andrew Schwartzmeyer a8416d7b30 Consolidate GetUserName code
Once .NET Core 1.1 becomes available, we can likely remove the entirety
of CorePsExtensions.cs.
2016-08-08 10:48:59 -07:00
Travis Plunk 76fd51cc69 Merge pull request #1674 from PowerShell/mirichmo/winrm-registration
Delivering a script to register the WinRM endpoint
2016-08-08 10:37:18 -07:00
Andy Schwartzmeyer afd09111f6 Merge pull request #1672 from vors/links
Fix two broken links in docs
2016-08-08 10:04:37 -07:00
Mike Richmond abb8e1ed36 Fixing capitalization of Copy-Item. 2016-08-08 09:38:43 -07:00
Mike Richmond 73ea16f23c Adding WinRM registration script and pwrshplugin publishing. 2016-08-08 09:38:43 -07:00
Mike Richmond 2a8c04d6b0 Separated Windows binary build by CLR 2016-08-08 09:38:43 -07:00
Aleksandar Nikolić 6915fdce4c change the title of the article
Change "Contribute" to "Contributing" to be consistent with other titles and section titles.
2016-08-08 15:22:45 +02:00
Travis Plunk e945c6204e Merge pull request #1640 from alexandair/patch-2
Update docs/FAQ.md
2016-08-07 09:36:40 -07:00
Sergei Vorobev 37d904a6db Update .gitignore to account for OS X specific temp files 2016-08-06 15:54:06 -07:00
Sergei Vorobev b1bba40a70 Fix broken link in docs/building/linux.md 2016-08-06 15:53:51 -07:00
Sergei Vorobev 58b2c84559 Add missed Travis-CI badge image 2016-08-06 15:53:25 -07:00
Sergei Vorobev b859b5ab3e Merge pull request #1671 from lzybkr/remoting_fix
Fix remoting break caused by refactoring
2016-08-05 18:48:06 -07:00
Aleksandar Nikolić d2ec24bba1 Update FAQ.md 2016-08-06 03:36:15 +02:00
Jason Shirk (POWERSHELL) cf40937552 Fix remoting break caused by refactoring
Remoting apparently depends on the names of private fields
not changing between versions of PowerShell.

Because of this, these refactorings broke remoting:
* rename private fields
* convert to auto-property
2016-08-05 17:55:49 -07:00
Andrew Schwartzmeyer 3f9889d6da Consolidate InternalGetFolderPath
This logic belongs in one place, not split in two.
2016-08-05 15:34:52 -07:00
Andrew Schwartzmeyer 816dac0a55 Do not throw when getting Unix domain or user name
If the attempt to get the name fails, throwing an exception results in
PowerShell crashing. Instead, we should simply return empty data.

"unknown" is specifically not returned because it would be ambiguous; it
is not impossible to have an actual user or domain named "unknown".
2016-08-05 15:34:43 -07:00
Dongbo Wang 908d808967 Merge pull request #1659 from PowerShell/quoct/removepsl
Remove PackageSourceListProvider from build
2016-08-05 15:24:14 -07:00
Andy Schwartzmeyer 9a794165b0 Merge pull request #1667 from PowerShell/hiteshraigandhi-patch-1
Update README.md
2016-08-05 14:40:08 -07:00
Andy Schwartzmeyer a4e4709040 Merge pull request #1653 from andschwa/changelog
Import Git tags to changelog
2016-08-05 14:14:37 -07:00
hiteshraigandhi 42c8df9c58 Update README.md 2016-08-05 14:10:42 -07:00
Andy Schwartzmeyer 0c7573a71a Merge pull request #1638 from PowerShell/frangom/bugfixes
Fixing path to remove ILs after the ngen binary is generated. This fixes issue ##1636
2016-08-05 13:59:13 -07:00
Francisco Gamino d82bbeca76 Fixing write-verbose call to let the user have control over it when calling the function 2016-08-05 13:30:04 -07:00
Dongbo Wang 9a0436b856 Merge pull request #1661 from PowerShell/dongbo/get-pssession
Fix if/def guards to allow engine to load WsMan and Diagnostics snapins by default when RunspaceConfiguration is used to create a runspace
2016-08-05 13:00:06 -07:00
Andy Schwartzmeyer df15a294f7 Merge pull request #1662 from andschwa/ubuntu-16.04
Add Ubuntu 16.04 RID
2016-08-05 11:34:56 -07:00
Dongbo Wang dc9b326587 Fix issue #1609 - Get-PSSession -computername fails on nano
Root cause: Microsoft.WSMan.Management  and  Microsoft.PowerShell.Commands.Diagnostics  are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Dongbo Wang 70aea51cb1 Merge pull request #1576 from PowerShell/migreene
PowerShellGet demo and "getting started" doc changes
2016-08-05 10:59:54 -07:00
Andrew Schwartzmeyer 09e1683098 Add Ubuntu 16.04 RID 2016-08-05 10:09:40 -07:00
Dongbo Wang 8b31f2c606 Merge pull request #1657 from alexandair/patch-3
removing OPS and a duplicate line in testing-guidelines.md
2016-08-05 09:53:17 -07:00