Andrew Schwartzmeyer
1f19758614
Remove OMI and provider submodules
2016-04-12 12:10:54 -07:00
Andrew Schwartzmeyer
71b55abf66
Bump .NET Core packages to build 24011
...
And update the CorePsTypeCatalog.
2016-04-11 10:37:15 -07:00
Andy Schwartzmeyer
244b41a974
Merge pull request #804 from PowerShell/andschwa/symbolic-target
...
Allow creation of symlink to non-existent target
2016-04-09 18:55:21 -07:00
Andrew Schwartzmeyer
3a43126a2e
Allow creation of symlink to non-existent target
...
This action is completely valid on both Windows and Linux (and OS X)
operating systems; tested with `mklink` and `ln -s` respectively.
Note that targets for hard links must exist, thus we check specifically
for symbolic links.
Both the path globber in session state and the `New-Item` implementation
needed to be fixed to allow the target not to exist.
Resolves #801 .
Also enable symbolic link tests on Windows.
2016-04-09 18:45:23 -07:00
Andrew Schwartzmeyer
70c23dacd7
Fix Get-Help -Online
...
While Windows will automatically open a URL used as a process by
launching a browser, OS X needs to use `open <URL>`, and Linux needs to
use `xdg-open <URL>` (the most distribution-independent way).
Resolves #802 .
2016-04-09 18:05:49 -07:00
Andy Schwartzmeyer
76ad94d8a7
Merge pull request #798 from PowerShell/andschwa/pager
...
Respect PAGER variable and default to less on Linux
2016-04-08 22:04:57 -07:00
Andrew Schwartzmeyer
bd03b51c32
Respect PAGER variable and default to less on Linux
2016-04-08 21:52:14 -07:00
Andrew Schwartzmeyer
feef62c5ea
Bump .NET Core packages to 24004
2016-04-08 21:50:24 -07:00
Andy Schwartzmeyer
fde82fdf46
Merge pull request #796 from PowerShell/vors/add-type
...
Make Add-Type work without a flat folder structure
2016-04-08 21:41:30 -07:00
Sergei Vorobev
bf1a2c8521
Make Add-Type work without a flat folder structure
...
- Get rid of the assumption that all framework assemlbies live in
the same place
- Enable build scenario (assemlbies are referenced directly from unpacked
nuget packages)
- Fix #766
- Re-enable Add-Type tests
2016-04-08 21:41:30 -07:00
Andrew Schwartzmeyer
6f45601a27
Rename profile from PSL to Microsoft.PowerShellCore
...
Final fix for #713 .
2016-04-08 21:41:29 -07:00
Andrew Schwartzmeyer
839014b599
Try Assembly.Load correctly
...
This should resolve #791 .
Instead of checking if `Assembly.Load` returned null (it doesn't), check
if it threw `FileNotFoundException`, which it will if it doesn't find
the assembly.
2016-04-08 19:09:38 -07:00
Andy Schwartzmeyer
a6a6ac7c36
Merge pull request #787 from PowerShell/andschwa/platform-module
...
Remove Microsoft.PowerShell.Platform
2016-04-08 16:07:38 -07:00
Andrew Schwartzmeyer
fffaf4cfe2
Remove Platform module
2016-04-08 15:11:33 -07:00
Andrew Schwartzmeyer
822244d261
Fix properties
...
Static but not const, go figure.
2016-04-08 15:08:16 -07:00
Andrew Schwartzmeyer
a082a02e6c
Add PowerShell variables corresponding to platform
...
This deprecates the Microsoft.PowerShell.Platform module and ensure that
IsLinux/OSX/Windows/Core variables are defined all throughout PowerShell.
2016-04-08 15:04:27 -07:00
Andrew Schwartzmeyer
49066d212a
Replace IsX method with IsCore property
2016-04-08 15:04:16 -07:00
Andrew Schwartzmeyer
f5410a18ce
Replace IsWindows method with property
...
And add *correct* IsLinux and IsOSX properties.
2016-04-08 14:54:41 -07:00
Andrew Schwartzmeyer
6f2110f38a
Replace use of IsLinux with IsWindows
...
So that IsLinux can stop being overloading for OS X.
2016-04-08 14:50:37 -07:00
Andrew Schwartzmeyer
5b3840f753
Deploy Platform module on all flavors
2016-04-08 13:38:08 -07:00
Andrew Schwartzmeyer
47a8ee5bcf
Remove A:...Z: drive functions on Linux / OS X
...
Resolves #612 .
2016-04-08 12:50:53 -07:00
Andrew Schwartzmeyer
7d9f439666
Remove conflicting aliases for Linux and OS X
...
The aliases which conflict with Linux native commands were consolidated
and removed with the pre-processor definition `LINUX`. Additionally,
several "conflicts" are purposefully kept and likewise consolidated.
They are kept because Bash itself stomps on the native commands with its
own built-ins, and so we're adopting the same behavior.
The `clear` and `more` aliases are edge cases where the functions they
call are already fixed for Linux, and so we keep these too.
Resolves #567 .
2016-04-08 12:50:47 -07:00
Andrew Schwartzmeyer
9288df09a1
Rename CoreConsoleHost host.cs Name
...
Fully resolve #713 .
2016-04-08 11:00:52 -07:00
Andrew Schwartzmeyer
bfaad3f057
Programmatic update of core console host rename
2016-04-08 10:59:41 -07:00
Andrew Schwartzmeyer
5abda1c223
Rename Host to CoreConsoleHost
...
To resolve part of #713 .
2016-04-08 10:57:57 -07:00
Sergei Vorobev
b7be84a0b0
Merge remote-tracking branch 'origin/source-depot'
2016-04-06 12:04:08 -07:00
PowerShell Team
78a18c3f70
Revert "Update files from psl-monad"
...
This reverts commit 9ed2c2a68b .
This commit is here to make source-depot branch a parent of master
2016-04-06 12:03:50 -07:00
PowerShell Team
ef9ece38c2
Update files from psl-monad
...
This commit uses psl-monad branch source-depot 1ef187f49
And corresponds to [SD:693793]
2016-04-06 11:58:20 -07:00
PowerShell Team
9ed2c2a68b
Update files from psl-monad
...
This commit uses psl-monad branch source-depot 28156300
And corresponds to [SD:692351]
2016-04-06 11:55:18 -07:00
Sergei Vorobev
e5e287b31d
Update .gitignore to include work on windows
...
- Add files produced by cmake in powershell-native to it's own gitignore
- Add files that VS creates to the root-level gitignore
- Add .exe files that are content to the root-level gitignore
2016-04-04 18:51:57 -07:00
Sergei Vorobev
12d6943c20
Update resources section in project.json for Eventing
2016-04-04 14:53:31 -07:00
Sergei Vorobev
a6d8aecc46
Bump src/windows-build version
2016-04-04 14:29:22 -07:00
Sergei Vorobev
2464d58a51
Fix file casing to enable C# binding generation
...
Use windows-build\gen\<project> instead of windows-builg\gen\<somename>
2016-04-04 14:18:10 -07:00
Sergei Vorobev
8e4343e881
Merge remote-tracking branch 'origin/source-depot' into vors/master
2016-04-04 12:56:23 -07:00
Andrew Schwartzmeyer
4a7a521077
Fix powershell-native output directory
...
Thanks Stack Overflow https://stackoverflow.com/a/7750816
2016-04-01 23:10:33 -07:00
Andrew Schwartzmeyer
3895492da1
Remove deprecated update-content.sh
2016-04-01 20:47:58 -07:00
Andrew Schwartzmeyer
151b5525c6
Merge src/Modules and host specific Modules
2016-04-01 19:40:18 -07:00
Andrew Schwartzmeyer
5a1666c984
Fix programatic references to Linux.Host
2016-04-01 19:15:41 -07:00
PowerShell Team
bd599ed62a
Move Module files from psl-monad submodule to super-project
...
This commit uses master branch 8abffd25ebc33cbc0b4ce224b46e699704b01728
2016-04-01 19:00:51 -07:00
Andrew Schwartzmeyer
5c1fb845c4
Rename Linux.Host to Host
2016-04-01 18:56:26 -07:00
Andrew Schwartzmeyer
ff73a5cd98
Move Pester to src/Modules
2016-04-01 18:09:30 -07:00
Andrew Schwartzmeyer
774dcb7996
Migrate libpsl-native googletest submodule
2016-04-01 18:02:20 -07:00
Andrew Schwartzmeyer
0102a55da5
Add 'src/libpsl-native/' from commit '4bb241ad11c54985617343fbeb8700cfdcdf7ae0'
...
git-subtree-dir: src/libpsl-native
git-subtree-mainline: 2264613ae3
git-subtree-split: 4bb241ad11
2016-04-01 17:59:08 -07:00
Andrew Schwartzmeyer
2264613ae3
Remove libpsl-native submodule
2016-04-01 17:57:58 -07:00
Andrew Schwartzmeyer
fde63f4bc0
Add win81-x64 runtime
...
It's what AppVeyor uses.
2016-04-01 17:52:00 -07:00
Andrew Schwartzmeyer
1293c63289
Deploy powershell.exe as content for ConsoleHost
...
CMake will now output the artifacts of the native build into the
ConsoleHost project, where .NET CLI picks it up as content and deploys
it automatically.
2016-04-01 16:48:16 -07:00
Andrew Schwartzmeyer
b9232256fb
Remove duplicate #if CORECLR from SMA/CoreCLR
2016-04-01 13:16:35 -07:00
Andrew Schwartzmeyer
646d234d1f
Revert "Remove runtimes sections from projects"
...
This reverts commit 47fd1a45bc .
Per dotnet/cli#2029 , RID inference is no longer supported by NuGet, and
so the runtimes section needs to exist again.
2016-04-01 13:01:15 -07:00
PowerShell Team
5386c71bb2
Update files from psl-monad
...
This commit uses psl-monad branch source-depot cc6afbeb
And corresponds to [SD:692351]
2016-03-31 17:27:44 -07:00
Andrew Schwartzmeyer
39f92b436d
Bump windows-build
...
This commit was forgotten.
2016-03-31 13:31:21 -07:00