Andy Schwartzmeyer
bb6e2f2d49
Merge pull request #1049 from PowerShell/andschwa/revert-history-merge
...
Revert EndProcessing to original code
2016-05-31 15:51:47 -07:00
Andrew Schwartzmeyer
7736f0d9e0
Bump windows-build
2016-05-31 14:14:53 -07:00
PowerShell Team
b38773eb79
Update files from Source Depot changeset [SD:709766]
...
Corresponds to 15b1623435d6a195d1e877ba5c43709d991f573a in psl-monad.
2016-05-31 14:12:49 -07:00
Andrew Schwartzmeyer
9fbb63cd08
Revert ALC rename
2016-05-31 13:22:25 -07:00
Andrew Schwartzmeyer
e76a61e137
Update TypeCatalogParser for CoreConsoleHost removal
2016-05-27 16:22:38 -07:00
Andrew Schwartzmeyer
0d172cb562
Revert CoreConsoleHost changes made to SMA
2016-05-27 16:16:34 -07:00
Andrew Schwartzmeyer
20f103b0d4
Revert EndProcessing to original code
...
This appears to have been changed in a bad merge. Now these changes are
exactly as in source-depot at [SD:706766].
2016-05-27 11:52:31 -07:00
Andrew Schwartzmeyer
d811fe37ea
Port ConsoleHost break handler to System.Console
2016-05-25 15:31:25 -07:00
Jan Kotas
ef9a37df79
Rename PowerShellAssemblyLoadContext to PowerShellAssemblyLoader
...
PowerShellAssemblyLoadContext does not inherit from AssemblyLoadContext. Rename
it to avoid confusion.
2016-05-24 09:55:04 -07:00
Jan Kotas
44ba0bb28f
Switch from AssemblyLoadContext.InitializeDefaultContext to AssemblyLoadContext.Resolving event
...
AssemblyLoadContext.InitializeDefaultContext was removed for .NET Core 1.0 RTM. Replaced its use
with AssemblyLoadContext.Resolving event.
2016-05-24 09:55:04 -07:00
Andrew Schwartzmeyer
f34f5f5ea8
Bump windows-build
2016-05-23 13:14:49 -07:00
PowerShell Team
b8dced8e80
Update files from Source Depot changeset [SD:706766]
...
Corresponds to e2ce37c87c0ab9795bfac2389edc1aff934bdb9e in psl-monad.
2016-05-23 13:14:28 -07:00
Andrew Schwartzmeyer
1365c2b336
Bump windows-build with MMI package
2016-05-23 10:54:08 -07:00
Andrew Schwartzmeyer
b1c1cd70e1
Remove MMI project
2016-05-23 10:48:31 -07:00
Andy Schwartzmeyer
e69312a964
Merge pull request #1015 from PowerShell/andschwa/secure-string-version
...
Bump System.Security.SecureString to 4.0.0
2016-05-19 16:10:35 -07:00
Andrew Schwartzmeyer
6c38dc4fb3
Bump Eventing's SecureString version dependency
2016-05-19 15:18:48 -07:00
Andrew Schwartzmeyer
5b61acd28d
Bump System.Security.SecureString version to 4.0.0
2016-05-19 15:18:32 -07:00
James Truher
8583cf5e96
update PSVersionTable code to use powershell.version rather than .version because on Linux the .version file doesn't seem to be binplaced. I postulate this is because it's a hidden file
2016-05-19 13:19:16 -07:00
Andy Schwartzmeyer
99402343fc
Merge pull request #1000 from PowerShell/andschwa/delete-profile
...
Remove system profile
2016-05-19 10:00:51 -07:00
James Truher [MSFT]
538f8643a2
Merge pull request #999 from PowerShell/jimtru-AddGitCommitToPSVersionTable
...
add functionality to PSVersionTable to include GitCommitID and update…
2016-05-19 09:56:17 -07:00
Andrew Schwartzmeyer
aa5007cd7a
Bump windows-build
2016-05-18 17:48:43 -07:00
Andy Schwartzmeyer
5bdb215034
Don't compile GetComputerInfoCommand.cs
2016-05-18 17:47:25 -07:00
PowerShell Team
d9bf6b037f
Update files from Source Depot changeset [SD:704605]
...
Corresponds to 75764b265885c1a346d1b2dbcb281d61b71c5b31 in psl-monad.
2016-05-18 17:41:26 -07:00
Andrew Schwartzmeyer
056effc129
Remove system profile
2016-05-18 17:26:10 -07:00
Jim Truher (MSFT)
cfd5bded5b
add functionality to PSVersionTable to include GitCommitID and update tests
2016-05-18 15:35:09 -07:00
Andrew Schwartzmeyer
64efb9d799
Fix ReadLineWithTabCompletion port
...
Revert change made within the function since the function itself is
compiled out for the portable version of PowerShell.
2016-05-17 13:47:47 -07:00
Andrew Schwartzmeyer
b67d765b3a
Use WrapSize for WindowSize when unavailable
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
7afe9aa60f
Say that the portable UI supports virtual terminal
...
Which is most likely true.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
772ecb8f8e
Rename OPEN flag to PORTABLE
...
Makes more sense.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
44028f0da3
Fix formatting and output when stdout is redirected
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
fa86c89925
Enable pre and post write in WriteToConsole
2016-05-17 13:28:44 -07:00
Andy Schwartzmeyer
fbc794b933
Guard BufferSize for improper terminals
2016-05-17 13:28:44 -07:00
Andy Schwartzmeyer
86e8673826
Don't build more unused code
...
This code is all used for reading secure strings, which we don't yet
support.
2016-05-17 13:28:44 -07:00
Jason Shirk
533a5e3225
Import System.Console In/Out/Error stream changes
...
Thanks Jason.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
eee564e465
Delete deprecated CoreConsoleHost project
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
97ea9308fb
Add readme to src/powershell
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
6d3c42a0b0
Migrate profile
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
1a61837c07
Migrate CoreConsoleHost/Modules
...
And update mapping.json
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
630eb69c7c
Add managed entrance for powershell project
...
The powershell project's `Main` function initializes the custom
`AssemblyLoadContext` and then delegates to `UnmanagedPSEntry.Start`.
This lets us undo several changes to the `ConsoleHost` managed
entry (notably, the `Start` function signature does not have to change,
thus the `consoleFilePath` variable still exists).
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
a1a722c4a1
Add powershell project shim
...
The `src/powershell` project builds Core PowerShell as a .NET CLI app,
with a dependency on `Microsoft.PowerShell.ConsoleHost`, so that the
latter can remain a library.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
72b763a7e1
Fix ConsoleHost on Windows CoreCLR build
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
fc9aa4cd88
Make ConsoleHost internals visible to powershell-tests
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
8435ed758c
Fix PSReadLine for net451 build
...
Needed System.Windows.Forms
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
d8b2d1fb0e
Fix command-line parser to support --parameters
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
c4bfc52c76
Migrate ConsoleHost .gitignore
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
849ea50ab7
Load PSReadLine by correct name
...
Linux is case-sensitive, so the modules are too.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
78dd93c1ac
Build PSReadLine for ConsoleHost
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
2e71a090e7
Use ~/.powershell for ConsoleHost profile on Linux
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
8af7d5f344
Guard use of ConsoleControl in ConsoleHostRawUserInterface
...
This uses the RawUserInterface implementation from the original
CoreConsoleHost.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
02e9f100d2
Guard use of ConsoleControl in ConsoleHostUserInterface
2016-05-17 13:28:44 -07:00