Commit Graph
100 Commits
Author SHA1 Message Date
Andrew Schwartzmeyer 20adc986ae Make dotnet-cli link more explicit
Link to the anchor which links to their docs.
2015-12-18 16:11:07 -08:00
Andrew Schwartzmeyer ef8e03dfdb Fix PowerShell remoting with dotnet-cli 2015-12-17 16:10:14 -08:00
Andrew Schwartzmeyer db49516dec Fix compiler warning 2015-12-17 16:09:09 -08:00
Andrew Schwartzmeyer 548cbc91b1 Bring back InitialSessionState() 2015-12-17 16:08:24 -08:00
Andrew Schwartzmeyer 3719046eb9 Prune ALC's dependencies 2015-12-17 16:08:12 -08:00
Andrew Schwartzmeyer abceb18344 Add patch script and update readme
To make it easier to patch `System.Console.dll`
2015-12-17 11:29:12 -08:00
Andrew Schwartzmeyer 536dc41859 Repin Pester with fix 2015-12-16 16:34:35 -08:00
Andrew Schwartzmeyer 4562121ffa Fix CorePsTypeCatalog for Management dependencies 2015-12-16 16:33:19 -08:00
Andrew Schwartzmeyer bd3cf39739 Add Commands.Management dependencies 2015-12-16 16:31:30 -08:00
Andrew Schwartzmeyer 8fe9e98c62 Fix CorePsTypeCatalog
Runtime facade updated with dependencies copied from
System.Management.Automation.
2015-12-16 16:24:33 -08:00
Andrew Schwartzmeyer 2c7d6dd4da Prune System.Management.Automation dependencies
I thought this seemed too easy earlier... I forget to replace the
frameworks section. This is now the minimum set of packages required.
2015-12-16 16:21:48 -08:00
Andrew Schwartzmeyer c9beaf314e Deploy Pester with symlink 2015-12-16 15:34:05 -08:00
Andrew Schwartzmeyer 6a62522797 Fix tty after exit of shell
This seems to be a bug with new versions of .NET. An interactive program
purposefully unsets echo, but should also restore on shutdown, and
PowerShell is not doing this (though it used to).

https://askubuntu.com/questions/171449/shell-does-not-show-typed-in-commands-reset-works-but-what-happened
2015-12-16 15:10:04 -08:00
Andrew Schwartzmeyer 2b78993cf8 Update CorePsTypecatalog for new runtime 2015-12-16 15:08:53 -08:00
Andrew Schwartzmeyer 251a875935 Major refactor of .NET dependencies
Much simpler now, thanks to NETStandard.Library.
2015-12-16 15:08:31 -08:00
Andrew Schwartzmeyer 2a05a7ae6c Remove test.sh
Relic from DNX buid system. Deprecated.
2015-12-16 14:01:07 -08:00
Andrew Schwartzmeyer 42ea491a94 Update PSRP submodules
I am unsure what all needs to be merged in OMI, and what branch it
belongs at. Same goes for the provider.
2015-12-16 13:58:43 -08:00
Andrew Schwartzmeyer a05c9ebc0d Update readme 2015-12-16 13:57:13 -08:00
Andrew Schwartzmeyer fd0d529582 Rename publish.sh to build.sh for consistency 2015-12-16 13:48:20 -08:00
Andrew Schwartzmeyer ce8e9a475b Fix bug with System.Native.so
Need the up-to-date version so that exiting the console doesn't totally
mess up the hosting shell (Bash).

Should not depend on this package longterm, as it's
platform-specific. Tracking in https://github.com/dotnet/cli/issues/405
2015-12-16 13:47:04 -08:00
Andrew Schwartzmeyer bbb86ac6ec Better publish/run/debug scripts
Deploys development libraries to bin
2015-12-16 13:34:24 -08:00
Andrew Schwartzmeyer 5111cf77d0 Bring back registry stub :( 2015-12-16 12:59:07 -08:00
Andrew Schwartzmeyer 7d0b89733e Remove host's AssemblyInfo file
It doesn't need it for anything.
2015-12-16 12:58:45 -08:00
Andrew Schwartzmeyer 1b84e04ccb Merge branch 'dev/get-filehash-update' into dev/dotnet 2015-12-16 11:50:22 -08:00
Andrew Schwartzmeyer 47e07e8648 Merge branch 'dev/write-verbose' into dev/dotnet 2015-12-16 11:50:07 -08:00
Andrew Schwartzmeyer 76d68ab4bd Merge branch 'dev/write-output' into dev/dotnet 2015-12-16 11:49:55 -08:00
Andrew Schwartzmeyer 806c236a40 Merge branch 'dev/set-psbreakpoint' into dev/dotnet 2015-12-16 11:49:44 -08:00
Andrew Schwartzmeyer a86b9a6650 Merge branch 'dev/get-pscallstack' into dev/dotnet 2015-12-16 11:49:30 -08:00
Andrew Schwartzmeyer e1a3ca005f Merge branch 'dev/writeprogresscmdlet' into dev/dotnet 2015-12-16 11:48:54 -08:00
Andrew Schwartzmeyer cbc99c0030 Merge branch 'dev/remove-psbreakpoint' into dev/dotnet 2015-12-16 11:48:19 -08:00
Andrew Schwartzmeyer f674b4f0a5 Add PSRP script 2015-12-16 11:37:19 -08:00
Andrew Schwartzmeyer 6ea201508c Update run script 2015-12-16 11:37:04 -08:00
Andrew Schwartzmeyer 3dc22d7f42 Make SMA internals visible to ALC 2015-12-16 11:36:02 -08:00
Andrew Schwartzmeyer 1ef4d923ed Add AssemblyInfo files for Management and Utility
To set their versions to 3.0.0.0
2015-12-16 11:14:58 -08:00
Andrew Schwartzmeyer 9771214556 Fix AssemblyInfo versions
Reconciled with PowerShell assemblies on Windows. Thanks ildasm.
2015-12-16 10:43:18 -08:00
Andrew Schwartzmeyer 03b36fb2f7 Rename AssemblyInfo files 2015-12-16 10:39:02 -08:00
Andrew Schwartzmeyer 39170b33ea Bump submodules for dotnet-cli 2015-12-15 21:18:35 -08:00
Andrew Schwartzmeyer 140c1d9e88 Add TEMP and LD_LIBRARY_PATH to run script 2015-12-15 21:17:12 -08:00
Andrew Schwartzmeyer dc0a9cb697 Fix copying of Pester module 2015-12-15 21:16:49 -08:00
Andrew Schwartzmeyer f6e5164bb0 Update compileFiles and namedResource from makegen
These are now auto-generated in monad-build.
2015-12-15 21:16:18 -08:00
Andrew Schwartzmeyer 7cd12b251d Build SMA with version 0.0.0.0
Because the monad code expects this version on Linux for all PowerShell
assemblies. This should be changed back once they all build with 3.0.0.0.
2015-12-15 14:22:41 -08:00
Andrew Schwartzmeyer 1c09c3f738 Remove GenerateTypeCatalog from RunspaceTests
This was Garrett's workaround that we no longer use.
2015-12-15 14:21:44 -08:00
Andrew Schwartzmeyer 59c1f1cb80 Define LINUX for AssemblyLoadContext 2015-12-15 14:21:02 -08:00
Andrew Schwartzmeyer 656daf6a80 Update the type catalog 2015-12-14 15:36:22 -08:00
Andrew Schwartzmeyer 3f5a6bc893 Build native components in publish script 2015-12-14 10:36:40 -08:00
Andrew Schwartzmeyer 741f3474e9 Remove ms-win-core-registry stub
We've already removed the dependency on this. At shutdown, something
tries to use it, but let's fix the problem rather than hide it.
2015-12-14 10:32:04 -08:00
Andrew Schwartzmeyer 3db501127e Move Management.Infrastructure.Native code 2015-12-14 10:31:39 -08:00
Andrew Schwartzmeyer 7118fcfbc5 Remove deprecated host.mk 2015-12-14 10:31:18 -08:00
Andrew Schwartzmeyer 3876732d2e Add run script
- Deploy profile.ps1xml
- Remove deprecated build/nuke scripts
2015-12-14 10:30:39 -08:00
Andrew Schwartzmeyer 51561b4773 Start fix of ps1xml files 2015-12-10 12:35:06 -08:00
Andrew Schwartzmeyer eaad815b94 Update CorPsTypeCatalog 2015-12-10 12:34:38 -08:00
Andrew Schwartzmeyer 9271861b79 Patch things in publish script 2015-12-10 12:33:52 -08:00
Andrew Schwartzmeyer 1fc02a4bef Update readme 2015-12-09 13:38:03 -08:00
Andrew Schwartzmeyer 4052850c42 Update submodules for dotnet-cli 2015-12-09 12:56:21 -08:00
Andrew Schwartzmeyer c6f921e701 Add symlink to powershell native host
Required because we brought back PowerShell's custom
AssemblyLoadContext.
2015-12-09 12:55:04 -08:00
Andrew Schwartzmeyer 2017bb3050 Update source file mapping 2015-12-08 16:24:40 -08:00
Andrew Schwartzmeyer 31962e214d Remove aspnetrelease NuGet repo
No longer required with removal of Microsft.Extensions.Platform.Abstractions
2015-12-08 14:34:24 -08:00
Andrew Schwartzmeyer d923d2e0d0 Add generated CorePsTypeCatalog.cs to AssemblyLoadContext
TypeCatalogGen/build.sh generates this using the facade runtime.
2015-12-08 14:33:31 -08:00
Andrew Schwartzmeyer 3d4a855b74 Bump runtime facade's packages 2015-12-08 14:31:58 -08:00
Andrew Schwartzmeyer 6fbb220df3 Brought back PowerShell's AssemblyLoadContext
Removes dependency on Microsoft.Extensions.Platform.Abstractions.

Makes use of native executable from `dotnet-cli` impossible; must use
`powershell` from monad-native.
2015-12-08 14:30:24 -08:00
Andrew Schwartzmeyer 96896b5942 Upgrade Microsoft.VisualBasic
How could we possibly even need this? I think we can remove it.
2015-12-08 14:22:01 -08:00
Andrew Schwartzmeyer 51b3e6cfc1 Build AssemblyLoadContext 2015-12-08 14:09:52 -08:00
Andrew Schwartzmeyer b8f8ffc46a Work around broken content
https://github.com/dotnet/cli/issues/435
2015-12-08 12:05:04 -08:00
Andrew Schwartzmeyer 13e60bdc22 Move ps1xml files to host so content works
https://github.com/dotnet/cli/pull/61
2015-12-08 12:04:55 -08:00
Andrew Schwartzmeyer 8a93287d70 Move assembly-info files 2015-12-08 11:20:01 -08:00
Andrew Schwartzmeyer 5ed21e794f Wild card and sort dependencies
These still need to be pruned.
2015-12-08 11:20:01 -08:00
Andrew Schwartzmeyer 5256c5d0fa Remove deprecated types files
Jason deprecated these with better code upstream.
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 66e24ccf12 Add generated type catalog to System.Management.Automation 2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 6c001b6e0f Add TypeCatalogGen 2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer bcc844d678 Add dotnetcore NuGet repo back 2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 0b6b1f116e Update for use with dotnet-cli
https://github.com/dotnet/cli
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 702416e2d6 Bump .NET version 2015-12-04 12:18:03 -08:00
Andrew Schwartzmeyer 04cc9c99d7 Revert "Add runspace test without InitialSessionState"
This reverts commit cc2bdee9ec.

This is no longer neccesary as we're now able to unit test this.
2015-12-02 10:03:34 -08:00
Andrew Schwartzmeyer 92e96aa1ae Add failing PowerShell function test
This narrowed down the bug in .NET Core.
2015-12-01 15:17:21 -08:00
Andrew Schwartzmeyer a574d0200b Temporarily remove InitialSessionState 2015-12-01 13:27:51 -08:00
Andrew Schwartzmeyer b60ea88ddb Add Runspace with PSHost test 2015-12-01 12:21:20 -08:00
Andrew Schwartzmeyer 87da04e4cb Add SecureString stub
Project from Garret, code originally from Mono.
2015-12-01 12:10:01 -08:00
Andrew Schwartzmeyer 5004839f63 Pin NuGet packages
Using new ASP.NET Release feed and pinned package versions.

Thanks Garret!
2015-12-01 10:56:56 -08:00
Andrew Schwartzmeyer 6f151ab2c4 Bump DNVM version in scripts 2015-12-01 10:47:10 -08:00
Andrew Schwartzmeyer f578b9dce1 Remove restore.sh because of global.json
`dnu restore` works appropriately with the global.json to restore all
the pacakges
2015-12-01 10:46:13 -08:00
Andrew Schwartzmeyer e93932565d Add more PowerShell runspace tests 2015-12-01 10:45:20 -08:00
Andrew Schwartzmeyer bb4b388c89 Move TypeCatalog code to System.Management.Automation
We're keeping it in the superproject for now, as it's the only build
system with a dependency on the file. However, we have to move it out of
the host because the unit tests also need to initialize the type catalog.
2015-11-30 13:14:23 -08:00
Andrew Schwartzmeyer ddd350afeb Update Makefile for common DNX targets
This Makefile should probably go away, but I gave it a quick update to
so that there's a familiar interface.
2015-11-24 15:18:24 -08:00
Andrew Schwartzmeyer 15d0bf2637 Add test script to run xUnit tests 2015-11-24 15:17:54 -08:00
Andrew Schwartzmeyer 08f7d2b3ca Add global.json for dnu restore from root 2015-11-24 15:07:55 -08:00
Andrew Schwartzmeyer d058a217d0 Track long type in TypeCatalog 2015-11-24 15:06:56 -08:00
Andrew Schwartzmeyer ccb7ba8d32 Use named resources for Commands.Utility 2015-11-24 15:06:19 -08:00
Andrew Schwartzmeyer 9627acca5a Copy ps1xml files to SMA package
These will sometimes need to be manually updated, but this is the best
we can do for now to enable `dnx build` and `dnx run` without
publishing.
2015-11-24 15:05:31 -08:00
Andrew Schwartzmeyer 57ba5eb627 Change package versions back to 3.0.0.0
And fix correctly using assembly-info.cs
2015-11-23 19:43:46 -08:00
Andrew Schwartzmeyer 8994aea430 Fix up dirty build scripts 2015-11-23 19:43:46 -08:00
Andrew Schwartzmeyer fc0506f6bc Clean up assembly infos 2015-11-23 19:29:12 -08:00
Andrew Schwartzmeyer 6ff0b44481 Change SMA assembly info for DNX xUnit runner 2015-11-23 17:54:31 -08:00
Andrew Schwartzmeyer 94d3bba2a2 Move xUnit tests for DNX xUnit runner 2015-11-23 17:54:31 -08:00
Andrew Schwartzmeyer 975b389e84 Update publish script for move to src subtree 2015-11-23 17:54:31 -08:00
Andrew Schwartzmeyer 3bb7c2a994 Change source file paths for move to src subtree 2015-11-23 17:54:30 -08:00
Andrew Schwartzmeyer d6416e64e2 Move DNX assemblies to src subtree 2015-11-23 17:54:30 -08:00
Andrew Schwartzmeyer 3f0fe51005 Name the PowerShell host "PSL" 2015-11-23 17:54:30 -08:00
Andrew Schwartzmeyer cc2bdee9ec Add runspace test without InitialSessionState 2015-11-23 17:54:30 -08:00
Andrew Schwartzmeyer c5d60889e2 Fix versions of generated assemblies
The "Snapins" were attempting to load version 1.0.0.0, but for some
reason we were building with version 3.0.0.0.
2015-11-23 17:54:30 -08:00
Andrew Schwartzmeyer cc96c4cd20 Define NOALC for AssemblyLoadContext replacement 2015-11-23 17:54:30 -08:00