PowerShell Team
552354e4e2
Copy PSScheduledJob sources from psl-monad [SD:715912]
...
commit 77eda78
2016-06-16 19:20:35 -07:00
Sergei Vorobev
9fc3ab26ff
Update map.json to have PSScheduledJob
2016-06-16 19:20:35 -07:00
Andrew Schwartzmeyer
9375b1f303
Downgrade packages to build 24027
...
This is the ancient build that Nano uses.
2016-06-16 15:48:18 -07:00
Andrew Schwartzmeyer
8e7c2ca30b
Sign all assemblies with key
2016-06-16 15:48:18 -07:00
Sergei Vorobev
c60c749290
Merge pull request #1121 from PowerShell/vors/bits
...
Fixes for local-account and process
2016-06-16 09:19:06 -07:00
Sergei Vorobev
05ecfd33d3
Fix indentation in project.json
2016-06-15 19:18:08 -07:00
PowerShell Team
8ee6d6ca43
Update files from Source Depot changeset [SD:715912]
...
Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
2016-06-15 18:02:03 -07:00
Andy Schwartzmeyer
d9b11669ce
Merge pull request #1119 from PowerShell/andschwa/fix-casing-again
...
Fix casing again
2016-06-15 16:51:36 -07:00
Sergei Vorobev
42cca87b3b
Merge pull request #1111 from PowerShell/cchen/diagnostics
...
adding microsoft.powershell.diagnostics.dll to build
2016-06-15 16:09:07 -07:00
Andrew Schwartzmeyer
f83d375f26
Fix casing again
2016-06-15 15:58:45 -07:00
Andrew Schwartzmeyer
2afe0a1ad3
Update SD file mappings
...
The `ConsoleTextWriter.cs` file had a case-sensitivity issue. The
`ArchitectureSensitiveAttribute.cs` and `nativemsh` files were deleted
in SD.
2016-06-15 15:45:12 -07:00
Chunqing Chen
d578e5f426
update project.json for consolehost to include microsoft.powershell.diagnostic
2016-06-15 15:27:06 -07:00
Sergei Vorobev
d92620dcf3
Move resgen artifacts from submodules into src subfolders
...
Submodule adds unnessesary complexity.
This commit removes dependency on pre-generated C# bindings.
Start-PsBuild -ResGen will call Start-ResGen.
It also has auto-detect logic to simplify first time expirience.
2016-06-15 10:34:10 -07:00
Dongbo Wang
d33cb11439
Update project.json files to build Microsoft.PowerShell.LocalAccounts
2016-06-14 16:56:05 -07:00
Sergei Vorobev
85e2ecd504
Add new map.json files
2016-06-13 17:39:11 -07:00
Andrew Schwartzmeyer
2639f2a8ae
Use include key in copyToOutput and publishOptions
...
While the schema says that a `string[]` will be picked up as if `{
"include" : [ ... ] }` was used, it does not. This is a .NET CLI bug.
2016-06-10 13:00:33 -07:00
Andrew Schwartzmeyer
44f3fb1211
Update content to copyToOutput and publishOptions
...
These must be duplicated as we require the same files for both `build`
and `publish`. This is the requirement of the new schema, as `content`
was split.
Note that while each key can take an object, if given just a `string[]`
as we do here, it defaults to `include`.
See the new schema: https://github.com/aspnet/Announcements/issues/175
2016-06-10 12:41:26 -07:00
Andrew Schwartzmeyer
80aceb7a8a
Move compile data to build options
2016-06-10 11:15:37 -07:00
Andrew Schwartzmeyer
e3056303aa
Rename compilationOptions to buildOptions in project.json files
...
This resolves #928 . This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
Andrew Schwartzmeyer
539f8696e5
XDG cache directory now guaranteed to exist
2016-06-09 09:50:36 -07:00
v-alexjo
caa4c3f163
Changing history to cache, removed redundant code
2016-06-09 09:50:36 -07:00
v-alexjo
c2527199a6
Further code review changes
2016-06-09 09:50:36 -07:00
v-alexjo
237c659b5e
Changes to xdg to append powershell path
2016-06-09 09:50:36 -07:00
v-alexjo
29e97bf1aa
Code review changes to XDG support
2016-06-09 09:50:36 -07:00
v-alexjo
54c64c9db6
Initial XDG support and folder default changes
...
Conflicts:
src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs
2016-06-09 09:50:36 -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
d811fe37ea
Port ConsoleHost break handler to System.Console
2016-05-25 15:31:25 -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
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
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
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
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