Commit Graph
953 Commits
Author SHA1 Message Date
Andrew Schwartzmeyer 092feeef9a Emit powershell executable
Instead of Microsoft.PowerShell.Linux.Host

Since this changes the name of the library,
System.Management.Automation's assembly info needed to be updated.
2016-01-19 12:56:56 -08:00
v-alexjo 280951089e Added help file for the command line 2016-01-19 12:47:45 -08:00
George Fleming b0e55b9181 Enable PowerShell script debugger 2016-01-19 12:35:13 -08:00
Andrew Schwartzmeyer e4ad1d6603 Reindent and strip whitespace in host 2016-01-15 16:46:39 -08:00
Andrew Schwartzmeyer f8ef219186 Clean up PSL_profile.ps1
Remove unneeded cruft and use here-string.
2016-01-15 16:41:05 -08:00
v-alexjo 8b12a68981 Additional logic for up-down arrows indexing
Also fixes tab completion for paths.
2016-01-15 16:40:43 -08:00
v-alexjo c53144f0d3 Added banner to profile, removed from main 2016-01-15 15:39:42 -08:00
Andrew Schwartzmeyer 08c7d801f8 Execute profile commands with out-default
So functions called in profile can write to the screen without any
workarounds.
2016-01-15 15:39:42 -08:00
Andrew Schwartzmeyer 62de9f2645 Fix the Get-Item Pester test
Failed because we renamed the test directory.
2016-01-15 14:31:52 -08:00
Andrew Schwartzmeyer 056d6ba5a8 Update readme for GitHub 2016-01-15 11:58:34 -08:00
Andrew Schwartzmeyer 40946a68f3 Update build for OS X compatibility
Shared libraries are .dylib (not .so) so use a wildcard. Recent
dotnet-cli builds will guess the correct runtime when not supplied.
2016-01-15 11:55:09 -08:00
Andrew Schwartzmeyer 3042c6c8e5 Sort .gitmodules 2016-01-14 17:15:26 -08:00
Andrew Schwartzmeyer bbebf2f76a Reorganize tests
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00
Andrew Schwartzmeyer ec08d9f46c Move Pester test/Pester and push to GitHub 2016-01-14 16:17:50 -08:00
Andrew Schwartzmeyer a36329e355 Bump DSC with fixes 2016-01-14 14:58:18 -08:00
Andrew Schwartzmeyer 953afd841e Move OMI PSRP provider to GitHub
Remove the `monad` prefix from its name.
2016-01-14 14:54:27 -08:00
Andrew Schwartzmeyer 19d8a6a0b2 Move monad-build to windows-build on GitHub
Better name since this submodule only has to do with the Windows build
system and generated artifacts.
2016-01-14 12:55:39 -08:00
Andrew Schwartzmeyer 895fbb8d40 Move monad to psl-monad on GitHub
- Removed more pre-processor conditionals
- Loads libpsl-native
- Pruned wmi (rewrote history)

The wmi folder was massive, and we did not need 99% of it, so a `git
filter-branch --tree-filter` was performed to remove all but the single
necessary subdirectory before pushing to GitHub.

The psl-monad repository can no longer be updated from the existing
GitSD sync. When the PSW teams have a Git repo for the monad codebase,
we will apply our patches to it and delete this fork.
2016-01-14 10:34:13 -08:00
Andrew Schwartzmeyer ae033a5846 Move monad-native to libpsl-native on GitHub 2016-01-14 10:32:02 -08:00
Andrew Schwartzmeyer b89766a2f0 Merge branch 'dev/start-dsc' 2016-01-12 17:38:21 -08:00
Andrew Schwartzmeyer e732e15ba4 Bump Newtonsoft.Json to 8.0.2 2016-01-12 12:31:17 -08:00
Andrew Schwartzmeyer 864d9bec01 Update readme 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer ec49e37de6 Add DSC submodule from GitHub 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer ad637c3548 Bump OMI submodule with test fixes 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer b05325f6a9 Move OMI submodule to GitHub
Updated .gitmodules for new location of OMI and new working branch.

This requires running `git submodule sync`.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer e6cfea5b2d Bump monad-omi-provider submodule with moved host
The monad-native submodule no longer owns a native host whatsoever, with it moved to the provider, and the provider's build system refactored to use CMake.

Because CMake is way better, even for dealing with OMI.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer 0c5c33f25e Bump monad-native submodule with removal of host 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer 8ca4fdb7fd Remove stty echo workaround
Note that the run script is now entirely deprecated, since the host can be run directly.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer 0c4d642ac7 Remove deprecated patch script
Patching System.Console manually is no longer required.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer e26b55c3d9 Use Window(Width|Height) instead of Buffer
The former is available, the latter is not. For our simple case of a
readline-esque shell on Linux, they seem equivalent. This removes the
import of libpsnative and the native calls to get terminal width/height.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer 735721e902 Bump .NET packages to build rc2-23712
This brings in the previously missing System.Console APIs and the fix for the echo TTY issue, fixing our remaining patches of the runtime.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer a9b7928d40 Add logging to PSRP script 2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer ca4dd87235 Fix indentation and build warning 2016-01-07 17:07:28 -08:00
Andrew Schwartzmeyer d89b6ade92 Merge branch 'dev/nixreadline' 2016-01-06 16:54:51 -08:00
Andrew Schwartzmeyer b270c03f50 Fix location of MOFs in DSC tests 2016-01-06 15:44:53 -08:00
Zachary Folwick a2c7b13405 Fix ConvertTo-Csv tests
Assert that this cmdlet uses collections internally, which does not rely
on order.
2016-01-06 12:57:14 -08:00
Andrew Schwartzmeyer be61a6449b Merge branch 'dev/cross-platform-pester' 2016-01-06 12:54:57 -08:00
v-alexjo 939d03e03d Removing Console.Writelines for debugging and modifying bounds chekcing 2016-01-06 10:44:57 -08:00
v-alexjo 1ffaf2d5b7 Fix for tab completion indexing with backspace 2016-01-06 10:44:57 -08:00
v-alexjo f595b34374 Fixed tabcompletion index issue with buffer ending in whitespace 2016-01-06 10:44:57 -08:00
George Fleming ed59522056 Add new pester test to clean up created file 2016-01-06 10:14:17 -08:00
George Fleming 6a40891df2 Rename cmdlets 2016-01-05 15:16:10 -08:00
George Fleming ef6f5d06e5 Adding Get-DscConfiguration, and Get/Set-DscLocalConfiguration cmdlets 2016-01-05 12:03:22 -08:00
George Fleming b21977bcce Enumerate WriteObject output 2016-01-04 10:28:18 -08:00
George Fleming 401abdc7e8 New pester test for Start-DscConfiguration 2016-01-04 10:27:43 -08:00
George Fleming 67b53068e1 Clean up code 2015-12-31 11:22:15 -08:00
George Fleming 07c4bec698 Refactor some code 2015-12-31 11:13:15 -08:00
George Fleming 4de201e318 process xml output 2015-12-30 16:14:05 -08:00
Andrew Schwartzmeyer 576884ed0c Fix third party library loading in JSON tests
Since we no longer have CORE_ROOT defined, but do have
AppContext.BaseDirectory from .NET
2015-12-30 10:46:54 -08:00
Zachary Folwick a6d5b17c73 corrected Split-Path tests 2015-12-29 09:49:46 -08:00