Commit graph

971 commits

Author SHA1 Message Date
Andrew Schwartzmeyer efccc92ea2 Remove Get-TypeData tests
Jason Shirk of the PowerShell team removed the dependency on
Types.ps1xml, so it was removed from our produce. Therefore this test is
now deprecated.
2015-12-21 19:20:17 -08:00
Andrew Schwartzmeyer 0c61e164de Add script to launch Pester tests 2015-12-21 19:17:48 -08:00
Andrew Schwartzmeyer 1de894813c Fix Start-Process Pester tests
These tests attempted to stop the test ping process by name, which was
fragile. Now they stop by PID, which is far less fragile.
2015-12-21 19:14:48 -08:00
Andrew Schwartzmeyer bc9baddfc1 Fix Wait-Event
After reading the docs, the prior test was incorrect as written, as by default, it will wait for any event. So to test the timeout, we needed to make it wait for an event that would enver come.
2015-12-21 17:14:12 -08:00
Andrew Schwartzmeyer 655ed50a36 Bump Pester submodule 2015-12-21 16:34:28 -08:00
Andrew Schwartzmeyer eabd6a41ba Deploy PowerShell.Utility modules
Odd that this caused only one test failure.
2015-12-21 13:41:30 -08:00
Andrew Schwartzmeyer 837f40bbee Fix Newtonsoft.Json Pester tests
Look for library in new location.
2015-12-21 13:00:47 -08:00
Andrew Schwartzmeyer 6c7301c22c Bring up RegOpenKeyExW stub
This works around the Get-ExecutionPolicy Pester test failure. It's not a good solution, but it's also (seemingly) not our code that is calling the extern function. This needs to be fixed in CoreFX itself.
2015-12-21 12:46:36 -08:00
Andrew Schwartzmeyer bbe61cf0b5 Bump monad-native with fixes 2015-12-21 10:25:25 -08:00
Andrew Schwartzmeyer 9738090faf Patch use of /tmp in Pester tests
More work needs to be done here, but this at least gets rid of the dependency on the TEMP environment variable.
2015-12-18 17:22:39 -08:00
Andrew Schwartzmeyer 7f4c755f5d Whitespace cleanup of readline
Sorry...
2015-12-18 16:30:24 -08:00
v-alexjo 785e63eb6f Up and down arrows now function similiarly to windows 2015-12-18 16:26:03 -08:00
v-alexjo b3d3245c99 Readline logic added to prevent out of index when history queue is null 2015-12-18 16:13:44 -08:00
v-alexjo 388022e02e Added downkey logic and improved up key logic for index errors 2015-12-18 16:13:44 -08:00
Andrew Schwartzmeyer 30a562123a Clean up Host's project.json 2015-12-18 16:11:36 -08:00
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
Paul Allen e08a7a0774 Bump OMI and provider submodules 2015-12-18 15:42:05 -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
v-alexjo 65b2cb9831 Implemented readline, readkey, special keys 2015-12-16 22:34:32 -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