Commit graph

971 commits

Author SHA1 Message Date
Sergei Vorobev 9d1c5f2c96 Update README.md
remove temp branch from build table [skip ci]
2016-01-22 12:49:49 -08:00
Andrew Schwartzmeyer 9a5c010f54 Skip BufferSize when not interactive
So short of re-implementing an entire new PSHost for non-interactive
sessions, this is a work-around. If a script (file or command) is passed
to the shell, we tunnel that information through to the raw UI so it can
skip calling out to the TTY (which may not exist).

There has to be a better way to do this, but the structure of PSHost >
UI > Raw UI just makes this incredibly difficult.
2016-01-22 12:40:04 -08:00
Sergei Vorobev 706048344f Add AppVeyor CI integration.
AppVeyor is a cloud-based CI platform for windows.
Use [skip ci] tag in any place of message to mark commit as trivial (i.e.
README.md changes).
2016-01-22 12:40:04 -08:00
Paul Allen 49efe636d1 Bump OMI and provider modules 2016-01-22 10:56:29 -08:00
Andrew Schwartzmeyer 7061c87eb2 Move more Git notes to CONTRIBUTING.md 2016-01-21 13:06:51 -08:00
Andy Schwartzmeyer c9e4320223 Add explicit dependency instructions to README 2016-01-21 12:25:48 -08:00
Andrew Schwartzmeyer 423e7da910 Add link to known issues 2016-01-20 12:33:42 -08:00
Andrew Schwartzmeyer 0dda6c34a1 More readme updates 2016-01-20 12:29:06 -08:00
Andrew Schwartzmeyer 0cdbe9a3aa Bump dsc submodule because of upstream rewrite 2016-01-20 11:47:39 -08:00
Andrew Schwartzmeyer c61f649e10 Bump libpsl-native and windows-build submodules
With new readmes.
2016-01-20 11:34:35 -08:00
Andrew Schwartzmeyer 395300ff20 Create contributing file and update readme 2016-01-20 11:33:57 -08:00
Andrew Schwartzmeyer b9e2d3f446 Update OMI submodule's remote URL
OMI was transferred to the Microsoft organization, with read access for all FTEs.
2016-01-20 10:51:00 -08:00
Andrew Schwartzmeyer b451d02c5a Update profile banner 2016-01-20 10:26:13 -08:00
Andrew Schwartzmeyer ae9c58e3e3 Remove xUnit reference from csharp/project.json
Currently fails to restore, working on prototype.
2016-01-20 10:14:44 -08:00
Sergei Vorobev 2bcf57c147 Update README.md
Update step for windows init
2016-01-19 16:10:19 -08:00
Andrew Schwartzmeyer 4d8d738dd7 Bump monad submodule for Windows support 2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer 7c6aac1565 Update readme for cross-platform support 2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer 46f0631f64 Add build.ps1 for Windows 2016-01-19 12:56:56 -08:00
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