Commit Graph
721 Commits
Author SHA1 Message Date
George Fleming dbe06ac2d7 Bump monad submodule with Invoke-History fix 2016-03-04 15:25:14 -08:00
Andrew Schwartzmeyer c94ad6c97c Bump OMI and provider submodules
Emergency fix for recursive cloning.

The OMI branch had been rebased upstream and not simultaneously fixed
here.
2016-03-04 10:50:54 -08:00
Andrew Schwartzmeyer 19d5b2b53a Bump monad and windows-build with Source Depot changes
Resolves #610.
2016-03-03 18:09:52 -08:00
Andy Schwartzmeyer cdd0e9daef Merge pull request #601 from PowerShell/newitem
Modify New-Item to support Symbolic Link on Linux
2016-03-01 16:32:14 -08:00
George Fleming b1edc1f039 Bump monad 2016-03-01 15:57:11 -08:00
George Fleming c02b29847f Bump libpsl-native 2016-03-01 15:56:00 -08:00
Andy Schwartzmeyer 37d457f56c Merge pull request #602 from PowerShell/pipes
Clean up usage of pipes, as it causes crashes in debugger sub-prompt
2016-03-01 15:53:15 -08:00
George Fleming 95cea5155b cleanup per andschwa comment 2016-03-01 15:33:29 -08:00
Andrew Schwartzmeyer fd9140f9f8 Update CorePsTypeCatalog 2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer 3abbf62428 Fix TypeCatalogGen script 2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer 855891dc12 Clean up TypeCatalogGen dependencies
Pin to stable packages and use `net45` moniker instead of DNX.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer da9f5068aa Update runtime facade with additional packages
This had gotten out of date since it is a manual process.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer 744e1e2fbb Add System.Xml.XDocument dependency to host
This resolves #604 but leaves an open question of why the package is
required at runtime, but not at compile-time.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer 9f88341db1 Remove trailing comma from project.json 2016-03-01 13:21:32 -08:00
Andrew Schwartzmeyer 840c634d5e Bump .NET packages to 23829 2016-03-01 12:26:30 -08:00
George Fleming ab3203916b Clean up usage of pipes, as it causes crashes in debugger sub-prompt 2016-02-29 09:51:26 -08:00
Andrew Schwartzmeyer 27f38f161c Bump monad with DataTable removal 2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer a67a0ca122 Add System.Threading.Thread package
Now needed to use the `Thread` type.
2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer 2518b0ab3f Bump .NET packages to 23826 2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer af3e15a7bc Don't treat MMI warnings as errors on FullCLR
It can only build with warnings.

It will error if the full `SafeHandleZeroOrMinusOneIsInvalid` type is
used on FullCLR because the derivation is not completely implemented.
2016-02-24 16:35:07 -08:00
Andrew Schwartzmeyer 966be6a792 Treat C# warnings as errors 2016-02-24 16:33:17 -08:00
Andrew Schwartzmeyer 1b59a60550 Fix compiler warning about unused variable 2016-02-24 16:33:17 -08:00
Andy Schwartzmeyer 4c69299d89 Merge pull request #586 from PowerShell/multiline
Add support for multi-line input
2016-02-23 16:41:36 -08:00
Andy Schwartzmeyer bbe0f6b0fa Merge pull request #585 from PowerShell/cursor
Fix crash when cursor goes 'off screen'
2016-02-23 16:34:14 -08:00
George Fleming 6776a909b2 Simply code 2016-02-23 15:23:12 -08:00
George Fleming e92c1e80cc Add support for here-string 2016-02-23 15:10:32 -08:00
v-alexjo af5d19a0cd Adding remote registry fix from submod 2016-02-23 13:48:41 -08:00
George Fleming a494516c5d Handle multi-line commands 2016-02-23 12:53:47 -08:00
George Fleming 4bcc0f781f Fix crash when cursor goes 'off screen' 2016-02-22 17:02:37 -08:00
Andrew Schwartzmeyer a18c2c43a3 Remove DSC submodule
Resolves #573.
2016-02-22 16:09:33 -08:00
Andrew Schwartzmeyer 56ed87c108 Respect Console.BackGround color
This was bugging me. Instead of using the existing console's background
color, we were hard-coding "Black." Now we just leave it alone.
2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer b143465401 Remove banner from profile
When trying to use PowerShell a lot, this default banner gets annoying.
I don't think we need it any more. Also change the prompt to just "PS".
2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer 91765b3db3 Add Emacs-style readline bindings
Very simple implementation of C-(A,E,K,D,B,F,P,R,N,S,J,L) and Alt-(B,F).
2016-02-22 11:29:03 -08:00
George Fleming 567bc785ef Reposition cursor after tab 2016-02-21 13:09:45 -08:00
George Fleming 3a0eee9894 Fix case where tab completion is not at end of command 2016-02-20 17:58:03 -08:00
Andy Schwartzmeyer 5d20ec8e37 Merge pull request #564 from PowerShell/rawui
Reconcile rawui.cs with System.Console
2016-02-19 16:14:12 -08:00
Andy Schwartzmeyer 0677ed522c Merge pull request #557 from PowerShell/readline
Improve tab-completion and up/down arrows
2016-02-19 13:22:16 -08:00
Andrew Schwartzmeyer b257a2d2fc Reconcile rawui.cs with System.Console
With the latest packages, a lot more System.Console API is available.
This commit implements what is now available through the API.

Where an API functions correctly on Linux, the result of a call through
PowerShell works as expected. Where it is not, a nice
`PlatformNotSupported` exception is thrown (and displayed by
PowerShell).

On Linux:

- `$host.ui.RawUI.WindowTitle` can be set but cannot be get
- `$host.ui.RawUI.CusorPosition` can be set and get
- `$host.ui.RawUI.CursorSize` can be get but cannot be set
- `$host.ui.RawUI.MaxPhysicalWindowSize` can be get
- `$host.ui.RawUI.MaxWindowSize` can be get
- `$host.ui.RawUI.WindowPosition` can be get but cannot be set
- `$host.ui.RawUI.WindowSize` can be get but cannot be set
- `$host.ui.RawUI.ReadKey` can be be used, but is only approximate
2016-02-19 11:20:53 -08:00
Andrew Schwartzmeyer 2e90b29cc8 Bump .NET Core packages to rc3-23819
Brings in fix for #546 and so enables the use of the PowerShell in non
xterm terminal emulators (like Tmux and screen).
2016-02-19 09:57:21 -08:00
George Fleming 8cbb08964c Fix a special down arrow scenario 2016-02-19 09:10:40 -08:00
George Fleming 23bdcdd330 Adding monad branch 2016-02-18 15:32:46 -08:00
George Fleming 3c2ec835c0 New changes to readline.cs to improve tab-completion and up/down arrow 2016-02-18 15:32:31 -08:00
Andrew Schwartzmeyer e6e4dcafbe Build with new framework and new CLI
All libraries now use the framework `netstandard1.5`, and import the
`dnxcore50` and `portable` frameworks. The app that is published,
Microsoft.PowerShell.Linux.Host, that is, the top-level dependency that
emits an executable, instead targets `netstandardapp1.5` and has a new
`runtimes` key so that .NET CLI's `restore` and `publish` commands know
which runtime implementations to resolve.

When switching to the new CLI, we needed to fix how we specified our
dependencies. In particular, the .NET CLI team helped me figure out how
to download packages that are reference assembly only on Linux, with
implementations on Windows. The result of this is the new `frameworks`
setup.

Additionally, we were incorrectly specifying our build dependencies;
that is, projects we also build (not packages). The solution was much
cleaner. We removed the `type: build` section and replaced it with the
version `1.0.0-*` that all our projects currently use.

The `project.json` files also had their names, descriptions,
indentation, and versions fixed.

The build scripts were simplified.
2016-02-18 10:06:56 -08:00
Sergei Vorobev 6982fee02d Update pointer to src/monad submodule 2016-02-17 18:04:56 -08:00
Sergei Vorobev 54c11c1e2c Add missed files to Microsoft.PowerShell.Security
This files are needed for FullCLR build.
They are responsible for some errors reported in BVT/DRT regression.
2016-02-17 17:43:56 -08:00
Sergei Vorobev 9be4ba7364 Fix issue with missed ImplicitRemotingCommands.cs 2016-02-17 17:43:11 -08:00
Andrew Schwartzmeyer 58ad5b66d9 Bump monad submodule with fix for Append<T>
Newest .NET Core implements this, so the reimplementation in PowerShell
was a conflicting type. It was removed.
2016-02-17 17:18:07 -08:00
Andrew Schwartzmeyer ae64f99c25 Bump .NET packages to 23817 2016-02-17 17:17:55 -08:00
Andrew Schwartzmeyer dae6e0ebd5 Use Linux.Host in xUnit tests
Make its internals visible to the `powershell-tests` assembly, and use its
`MyHost` and `Listener` classes instead of facades.
2016-02-17 17:03:59 -08:00
Andrew Schwartzmeyer c68164f280 Remove Commands.Omi module
This was a temporary work-around that now needs to be removed (mostly
because the xUnit tests are out-of-date because we didn't have a runner,
and it's not worth it to fix them). Rather than let more cruft
accumulate, we need to remove it.

Resolves #551
2016-02-17 17:03:59 -08:00