Dongbo Wang
ea9694980e
Address review comments in product code
2016-08-12 11:01:23 -07:00
Dongbo Wang
8bb291896c
Change 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' back to 'public'
...
Add CI tests for the module path change
2016-08-11 21:45:20 -07:00
Dongbo Wang
c27b4db3ac
Change runtime check to build check because 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' are make unix only
2016-08-11 21:36:48 -07:00
Dongbo Wang
07f9fefee8
Add the shared module path to unix (counterpart of 'Program Files\PowerShell\Modules').
...
Also make 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' unix build only, as they doesn't apply to windows.
2016-08-11 21:36:48 -07:00
Dongbo Wang
3ff19e1d80
Update module path calculation logic to support side-by-side.
...
Use 'Path.PathSeparator' instead of ';' to separate paths, so that it uses ';' on windows and ':' on unix.
Also refactor some code as part of the change.
2016-08-11 21:36:48 -07:00
Andy Schwartzmeyer
7d61d4400c
Merge pull request #1717 from andschwa/sxs
...
Side-by-side Unix packages
2016-08-11 16:08:02 -07:00
Jason Shirk
e4e18b97b1
Merge pull request #1738 from PowerShell/cchen/bugfix
...
Remove Windows branding
2016-08-11 14:19:24 -07:00
Andy Schwartzmeyer
ac9902cf95
Merge pull request #1711 from PowerShell/johnkord-Linux_DSC_error_message
...
Error message for Linux DSC schema directory missing
2016-08-11 14:12:38 -07:00
Chunqing Chen
ae20c4103b
Remove Windows branding
2016-08-11 13:58:09 -07:00
Andrew Schwartzmeyer
a3f3734f09
Include license during build
...
Rather than including it only at packaging, we should include this
license as part of `dotnet build` and `dotnet publish`.
2016-08-11 13:38:54 -07:00
Dongbo Wang
76ca7e5f52
Update to depend on Newtonsoft.Json.9.0.1
2016-08-11 11:43:31 -07:00
Dongbo Wang
e0b44475b0
Update project.json to depend on Microsoft.NETCore.Runtime.CoreCLR.1.0.4
...
This new package contains 2 fixes that will unblock powershell remoting for windows OPS
2016-08-11 11:28:18 -07:00
Mike Richmond
5baa2d6fe6
Fixing onecore.lib link issue
2016-08-10 21:45:45 -07:00
Mike Richmond
a951e1b737
Fixing compile issue for FullClr and adding restart so that the WinRM changes take effect after the registration script runs.
2016-08-10 20:48:47 -07:00
Mike Richmond
46c3ff9f3e
Fixing CMakeLists.txt files to produce a single plugin DLL that works in all supported OSs the same way CoreCLR builds coreclr.dll
2016-08-10 20:48:47 -07:00
Mike Richmond
afe86d6bd7
Work in progress to modify the native binary CoreCLR build.
2016-08-10 20:48:47 -07:00
Andy Schwartzmeyer
4e23d6e1ee
Merge pull request #1712 from PowerShell/ealexjordan/filenamecrash
...
Fixing Crash on File Name Extending BufferWidth
2016-08-10 18:27:44 -07:00
Alex Jordan
fb0e218eb1
Fix crash on file name being too long in prompt
2016-08-10 15:40:46 -07:00
John Kordich
4656f3c072
Adding error message letting the user know they need to install PSDSC for Linux
2016-08-10 13:53:37 -07:00
Francisco Gamino
135af2089a
Updating tests to install the help content before running on Windows
2016-08-10 12:19:51 -07:00
Francisco Gamino
233e75657a
Breaking down help tests for CI and Feature test runs
2016-08-10 12:19:51 -07:00
Francisco Gamino
3ed7201e21
Fixing get-help on Linux
2016-08-10 12:19:51 -07:00
Dongbo Wang
2aa5c07581
Merge pull request #1701 from andschwa/unix-modules
...
Remove unsupported commands from Unix modules
2016-08-09 22:28:46 -07:00
Andrew Schwartzmeyer
5310423678
Remove Windows+Unix-Core
...
There are no longer module declarations that are identical between Core
PowerShell on Windows and on Unix.
2016-08-09 18:54:05 -07:00
Andrew Schwartzmeyer
d59710d310
Remove unimplemented Management cmdlets from Unix
...
These are not currently implemented and so should not show up as
available.
The *-Computer cmdlets are already not compiled for Unix (and so not
available), so let's not declare them in the manifest.
The Get-ComputerInfo cmdlet does not work on Unix and so should not be
made available.
Test-Connection depends on an unavailable WMI provider.
Get/Set-TimeZone are not yet ported.
2016-08-09 18:54:05 -07:00
Andrew Schwartzmeyer
f68cb8c385
Add copy of Management module declaration for Unix
...
Unmodified so we can track changes.
2016-08-09 18:53:44 -07:00
Andrew Schwartzmeyer
e750fb6284
Move Management module declaration to Windows-Core modules
...
Since we need different versions for Windows and Unix.
2016-08-09 18:53:44 -07:00
Andrew Schwartzmeyer
280bd651c1
Remove unimplemented Utility cmdlets from Unix
...
ConvertFrom-SddlString and Unblock-File are Windows-specific cmdlets
with no equivalent on Unix.
squash! Remove Unblock-File from Unix
2016-08-09 18:53:43 -07:00
Andrew Schwartzmeyer
9c07b9f29d
Add copy of Utility module declaration for Unix
...
Unmodified so we can track changes.
2016-08-09 17:50:06 -07:00
Andrew Schwartzmeyer
c22dd04967
Move Utility module declaration to Windows-Core modules
...
Since we need different versions for Windows and Unix.
2016-08-09 17:50:06 -07:00
Mike Richmond
6575500b79
Whitespace change to retrigger a build
2016-08-09 16:31:26 -07:00
Mike Richmond
063fd9c8f6
Removing directory creation from initialization.
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
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
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
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
4c830d5e32
Add Trace-Commands back to Utility module
...
This fixes a regression introduced by 0dd425da1 .
2016-08-08 12:14:06 -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
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
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
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
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